Adding Padding to Generated Packets

Apr 19, 2015 at 12:09 AM

Hopefully someone can assist me with this... Is there a way to add padding to an ipv4 packet using libpcap? I'm attempting to forward packets from one host to another, and it is working well. The only problem I am seeing however when I dissect packets is the forwarded packet has its padding omitted from the ethernet header information. Any help would be greatly appreciated!
Apr 24, 2015 at 2:30 PM
Hi Resnor,

Please note that Pcap.Net has moved to GitHub.

For Q&A, see Pcap.Net Q&A Group.