Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Dip_tunnels.h410 __be16 inner_proto, bool raw_proto, bool xnet);
413 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument
415 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
420 u8 tos, u8 ttl, __be16 df, bool xnet);
Dudp_tunnel.h145 bool xnet, bool nocheck);
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_interface.c191 static void xfrmi_scrub_packet(struct sk_buff *skb, bool xnet) in xfrmi_scrub_packet() argument
201 if (!xnet) in xfrmi_scrub_packet()
216 bool xnet; in xfrmi_rcv_cb() local
237 xnet = !net_eq(xi->net, dev_net(skb->dev)); in xfrmi_rcv_cb()
239 if (xnet) { in xfrmi_rcv_cb()
256 xfrmi_scrub_packet(skb, xnet); in xfrmi_rcv_cb()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_net.c250 __u8 tos, __u8 ttl, __be16 df, bool xnet) in prepare_ipv4_hdr() argument
254 skb_scrub_packet(skb, xnet); in prepare_ipv4_hdr()
306 bool xnet = false; in prepare4() local
322 av->grh.traffic_class, av->grh.hop_limit, df, xnet); in prepare4()
/kernel/linux/linux-5.10/net/ipv4/
Dudp_tunnel_core.c174 bool xnet, bool nocheck) in udp_tunnel_xmit_skb() argument
190 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()
/kernel/linux/linux-5.10/drivers/net/
Dbareudp.c285 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp_xmit_skb() local
315 skb_scrub_packet(skb, xnet); in bareudp_xmit_skb()
348 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp6_xmit_skb() local
377 skb_scrub_packet(skb, xnet); in bareudp6_xmit_skb()
Dgeneve.c740 bool xnet, int ip_hdr_len) in geneve_build_skb() argument
748 skb_scrub_packet(skb, xnet); in geneve_build_skb()
885 bool xnet = !net_eq(geneve->net, dev_net(geneve->dev)); in geneve_xmit_skb() local
968 err = geneve_build_skb(&rt->dst, skb, info, xnet, sizeof(struct iphdr)); in geneve_xmit_skb()
984 bool xnet = !net_eq(geneve->net, dev_net(geneve->dev)); in geneve6_xmit_skb() local
1047 err = geneve_build_skb(dst, skb, info, xnet, sizeof(struct ipv6hdr)); in geneve6_xmit_skb()
Dvxlan.c2610 bool xnet = !net_eq(vxlan->net, dev_net(vxlan->dev)); in vxlan_xmit_one() local
2755 src_port, dst_port, xnet, !udp_sum); in vxlan_xmit_one()
2810 skb_scrub_packet(skb, xnet); in vxlan_xmit_one()
/kernel/linux/linux-5.10/drivers/net/ipvlan/
Dipvlan_core.c302 bool xnet = true; in ipvlan_skb_crossing_ns() local
305 xnet = !net_eq(dev_net(skb->dev), dev_net(dev)); in ipvlan_skb_crossing_ns()
307 skb_scrub_packet(skb, xnet); in ipvlan_skb_crossing_ns()
/kernel/linux/linux-5.10/net/core/
Dskbuff.c5272 void skb_scrub_packet(struct sk_buff *skb, bool xnet) in skb_scrub_packet() argument
5287 if (!xnet) in skb_scrub_packet()
/kernel/linux/linux-5.10/include/linux/
Dskbuff.h3580 void skb_scrub_packet(struct sk_buff *skb, bool xnet);