Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dip_tunnels.h432 __be16 inner_proto, bool raw_proto, bool xnet);
435 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument
437 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
442 u8 tos, u8 ttl, __be16 df, bool xnet);
Dudp_tunnel.h153 bool xnet, bool nocheck);
/linux-6.1.9/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.1.9/drivers/infiniband/sw/rxe/
Drxe_net.c222 __u8 tos, __u8 ttl, __be16 df, bool xnet) in prepare_ipv4_hdr() argument
226 skb_scrub_packet(skb, xnet); in prepare_ipv4_hdr()
278 bool xnet = false; in prepare4() local
293 av->grh.traffic_class, av->grh.hop_limit, df, xnet); in prepare4()
/linux-6.1.9/net/xfrm/
Dxfrm_interface.c294 static void xfrmi_scrub_packet(struct sk_buff *skb, bool xnet) in xfrmi_scrub_packet() argument
304 if (!xnet) in xfrmi_scrub_packet()
319 bool xnet; in xfrmi_rcv_cb() local
342 xnet = !net_eq(xi->net, dev_net(skb->dev)); in xfrmi_rcv_cb()
344 if (xnet) { in xfrmi_rcv_cb()
361 xfrmi_scrub_packet(skb, xnet); in xfrmi_rcv_cb()
/linux-6.1.9/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.c759 bool xnet, int ip_hdr_len, in geneve_build_skb() argument
769 skb_scrub_packet(skb, xnet); in geneve_build_skb()
908 bool xnet = !net_eq(geneve->net, dev_net(geneve->dev)); in geneve_xmit_skb() local
991 err = geneve_build_skb(&rt->dst, skb, info, xnet, sizeof(struct iphdr), in geneve_xmit_skb()
1008 bool xnet = !net_eq(geneve->net, dev_net(geneve->dev)); in geneve6_xmit_skb() local
1071 err = geneve_build_skb(dst, skb, info, xnet, sizeof(struct ipv6hdr), in geneve6_xmit_skb()
/linux-6.1.9/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.1.9/drivers/net/vxlan/
Dvxlan_core.c2465 bool xnet = !net_eq(vxlan->net, dev_net(vxlan->dev)); in vxlan_xmit_one() local
2619 src_port, dst_port, xnet, !udp_sum); in vxlan_xmit_one()
2674 skb_scrub_packet(skb, xnet); in vxlan_xmit_one()
/linux-6.1.9/net/core/
Dskbuff.c5506 void skb_scrub_packet(struct sk_buff *skb, bool xnet) in skb_scrub_packet() argument
5521 if (!xnet) in skb_scrub_packet()
/linux-6.1.9/include/linux/
Dskbuff.h3939 void skb_scrub_packet(struct sk_buff *skb, bool xnet);