Skip to content

Latest commit

 

History

History

pkt-craft

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Running the file

./build/pktcraft -l 0-1 -n 1 -d librte_pmd_e1000.so -d librte_mempool_ring.so -- -q 8 -p 0x1
gdb --args ./build/pktcraft -l 0-1 -n 1 -d librte_pmd_e1000.so -d librte_mempool_ring.so -- -q 8 -p 0x1

Components of RTE-BUF

  • reading the offset
char *rtn;
rtn = rte_pktmbuf_mtod_offset(m, char *, sizeof(data));
printf("Read the packet: %s", rtn);