Searched refs:TUNNEL_KEY (Results 1 – 19 of 19) sorted by relevance
/linux-6.1.9/include/net/ |
D | gre.h | 58 if (o_flags & TUNNEL_KEY) in gre_calc_hlen() 74 tflags |= TUNNEL_KEY; in gre_flags_to_tnl_flags() 95 if (tflags & TUNNEL_KEY) in gre_tnl_flags_to_gre_flags() 123 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header() 130 if (flags & TUNNEL_KEY) { in gre_build_header()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 29 return !!(parms->i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_ikey() 34 return !!(parms->i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_ikey() 39 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey() 44 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_okey() 241 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp_ipip_can_offload_gre4() 528 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp2_ipip_can_offload_gre6()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_gre.c | 47 if (tun_key->tun_flags & TUNNEL_KEY) { in mlx5e_gen_ip_tunnel_header_gretap()
|
/linux-6.1.9/net/ipv4/ |
D | ip_tunnel.c | 62 if (p->i_flags & TUNNEL_KEY) { in ip_tunnel_key_match() 63 if (flags & TUNNEL_KEY) in ip_tunnel_key_match() 69 return !(flags & TUNNEL_KEY); in ip_tunnel_key_match() 186 if (!(parms->i_flags & TUNNEL_KEY) && (parms->i_flags & VTI_ISVTI)) in ip_bucket() 887 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ctl() 889 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
|
D | ip_gre.c | 286 tpi->flags | TUNNEL_KEY, in erspan_rcv() 312 tpi->flags |= TUNNEL_KEY; in erspan_rcv() 382 flags = tpi->flags & (TUNNEL_CSUM | TUNNEL_KEY); in __ipgre_rcv() 502 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit() 714 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit() 1541 t->parms.o_flags |= TUNNEL_KEY; in erspan_fill_info()
|
/linux-6.1.9/include/uapi/linux/ |
D | if_tunnel.h | 166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
|
/linux-6.1.9/net/bridge/ |
D | br_vlan_tunnel.c | 73 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add()
|
/linux-6.1.9/net/psample/ |
D | psample.c | 223 if (tun_key->tun_flags & TUNNEL_KEY && in __psample_ip_tun_to_nlattr() 316 if (tun_key->tun_flags & TUNNEL_KEY) in psample_tunnel_meta_len()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 404 !(key.tunnel_flags & TUNNEL_KEY) || in vxlan_get_tunnel_src() 556 !(key.tunnel_flags & TUNNEL_KEY) || in ip6vxlan_get_tunnel_src()
|
/linux-6.1.9/net/sched/ |
D | act_tunnel_key.c | 413 flags = TUNNEL_KEY; in tunnel_key_init() 739 if (((key->tun_flags & TUNNEL_KEY) && in tunnel_key_dump()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 714 key.enc_tp.dst, TUNNEL_KEY, in mlx5e_restore_tunnel() 720 key.enc_tp.dst, 0, TUNNEL_KEY, in mlx5e_restore_tunnel()
|
/linux-6.1.9/net/ipv6/ |
D | ip6_gre.c | 557 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv() 782 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit() 1003 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit() 2170 o_flags |= TUNNEL_KEY; in ip6gre_fill_info()
|
/linux-6.1.9/net/netfilter/ |
D | nft_tunnel.c | 457 info.key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in nft_tunnel_obj_init()
|
/linux-6.1.9/drivers/net/ |
D | bareudp.c | 140 tun_dst = udp_tun_rx_dst(skb, family, TUNNEL_KEY, 0, 0); in bareudp_udp_encap_recv()
|
D | geneve.c | 230 flags = TUNNEL_KEY | (gnvh->oam ? TUNNEL_OAM : 0) | in geneve_rx()
|
/linux-6.1.9/net/openvswitch/ |
D | flow_netlink.c | 697 tun_flags |= TUNNEL_KEY; in ip_tun_from_nlattr() 829 tun_flags & ~TUNNEL_KEY) { in ip_tun_from_nlattr() 874 if (output->tun_flags & TUNNEL_KEY && in __ip_tun_to_nlattr()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/ |
D | action.c | 421 NFP_FL_TUNNEL_KEY != TUNNEL_KEY || in nfp_fl_set_tun()
|
/linux-6.1.9/drivers/net/vxlan/ |
D | vxlan_core.c | 1721 tun_dst = udp_tun_rx_dst(skb, vxlan_get_sk_family(vs), TUNNEL_KEY, in vxlan_rcv()
|
/linux-6.1.9/net/core/ |
D | filter.c | 4652 info->key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in BPF_CALL_4()
|