[dpdk-dev] Packet crafting....

sabu kurian sabu2kurian at gmail.com
Fri Mar 14 10:31:37 CET 2014


Hello friends,

As of now... I know on how to create an ipv4 header using the 'struct
ipv4_hdr'.
My requirement is to craft a packet and sent it via 'rte_eth_tx_burst'.
I know that there should be an 'ether_hdr' created before, the packet could
be sent.
Could someone help me on how to set the address fields and type in
'ether_hdr' and how to put the ipv4 header as the payload for ether_hdr.

Thanks in advance


More information about the dev mailing list