Home
last modified time | relevance | path

Searched refs:TUNNEL_KEY (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/include/net/
H A Dgre.h58 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()
134 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header()
141 if (flags & TUNNEL_KEY) { in gre_build_header()
/kernel/linux/linux-6.6/include/net/
H A Dgre.h58 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c29 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()
442 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp_ipip_can_offload_gre6()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c29 return !!(parms.i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_ikey()
34 return !!(parms.o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
238 __be16 okflags = TUNNEL_KEY; /* We can't offload any other features. */ in mlxsw_sp_ipip_can_offload_gre4()
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_vlan_tunnel.c73 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add()
205 tunnel_dst = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in br_handle_egress_vlan_tunnel()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c47 if (tun_key->tun_flags & TUNNEL_KEY) { in mlx5e_gen_ip_tunnel_header_gretap()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c47 if (tun_key->tun_flags & TUNNEL_KEY) { in mlx5e_gen_ip_tunnel_header_gretap()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dif_tunnel.h166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_vlan_tunnel.c73 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dif_tunnel.h166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dif_tunnel.h159 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dif_tunnel.h159 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/kernel/linux/linux-5.10/net/psample/
H A Dpsample.c222 if (tun_key->tun_flags & TUNNEL_KEY && in __psample_ip_tun_to_nlattr()
315 if (tun_key->tun_flags & TUNNEL_KEY) in psample_tunnel_meta_len()
/kernel/linux/linux-6.6/net/psample/
H A Dpsample.c224 if (tun_key->tun_flags & TUNNEL_KEY && in __psample_ip_tun_to_nlattr()
317 if (tun_key->tun_flags & TUNNEL_KEY) in psample_tunnel_meta_len()
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_gre.c284 tpi->flags | TUNNEL_KEY, in erspan_rcv()
310 tpi->flags |= TUNNEL_KEY; in erspan_rcv()
377 flags = tpi->flags & (TUNNEL_CSUM | TUNNEL_KEY); in __ipgre_rcv()
497 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit()
712 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
1545 t->parms.o_flags |= TUNNEL_KEY; in erspan_fill_info()
H A Dip_tunnel.c62 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()
911 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
913 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_gre.c286 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()
719 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
1546 t->parms.o_flags |= TUNNEL_KEY; in erspan_fill_info()
H A Dip_tunnel.c62 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()
932 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
934 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c558 key.enc_tp.dst, TUNNEL_KEY, in mlx5e_restore_tunnel()
564 key.enc_tp.dst, 0, TUNNEL_KEY, in mlx5e_restore_tunnel()
/kernel/linux/linux-5.10/net/sched/
H A Dact_tunnel_key.c414 flags = TUNNEL_KEY; in tunnel_key_init()
740 if (((key->tun_flags & TUNNEL_KEY) && in tunnel_key_dump()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c436 !(key.tunnel_flags & TUNNEL_KEY) || in vxlan_get_tunnel_src()
586 !(key.tunnel_flags & TUNNEL_KEY) || in ip6vxlan_get_tunnel_src()
/kernel/linux/linux-6.6/net/sched/
H A Dact_tunnel_key.c415 flags = TUNNEL_KEY; in tunnel_key_init()
744 if (((key->tun_flags & TUNNEL_KEY) && in tunnel_key_dump()
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_gre.c562 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv()
760 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
982 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
2154 o_flags |= TUNNEL_KEY; in ip6gre_fill_info()
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_gre.c557 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv()
782 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
982 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
2151 o_flags |= TUNNEL_KEY; in ip6gre_fill_info()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_tunnel.c428 info.key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in nft_tunnel_obj_init()

Completed in 35 milliseconds

12