vxlan_xmit_one(skb, dev, vni, fdst, did_rsc); } static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev, __be32 default_vni, struct vxlan_rdst *rdst, bool did_rsc) { ... // 封装vxlan头 err = vxlan_build_skb(skb, ndst, sizeof(struct iphdr), vni, md, f...
staticvoidvxlan_xmit_one(structsk_buff *skb,structnet_device *dev,structvxlan_rdst *rdst,booldid_rsc) {structdst_cache *dst_cache;structip_tunnel_info *info;structvxlan_dev *vxlan =netdev_priv(dev);structsock *sk;structrtable *rt =NULL;conststructiphdr *old_iph; union vxlan_addr*dst;...
vxlan_xmit-->vxlan_xmit_one-->vxlan_xmit_skb intvxlan_xmit_skb(structvxlan_sock *vs,structrtable *rt,structsk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, __be32 vni) {structvxlanhdr *vxh;structudphdr *uh;int...
vxlan_xmit_one(skb, dev, vni, fdst, did_rsc); } static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev, __be32 default_vni, struct vxlan_rdst *rdst, bool did_rsc) { ... // 封装vxlan头 err = vxlan_build_skb(skb, ndst, sizeof(struct iphdr), vni, md, f...
vxlan_xmit-->vxlan_xmit_one-->vxlan_xmit_skb AI检测代码解析 int vxlan_xmit_skb(struct vxlan_sock *vs, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, __be32 vni) ...
*/struct sw_flow_key key;//流表匹配时候用到的key值struct sw_flow_key unmasked_key;struct sw_flow_mask*mask;struct sw_flow_actions __rcu*sf_acts;struct flow_stats __rcu*stats[];/* One for each NUMA node. First one * is allocated at flow creation time, ...
@@ -1849,6 +1895,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev, const struct iphdr *old_iph; struct flowi4 fl4; union vxlan_addr *dst; struct vxlan_metadata md; __be16 src_port = 0, dst_port; u32 vni; __be16 df = 0; @@ -1919,11 +1966...
bond0 inet static bond-slaves none bond-miimon 100 bond-min-links 1 bond-mode 802.3ad bond-xmit-hash-policy layer3+4 bond-lacp-rate 1 address 172.16.1.101/24 auto bond0.10 iface bond0.10 inet static address 172.16.10.101/24 auto bond0.20 iface bond0.20 inet static address 172.16.20.101/24...
VXLAN BGP EVPN uses MP-BGP and its route-policy concept to import and export prefixes. The ability of this very extensive route-policy model allows to leak routes from one VRF to another VRF and vice-versa; any combination of custom ...
Flags: (0x000002) on xmit-list, is not in l2rib/evpn Advertised path-id 1 Path type: local, path is valid, is best path AS-Path: NONE, path locally originated 10.200.200.21 (metric 0) from 0.0.0.0 (10.100.100.21) Origin IGP, MED not set, localpref 100, weight 32768 E...