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

View File

@@ -0,0 +1,12 @@
#pragma once
#include <rte_byteorder.h>
#include <stdint.h>
struct rte_icmp_hdr {
uint8_t icmp_type; /* ICMP packet type. */
uint8_t icmp_code; /* ICMP packet code. */
rte_be16_t icmp_cksum; /* ICMP packet checksum. */
rte_be16_t icmp_ident; /* ICMP packet identifier. */
rte_be16_t icmp_seq_nb; /* ICMP packet sequence number. */
} __attribute__((__packed__));