Home
last modified time | relevance | path

Searched refs:TUNNEL_KEY (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ipv4/
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()
884 if (!(p->i_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
886 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
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()
709 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
1542 t->parms.o_flags |= TUNNEL_KEY; in erspan_fill_info()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/psample/
H A Dpsample.c221 if (tun_key->tun_flags & TUNNEL_KEY && in __psample_ip_tun_to_nlattr()
314 if (tun_key->tun_flags & TUNNEL_KEY) in psample_tunnel_meta_len()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_tunnel.h166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_tunnel.h166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_tunnel.h166 #define TUNNEL_KEY __cpu_to_be16(0x04) macro
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dip6_gre.c562 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv()
760 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
981 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
2150 o_flags |= TUNNEL_KEY; in ip6gre_fill_info()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnft_tunnel.c428 info.key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in nft_tunnel_obj_init()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dbareudp.c133 tun_dst = udp_tun_rx_dst(skb, family, TUNNEL_KEY, 0, 0); in bareudp_udp_encap_recv()
H A Dgeneve.c227 flags = TUNNEL_KEY | (gnvh->oam ? TUNNEL_OAM : 0) | in geneve_rx()
H A Dvxlan.c1885 tun_dst = udp_tun_rx_dst(skb, vxlan_get_sk_family(vs), TUNNEL_KEY, in vxlan_rcv()
/OK3568_Linux_fs/kernel/net/openvswitch/
H A Dflow_netlink.c687 tun_flags |= TUNNEL_KEY; in ip_tun_from_nlattr()
819 tun_flags & ~TUNNEL_KEY) { in ip_tun_from_nlattr()
864 if (output->tun_flags & TUNNEL_KEY && in __ip_tun_to_nlattr()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c419 NFP_FL_TUNNEL_KEY != TUNNEL_KEY || in nfp_fl_set_tun()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c4333 info->key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in BPF_CALL_4()