Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 400 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 400 Bytes

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);