Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dipip.c240 if (tunnel->collect_md) { in ipip_tunnel_rcv()
305 if (tunnel->collect_md) in ipip_tunnel_xmit()
408 struct ip_tunnel_parm *parms, bool *collect_md, in ipip_netlink_parms() argument
416 *collect_md = false; in ipip_netlink_parms()
424 *collect_md = true; in ipip_netlink_parms()
446 ipip_netlink_parms(data, &p, &t->collect_md, &fwmark); in ipip_newlink()
457 bool collect_md; in ipip_changelink() local
467 ipip_netlink_parms(data, &p, &collect_md, &fwmark); in ipip_changelink()
468 if (collect_md) in ipip_changelink()
536 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()
632 if (tunnel->collect_md) { in ipgre_xmit()
684 if (tunnel->collect_md) { in erspan_xmit()
737 if (tunnel->collect_md) { in gre_tap_xmit()
998 if (iph->daddr && !tunnel->collect_md) { in ipgre_tunnel_init()
1009 } else if (!tunnel->collect_md) { in ipgre_tunnel_init()
1178 t->collect_md = true; in ipgre_netlink_parms()
1529 if (t->collect_md) { in ipgre_fill_info()
1545 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()
1175 if (nt->collect_md) { in ip_tunnel_newlink()
1286 if (tunnel->collect_md) in ip_tunnel_init()
/linux-6.6.21/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()
426 if (!gs->collect_md) { in geneve_udp_encap_err_lookup()
441 if (!gs->collect_md) { in geneve_udp_encap_err_lookup()
680 gs->collect_md = geneve->cfg.collect_md; in geneve_sock_add()
702 bool metadata = geneve->cfg.collect_md; in geneve_open()
814 if ((tos == 1) && !geneve->cfg.collect_md) { in geneve_get_v4_rt()
[all …]
/linux-6.6.21/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()
882 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()
949 if (t->parms.collect_md) { in ipxip6_rcv()
1033 if (t->parms.collect_md) in ip6_tnl_xmit_ctl()
1104 if (t->parms.collect_md) { in ip6_tnl_xmit()
1173 if (t->parms.collect_md && ipv6_addr_any(&fl6->saddr) && in ip6_tnl_xmit()
1235 if (t->parms.collect_md) { in ip6_tnl_xmit()
1309 if (t->parms.collect_md) { in ipxip6_tnl_xmit()
1925 if (t->parms.collect_md) in ip6_tnl_dev_init()
1999 parms->collect_md = true; in ip6_tnl_netlink_parms()
[all …]
/linux-6.6.21/net/xfrm/
Dxfrm_interface_core.c208 if (xi->p.collect_md) in xfrmi_decode_session()
258 if (xi->p.collect_md) in xfrmi_create()
289 if (xi->p.collect_md) in xfrmi_dev_uninit()
409 if (xi->p.collect_md) { in xfrmi_rcv_cb()
437 if (xi->p.collect_md) { in xfrmi_xmit2()
820 parms->collect_md = true; in xfrmi_netlink_parms()
833 if (p.collect_md) { in xfrmi_newlink()
883 if (p.collect_md) { in xfrmi_changelink()
894 if (xi->p.collect_md) { in xfrmi_changelink()
923 (xi->p.collect_md && nla_put_flag(skb, IFLA_XFRM_COLLECT_METADATA))) in xfrmi_fill_info()
/linux-6.6.21/include/net/
Dip6_tunnel.h27 bool collect_md; member
Dip_tunnels.h155 bool collect_md; member
Dxfrm.h1010 bool collect_md; member