Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
A 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);
A Dudp_tunnel.h153 bool xnet, bool nocheck);
/linux-6.3-rc2/net/ipv4/
A 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()
A 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.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_net.c225 __u8 tos, __u8 ttl, __be16 df, bool xnet) in prepare_ipv4_hdr() argument
229 skb_scrub_packet(skb, xnet); in prepare_ipv4_hdr()
281 bool xnet = false; in prepare4() local
296 av->grh.traffic_class, av->grh.hop_limit, df, xnet); in prepare4()
/linux-6.3-rc2/drivers/net/
A 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()
A 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.3-rc2/net/xfrm/
A Dxfrm_interface_core.c294 static void xfrmi_scrub_packet(struct sk_buff *skb, bool xnet) in xfrmi_scrub_packet() argument
304 if (!xnet) in xfrmi_scrub_packet()
365 bool xnet; in xfrmi_rcv_cb() local
388 xnet = !net_eq(xi->net, dev_net(skb->dev)); in xfrmi_rcv_cb()
390 if (xnet) { in xfrmi_rcv_cb()
407 xfrmi_scrub_packet(skb, xnet); in xfrmi_rcv_cb()
/linux-6.3-rc2/drivers/net/ipvlan/
A 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.3-rc2/drivers/net/vxlan/
A 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.3-rc2/net/core/
A Dskbuff.c5695 void skb_scrub_packet(struct sk_buff *skb, bool xnet) in skb_scrub_packet() argument
5710 if (!xnet) in skb_scrub_packet()
/linux-6.3-rc2/include/linux/
A Dskbuff.h3967 void skb_scrub_packet(struct sk_buff *skb, bool xnet);

Completed in 55 milliseconds