add dpdk dummy
This commit is contained in:
16
test/dpdk_dummy/rte_tcp.h
Normal file
16
test/dpdk_dummy/rte_tcp.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <rte_byteorder.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct rte_tcp_hdr {
|
||||
rte_be16_t src_port;
|
||||
rte_be16_t dst_port;
|
||||
rte_be32_t sent_seq;
|
||||
rte_be32_t recv_ack;
|
||||
uint8_t data_off;
|
||||
uint8_t tcp_flags;
|
||||
rte_be16_t rx_win;
|
||||
rte_be16_t cksum;
|
||||
rte_be16_t tcp_urp;
|
||||
} __attribute__((__packed__));
|
||||
Reference in New Issue
Block a user