Home
last modified time | relevance | path

Searched refs:xnet (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/include/net/
Dip_tunnels.h442 __be16 inner_proto, bool raw_proto, bool xnet);
445 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument
447 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
452 u8 tos, u8 ttl, __be16 df, bool xnet);
Dudp_tunnel.h153 bool xnet, bool nocheck);
/linux-6.6.21/net/ipv4/
Dudp_tunnel_core.c156 bool xnet, bool nocheck) in udp_tunnel_xmit_skb() argument
172 iptunnel_xmit(sk, rt, skb, src, dst, IPPROTO_UDP, tos, ttl, df, xnet); in udp_tunnel_xmit_skb()
Dip_tunnel_core.c52 __u8 tos, __u8 ttl, __be16 df, bool xnet) in iptunnel_xmit() argument
60 skb_scrub_packet(skb, xnet); in iptunnel_xmit()
93 __be16 inner_proto, bool raw_proto, bool xnet) in __iptunnel_pull_header() argument
119 skb_scrub_packet(skb, xnet); in __iptunnel_pull_header()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_net.c228 __u8 tos, __u8 ttl, __be16 df, bool xnet) in prepare_ipv4_hdr() argument
232 skb_scrub_packet(skb, xnet); in prepare_ipv4_hdr()
284 bool xnet = false; in prepare4() local
299 av->grh.traffic_class, av->grh.hop_limit, df, xnet); in prepare4()
/linux-6.6.21/drivers/net/
Dbareudp.c294 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp_xmit_skb() local
324 skb_scrub_packet(skb, xnet); in bareudp_xmit_skb()
357 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp6_xmit_skb() local
386 skb_scrub_packet(skb, xnet); in bareudp6_xmit_skb()
Dgeneve.c754 bool xnet, int ip_hdr_len, in geneve_build_skb() argument
764 skb_scrub_packet(skb, xnet); in geneve_build_skb()
903 bool xnet = !net_eq(geneve->net, dev_net(geneve->dev)); in geneve_xmit_skb() local
986 err = geneve_build_skb(&rt->dst, skb, info, xnet, sizeof(struct iphdr), in geneve_xmit_skb()
1003 bool xnet = !net_eq(geneve->net, dev_net(geneve->dev)); in geneve6_xmit_skb() local
1066 err = geneve_build_skb(dst, skb, info, xnet, sizeof(struct ipv6hdr), in geneve6_xmit_skb()
/linux-6.6.21/net/xfrm/
Dxfrm_interface_core.c295 static void xfrmi_scrub_packet(struct sk_buff *skb, bool xnet) in xfrmi_scrub_packet() argument
305 if (!xnet) in xfrmi_scrub_packet()
366 bool xnet; in xfrmi_rcv_cb() local
389 xnet = !net_eq(xi->net, dev_net(skb->dev)); in xfrmi_rcv_cb()
391 if (xnet) { in xfrmi_rcv_cb()
408 xfrmi_scrub_packet(skb, xnet); in xfrmi_rcv_cb()
/linux-6.6.21/drivers/net/ipvlan/
Dipvlan_core.c301 bool xnet = true; in ipvlan_skb_crossing_ns() local
304 xnet = !net_eq(dev_net(skb->dev), dev_net(dev)); in ipvlan_skb_crossing_ns()
306 skb_scrub_packet(skb, xnet); in ipvlan_skb_crossing_ns()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c2435 bool xnet = !net_eq(vxlan->net, dev_net(vxlan->dev)); in vxlan_xmit_one() local
2589 src_port, dst_port, xnet, !udp_sum); in vxlan_xmit_one()
2645 skb_scrub_packet(skb, xnet); in vxlan_xmit_one()
/linux-6.6.21/net/core/
Dskbuff.c5845 void skb_scrub_packet(struct sk_buff *skb, bool xnet) in skb_scrub_packet() argument
5860 if (!xnet) in skb_scrub_packet()
/linux-6.6.21/include/linux/
Dskbuff.h3991 void skb_scrub_packet(struct sk_buff *skb, bool xnet);