git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: add rte prefix to IP structure
[dpdk.git]
/
examples
/
tep_termination
/
vxlan_setup.c
diff --git
a/examples/tep_termination/vxlan_setup.c
b/examples/tep_termination/vxlan_setup.c
index
2237c75
..
ce7c2e5
100644
(file)
--- a/
examples/tep_termination/vxlan_setup.c
+++ b/
examples/tep_termination/vxlan_setup.c
@@
-48,7
+48,7
@@
/* VXLAN device */
struct vxlan_conf vxdev;
/* VXLAN device */
struct vxlan_conf vxdev;
-struct ipv4_hdr app_ip_hdr[VXLAN_N_PORTS];
+struct
rte_
ipv4_hdr app_ip_hdr[VXLAN_N_PORTS];
struct rte_ether_hdr app_l2_hdr[VXLAN_N_PORTS];
/* local VTEP IP address */
struct rte_ether_hdr app_l2_hdr[VXLAN_N_PORTS];
/* local VTEP IP address */
@@
-229,7
+229,7
@@
vxlan_link(struct vhost_dev *vdev, struct rte_mbuf *m)
int i, ret;
struct rte_ether_hdr *pkt_hdr;
uint64_t portid = vdev->vid;
int i, ret;
struct rte_ether_hdr *pkt_hdr;
uint64_t portid = vdev->vid;
- struct ipv4_hdr *ip;
+ struct
rte_
ipv4_hdr *ip;
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;
struct rte_eth_tunnel_filter_conf tunnel_filter_conf;