Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dipip.c240 if (tunnel->collect_md) { in ipip_tunnel_rcv()
302 if (tunnel->collect_md) in ipip_tunnel_xmit()
405 struct ip_tunnel_parm *parms, bool *collect_md, in ipip_netlink_parms() argument
413 *collect_md = false; in ipip_netlink_parms()
443 *collect_md = true; in ipip_netlink_parms()
499 ipip_netlink_parms(data, &p, &t->collect_md, &fwmark); in ipip_newlink()
510 bool collect_md; in ipip_changelink() local
520 ipip_netlink_parms(data, &p, &collect_md, &fwmark); in ipip_changelink()
521 if (collect_md) in ipip_changelink()
589 if (tunnel->collect_md) in ipip_fill_info()
Dip_gre.c303 if (tunnel->collect_md) { in erspan_rcv()
373 if (tunnel->collect_md || tnl_params->daddr == 0) { in __ipgre_rcv()
626 if (tunnel->collect_md) { in ipgre_xmit()
675 if (tunnel->collect_md) { in erspan_xmit()
727 if (tunnel->collect_md) { in gre_tap_xmit()
994 if (iph->daddr && !tunnel->collect_md) { in ipgre_tunnel_init()
1005 } else if (!tunnel->collect_md) { in ipgre_tunnel_init()
1174 t->collect_md = true; in ipgre_netlink_parms()
1525 if (t->collect_md) { in ipgre_fill_info()
1541 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()
1139 if (nt->collect_md) { in ip_tunnel_newlink()
1250 if (tunnel->collect_md) in ip_tunnel_init()
/kernel/linux/linux-5.10/drivers/net/
Dgeneve.c53 bool collect_md; member
77 bool collect_md; member
183 if (gs->collect_md) { in geneve_lookup_skb()
200 if (gs->collect_md) { in geneve_lookup_skb()
224 if (ip_tunnel_collect_metadata() || gs->collect_md) { in geneve_rx()
411 if (!gs->collect_md) { in geneve_udp_encap_err_lookup()
426 if (!gs->collect_md) { in geneve_udp_encap_err_lookup()
667 gs->collect_md = geneve->cfg.collect_md; in geneve_sock_add()
689 bool metadata = geneve->cfg.collect_md; in geneve_open()
796 if ((tos == 1) && !geneve->cfg.collect_md) { in geneve_get_v4_rt()
[all …]
/kernel/linux/linux-5.10/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()
503 if (tunnel->parms.collect_md) { in ip6gre_rcv()
554 if (tunnel->parms.collect_md) { in ip6erspan_rcv()
740 if (tunnel->parms.collect_md) { in __gre6_xmit()
799 if (!t->parms.collect_md) in ip6gre_xmit_ipv4()
833 if (!t->parms.collect_md && in ip6gre_xmit_ipv6()
882 if (!t->parms.collect_md) in ip6gre_xmit_other()
[all …]
Dip6_tunnel.c241 if (t->parms.collect_md) in ip6_tnl_link()
258 if (t->parms.collect_md) in ip6_tnl_unlink()
971 if (t->parms.collect_md) { in ipxip6_rcv()
1055 if (t->parms.collect_md) in ip6_tnl_xmit_ctl()
1124 if (t->parms.collect_md) { in ip6_tnl_xmit()
1185 if (t->parms.collect_md && ipv6_addr_any(&fl6->saddr) && in ip6_tnl_xmit()
1247 if (t->parms.collect_md) { in ip6_tnl_xmit()
1321 if (t->parms.collect_md) { in ipxip6_tnl_xmit()
1941 if (t->parms.collect_md) in ip6_tnl_dev_init()
2015 parms->collect_md = true; in ip6_tnl_netlink_parms()
[all …]
/kernel/linux/linux-5.10/include/net/
Dip6_tunnel.h27 bool collect_md; member
Dip_tunnels.h143 bool collect_md; member