I am developing a protocol traffic generator. I need to be able to start the traffic with different source address to different destination addresses.
basically I need to costruct my own IP header. I understand one way to do it is using raw sockets. Can someone point me to some links on how to construct your own IP header using raw sockets.
I am developing on Linux with gcc compiler.