Home
last modified time | relevance | path

Searched refs:v_curr (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/net/bridge/
Dbr_vlan_options.c32 static bool __vlan_tun_can_enter_range(const struct net_bridge_vlan *v_curr, in __vlan_tun_can_enter_range() argument
35 return (!v_curr->tinfo.tunnel_dst && !range_end->tinfo.tunnel_dst) || in __vlan_tun_can_enter_range()
36 vlan_tunid_inrange(v_curr, range_end); in __vlan_tun_can_enter_range()
40 bool br_vlan_opts_eq_range(const struct net_bridge_vlan *v_curr, in br_vlan_opts_eq_range() argument
44 u8 curr_mc_rtr = br_vlan_multicast_router(v_curr); in br_vlan_opts_eq_range()
46 return v_curr->state == range_end->state && in br_vlan_opts_eq_range()
47 __vlan_tun_can_enter_range(v_curr, range_end) && in br_vlan_opts_eq_range()
295 bool br_vlan_global_opts_can_enter_range(const struct net_bridge_vlan *v_curr, in br_vlan_global_opts_can_enter_range() argument
298 return v_curr->vid - r_end->vid == 1 && in br_vlan_global_opts_can_enter_range()
299 v_curr->msti == r_end->msti && in br_vlan_global_opts_can_enter_range()
[all …]
Dbr_netlink_tunnel.c29 bool vlan_tunid_inrange(const struct net_bridge_vlan *v_curr, in vlan_tunid_inrange() argument
32 __be32 tunid_curr = tunnel_id_to_key32(v_curr->tinfo.tunnel_id); in vlan_tunid_inrange()
257 int v_curr, bool curr_change) in __vlan_tunnel_handle_range() argument
266 v = br_vlan_find(vg, v_curr); in __vlan_tunnel_handle_range()
Dbr_private_tunnel.h46 bool vlan_tunid_inrange(const struct net_bridge_vlan *v_curr,
Dbr_private.h1479 bool br_vlan_can_enter_range(const struct net_bridge_vlan *v_curr,
1719 static inline bool br_vlan_can_enter_range(const struct net_bridge_vlan *v_curr, in br_vlan_can_enter_range() argument
1734 bool br_vlan_opts_eq_range(const struct net_bridge_vlan *v_curr,
1748 bool br_vlan_global_opts_can_enter_range(const struct net_bridge_vlan *v_curr,
Dbr_vlan.c1927 bool br_vlan_can_enter_range(const struct net_bridge_vlan *v_curr, in br_vlan_can_enter_range() argument
1930 return v_curr->vid - range_end->vid == 1 && in br_vlan_can_enter_range()
1931 range_end->flags == v_curr->flags && in br_vlan_can_enter_range()
1932 br_vlan_opts_eq_range(v_curr, range_end); in br_vlan_can_enter_range()