Home
last modified time | relevance | path

Searched refs:TUNNEL_ERSPAN_OPT (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Dif_tunnel.h178 #define TUNNEL_ERSPAN_OPT __cpu_to_be16(0x4000) macro
181 (TUNNEL_GENEVE_OPT | TUNNEL_VXLAN_OPT | TUNNEL_ERSPAN_OPT)
/Linux-v5.10/net/netfilter/
Dnft_tunnel.c301 opts->flags = TUNNEL_ERSPAN_OPT; in nft_tunnel_obj_erspan_init()
384 type = TUNNEL_ERSPAN_OPT; in nft_tunnel_obj_opts_init()
566 } else if (opts->flags & TUNNEL_ERSPAN_OPT) { in nft_tunnel_opts_dump()
/Linux-v5.10/net/psample/
Dpsample.c277 else if (tun_key->tun_flags & TUNNEL_ERSPAN_OPT && in __psample_ip_tun_to_nlattr()
350 else if (tun_key->tun_flags & TUNNEL_ERSPAN_OPT) in psample_tunnel_meta_len()
/Linux-v5.10/net/sched/
Dact_tunnel_key.c273 type = TUNNEL_ERSPAN_OPT; in tunnel_key_copy_opts()
320 info->key.tun_flags |= TUNNEL_ERSPAN_OPT; in tunnel_key_opts_set()
670 } else if (info->key.tun_flags & TUNNEL_ERSPAN_OPT) { in tunnel_key_opts_dump()
Dcls_flower.c1353 key->enc_opts.dst_opt_type = TUNNEL_ERSPAN_OPT; in fl_set_enc_opt()
1364 mask->enc_opts.dst_opt_type = TUNNEL_ERSPAN_OPT; in fl_set_enc_opt()
2752 case TUNNEL_ERSPAN_OPT: in fl_dump_key_options()
/Linux-v5.10/net/ipv4/
Dip_tunnel_core.c586 info->key.tun_flags |= TUNNEL_ERSPAN_OPT; in ip_tun_parse_opts_erspan()
638 type = TUNNEL_ERSPAN_OPT; in ip_tun_parse_opts()
834 else if (tun_info->key.tun_flags & TUNNEL_ERSPAN_OPT) in ip_tun_fill_encap_opts()
888 } else if (info->key.tun_flags & TUNNEL_ERSPAN_OPT) { in ip_tun_opts_nlsize()
Dip_gre.c334 info->key.tun_flags |= TUNNEL_ERSPAN_OPT; in erspan_rcv()
532 if (!(tun_info->key.tun_flags & TUNNEL_ERSPAN_OPT)) in erspan_fb_xmit()
/Linux-v5.10/net/openvswitch/
Dflow_netlink.c774 tun_flags |= TUNNEL_ERSPAN_OPT; in ip_tun_from_nlattr()
923 else if (output->tun_flags & TUNNEL_ERSPAN_OPT && in __ip_tun_to_nlattr()
2656 dst_opt_type = TUNNEL_ERSPAN_OPT; in validate_and_copy_set_tun()
/Linux-v5.10/net/ipv6/
Dip6_gre.c586 info->key.tun_flags |= TUNNEL_ERSPAN_OPT; in ip6erspan_rcv()
996 if (!(tun_info->key.tun_flags & TUNNEL_ERSPAN_OPT)) in ip6erspan_tunnel_xmit()