From mboxrd@z Thu Jan 1 00:00:00 1970 From: sabu kurian Subject: Packet crafting.... Date: Fri, 14 Mar 2014 15:01:37 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "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