add dpdk dummy

This commit is contained in:
2021-10-24 12:52:34 +02:00
parent ed977be2fd
commit f5eadcfb78
18 changed files with 680 additions and 0 deletions

10
test/dpdk_dummy/rte_udp.h Normal file
View File

@@ -0,0 +1,10 @@
#pragma once
#include <rte_byteorder.h>
struct rte_udp_hdr {
rte_be16_t src_port;
rte_be16_t dst_port;
rte_be16_t dgram_len;
rte_be16_t dgram_cksum;
} __attribute__((__packed__));