Home
last modified time | relevance | path

Searched refs:collect_md (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/net/ipv4/
Dipip.c240 if (tunnel->collect_md) { in ipip_tunnel_rcv()
304 if (tunnel->collect_md) in ipip_tunnel_xmit()
407 struct ip_tunnel_parm *parms, bool *collect_md, in ipip_netlink_parms() argument
415 *collect_md = false; in ipip_netlink_parms()
423 *collect_md = true; in ipip_netlink_parms()
445 ipip_netlink_parms(data, &p, &t->collect_md, &fwmark); in ipip_newlink()
456 bool collect_md; in ipip_changelink() local
466 ipip_netlink_parms(data, &p, &collect_md, &fwmark); in ipip_changelink()
467 if (collect_md) in ipip_changelink()
535 if (tunnel->collect_md) in ipip_fill_info()
Dip_gre.c305 if (tunnel->collect_md) { in erspan_rcv()
378 if (tunnel->collect_md || tnl_params->daddr == 0) { in __ipgre_rcv()
631 if (tunnel->collect_md) { in ipgre_xmit()
680 if (tunnel->collect_md) { in erspan_xmit()
732 if (tunnel->collect_md) { in gre_tap_xmit()
993 if (iph->daddr && !tunnel->collect_md) { in ipgre_tunnel_init()
1004 } else if (!tunnel->collect_md) { in ipgre_tunnel_init()
1173 t->collect_md = true; in ipgre_netlink_parms()
1524 if (t->collect_md) { in ipgre_fill_info()
1540 if (t->erspan_ver != 0 && !t->collect_md) in erspan_fill_info()
[all …]
Dip_tunnel.c197 if (t->collect_md) in ip_tunnel_add()
204 if (t->collect_md) in ip_tunnel_del()
1143 if (nt->collect_md) { in ip_tunnel_newlink()
1254 if (tunnel->collect_md) in ip_tunnel_init()
/linux-6.1.9/drivers/net/
Dgeneve.c55 bool collect_md; member
80 bool collect_md; member
186 if (gs->collect_md) { in geneve_lookup_skb()
203 if (gs->collect_md) { in geneve_lookup_skb()
227 if (ip_tunnel_collect_metadata() || gs->collect_md) { in geneve_rx()
431 if (!gs->collect_md) { in geneve_udp_encap_err_lookup()
446 if (!gs->collect_md) { in geneve_udp_encap_err_lookup()
685 gs->collect_md = geneve->cfg.collect_md; in geneve_sock_add()
707 bool metadata = geneve->cfg.collect_md; in geneve_open()
819 if ((tos == 1) && !geneve->cfg.collect_md) { in geneve_get_v4_rt()
[all …]
/linux-6.1.9/net/xfrm/
Dxfrm_interface.c207 if (xi->p.collect_md) in xfrmi_decode_session()
257 if (xi->p.collect_md) in xfrmi_create()
288 if (xi->p.collect_md) in xfrmi_dev_uninit()
362 if (xi->p.collect_md) { in xfrmi_rcv_cb()
391 if (xi->p.collect_md) { in xfrmi_xmit2()
767 parms->collect_md = true; in xfrmi_netlink_parms()
780 if (p.collect_md) { in xfrmi_newlink()
830 if (p.collect_md) { in xfrmi_changelink()
841 if (xi->p.collect_md) { in xfrmi_changelink()
870 (xi->p.collect_md && nla_put_flag(skb, IFLA_XFRM_COLLECT_METADATA))) in xfrmi_fill_info()
/linux-6.1.9/net/ipv6/
Dip6_gre.c269 if (t->parms.collect_md) in ip6gre_tunnel_link_md()
275 if (t->parms.collect_md) in ip6erspan_tunnel_link_md()
281 if (t->parms.collect_md) in ip6gre_tunnel_unlink_md()
288 if (t->parms.collect_md) in ip6erspan_tunnel_unlink_md()
498 if (tunnel->parms.collect_md) { in ip6gre_rcv()
549 if (tunnel->parms.collect_md) { in ip6erspan_rcv()
762 if (tunnel->parms.collect_md) { in __gre6_xmit()
821 if (!t->parms.collect_md) in ip6gre_xmit_ipv4()
855 if (!t->parms.collect_md && in ip6gre_xmit_ipv6()
902 if (!t->parms.collect_md && in ip6gre_xmit_other()
[all …]
Dip6_tunnel.c213 if (t->parms.collect_md) in ip6_tnl_link()
231 if (t->parms.collect_md) in ip6_tnl_unlink()
934 if (t->parms.collect_md) { in ipxip6_rcv()
1018 if (t->parms.collect_md) in ip6_tnl_xmit_ctl()
1090 if (t->parms.collect_md) { in ip6_tnl_xmit()
1159 if (t->parms.collect_md && ipv6_addr_any(&fl6->saddr) && in ip6_tnl_xmit()
1221 if (t->parms.collect_md) { in ip6_tnl_xmit()
1295 if (t->parms.collect_md) { in ipxip6_tnl_xmit()
1912 if (t->parms.collect_md) in ip6_tnl_dev_init()
1986 parms->collect_md = true; in ip6_tnl_netlink_parms()
[all …]
/linux-6.1.9/include/net/
Dip6_tunnel.h27 bool collect_md; member
Dip_tunnels.h147 bool collect_md; member
Dxfrm.h995 bool collect_md; member