Home
last modified time | relevance | path

Searched refs:IP_TUNNEL_KEY_BIT (Results 1 – 15 of 15) sorted by relevance

/linux/include/net/
H A Dgre.h58 if (test_bit(IP_TUNNEL_KEY_BIT, o_flags)) in gre_calc_hlen()
71 __assign_bit(IP_TUNNEL_KEY_BIT, res, flags & GRE_KEY); in gre_flags_to_tnl_flags()
88 if (test_bit(IP_TUNNEL_KEY_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
117 __set_bit(IP_TUNNEL_KEY_BIT, cond); in gre_build_header()
128 if (test_bit(IP_TUNNEL_KEY_BIT, flags)) { in gre_build_header()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c30 return test_bit(IP_TUNNEL_KEY_BIT, parms->i_flags); in mlxsw_sp_ipip_parms4_has_ikey()
35 return test_bit(IP_TUNNEL_KEY_BIT, parms->i_flags); in mlxsw_sp_ipip_parms6_has_ikey()
41 return test_bit(IP_TUNNEL_KEY_BIT, parms->o_flags); in mlxsw_sp_ipip_parms4_has_okey()
46 return test_bit(IP_TUNNEL_KEY_BIT, parms->o_flags); in mlxsw_sp_ipip_parms6_has_okey()
250 __set_bit(IP_TUNNEL_KEY_BIT, okflags); in mlxsw_sp_ipip_can_offload_gre4()
452 __set_bit(IP_TUNNEL_KEY_BIT, okflags); in mlxsw_sp_ipip_can_offload_gre6()
/linux/net/bridge/
H A Dbr_vlan_tunnel.c74 __set_bit(IP_TUNNEL_KEY_BIT, flags); in __vlan_tunnel_info_add()
207 __set_bit(IP_TUNNEL_KEY_BIT, flags); in br_handle_egress_vlan_tunnel()
/linux/net/core/
H A Dnet_test.c292 IP_TUNNEL_KEY_BIT,
332 cpu_to_be16(BIT(IP_TUNNEL_KEY_BIT) |
H A Dfilter.c4834 __assign_bit(IP_TUNNEL_KEY_BIT, info->key.tun_flags, in BPF_CALL_4()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c51 if (test_bit(IP_TUNNEL_KEY_BIT, tun_key->tun_flags)) { in mlx5e_gen_ip_tunnel_header_gretap()
/linux/net/ipv4/
H A Dip_tunnel.c63 if (!test_bit(IP_TUNNEL_KEY_BIT, flags)) in ip_tunnel_key_match()
64 return !test_bit(IP_TUNNEL_KEY_BIT, p->i_flags); in ip_tunnel_key_match()
66 return test_bit(IP_TUNNEL_KEY_BIT, p->i_flags) && p->i_key == key; in ip_tunnel_key_match()
183 if (!test_bit(IP_TUNNEL_KEY_BIT, parms->i_flags) && in ip_bucket()
933 if (!test_bit(IP_TUNNEL_KEY_BIT, p->i_flags)) in ip_tunnel_ctl()
935 if (!test_bit(IP_TUNNEL_KEY_BIT, p->o_flags)) in ip_tunnel_ctl()
/linux/include/uapi/linux/
H A Dif_tunnel.h197 IP_TUNNEL_KEY_BIT, enumerator
/linux/net/psample/
H A Dpsample.c224 if (test_bit(IP_TUNNEL_KEY_BIT, tun_key->tun_flags) && in __psample_ip_tun_to_nlattr()
318 if (test_bit(IP_TUNNEL_KEY_BIT, tun_key->tun_flags)) in psample_tunnel_meta_len()
/linux/net/sched/
H A Dact_tunnel_key.c415 __set_bit(IP_TUNNEL_KEY_BIT, flags); in tunnel_key_init()
744 if ((test_bit(IP_TUNNEL_KEY_BIT, key->tun_flags) && in tunnel_key_dump()
/linux/net/ipv6/
H A Dip6_gre.c560 __set_bit(IP_TUNNEL_KEY_BIT, tpi->flags); in ip6erspan_rcv()
787 __set_bit(IP_TUNNEL_KEY_BIT, flags); in __gre6_xmit()
995 __clear_bit(IP_TUNNEL_KEY_BIT, t->parms.o_flags); in ip6erspan_tunnel_xmit()
2152 __set_bit(IP_TUNNEL_KEY_BIT, o_flags); in ip6gre_fill_info()
/linux/net/netfilter/
H A Dnft_tunnel.c460 __set_bit(IP_TUNNEL_KEY_BIT, info.key.tun_flags); in nft_tunnel_obj_init()
/linux/net/openvswitch/
H A Dflow_netlink.c708 __set_bit(IP_TUNNEL_KEY_BIT, tun_flags); in ip_tun_from_nlattr()
835 __clear_bit(IP_TUNNEL_KEY_BIT, tun_flags); in ip_tun_from_nlattr()
888 if (test_bit(IP_TUNNEL_KEY_BIT, output->tun_flags) && in __ip_tun_to_nlattr()
/linux/drivers/net/
H A Dgeneve.c230 __set_bit(IP_TUNNEL_KEY_BIT, flags); in geneve_rx()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c1750 __set_bit(IP_TUNNEL_KEY_BIT, flags); in vxlan_rcv()