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()
210 __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.c4884 __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.c64 if (!test_bit(IP_TUNNEL_KEY_BIT, flags)) in ip_tunnel_key_match()
65 return !test_bit(IP_TUNNEL_KEY_BIT, p->i_flags); in ip_tunnel_key_match()
67 return test_bit(IP_TUNNEL_KEY_BIT, p->i_flags) && p->i_key == key; in ip_tunnel_key_match()
184 if (!test_bit(IP_TUNNEL_KEY_BIT, parms->i_flags) && in ip_bucket()
920 if (!test_bit(IP_TUNNEL_KEY_BIT, p->i_flags)) in ip_tunnel_ctl()
922 if (!test_bit(IP_TUNNEL_KEY_BIT, p->o_flags)) in ip_tunnel_ctl()
H A Dip_gre.c298 __set_bit(IP_TUNNEL_KEY_BIT, flags); in erspan_rcv()
324 __set_bit(IP_TUNNEL_KEY_BIT, tpi->flags); in erspan_rcv()
398 __set_bit(IP_TUNNEL_KEY_BIT, flags); in __ipgre_rcv()
524 __set_bit(IP_TUNNEL_KEY_BIT, flags); in gre_fb_xmit()
748 __clear_bit(IP_TUNNEL_KEY_BIT, tunnel->parms.o_flags); in erspan_xmit()
1607 __set_bit(IP_TUNNEL_KEY_BIT, t->parms.o_flags); in erspan_fill_info()
/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/ipv6/
H A Dip6_gre.c529 __set_bit(IP_TUNNEL_KEY_BIT, tpi->flags); in ip6erspan_rcv()
758 __set_bit(IP_TUNNEL_KEY_BIT, flags); in __gre6_xmit()
966 __clear_bit(IP_TUNNEL_KEY_BIT, t->parms.o_flags); in ip6erspan_tunnel_xmit()
2122 __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/drivers/net/
H A Dbareudp.c143 __set_bit(IP_TUNNEL_KEY_BIT, key); in bareudp_udp_encap_recv()
/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/ethernet/mellanox/mlx5/core/
H A Den_tc.c5605 __set_bit(IP_TUNNEL_KEY_BIT, flags); in mlx5e_tc_restore_tunnel()