X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Ftep_termination%2Fvxlan.h;h=587fb9fe577b85050feee415406169943a757cad;hb=10fb4bb74bf6189eb2963241e7272793a22df106;hp=780ae73cc5a61b562ec64b1180e368a3f8155dd8;hpb=6d13ea8e8e49ab957deae2bba5ecf4a4bfe747d1;p=dpdk.git diff --git a/examples/tep_termination/vxlan.h b/examples/tep_termination/vxlan.h index 780ae73cc5..587fb9fe57 100644 --- a/examples/tep_termination/vxlan.h +++ b/examples/tep_termination/vxlan.h @@ -7,6 +7,7 @@ #include #include +#include #define PORT_MIN 49152 #define PORT_MAX 65535 @@ -14,9 +15,8 @@ #define VXLAN_N_PORTS 2 #define VXLAN_HF_VNI 0x08000000 -#define DEFAULT_VXLAN_PORT 4789 -extern struct ipv4_hdr app_ip_hdr[VXLAN_N_PORTS]; +extern struct rte_ipv4_hdr app_ip_hdr[VXLAN_N_PORTS]; extern struct rte_ether_hdr app_l2_hdr[VXLAN_N_PORTS]; extern uint8_t tx_checksum; extern uint16_t tso_segsz;