DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Packet crafting....
@ 2014-03-14  9:31 sabu kurian
  2014-03-14  9:57 ` Richardson, Bruce
  0 siblings, 1 reply; 7+ messages in thread
From: sabu kurian @ 2014-03-14  9:31 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-14 12:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-14  9:31 [dpdk-dev] Packet crafting sabu kurian
2014-03-14  9:57 ` Richardson, Bruce
2014-03-14 10:09   ` sabu kurian
2014-03-14 11:08     ` Richardson, Bruce
2014-03-14 11:38       ` sabu kurian
2014-03-14 11:49         ` Richardson, Bruce
2014-03-14 12:04           ` sabu kurian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).