Home
last modified time | relevance | path

Searched refs:net_bridge_vlan (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/net/bridge/
Dbr_vlan_tunnel.c22 const struct net_bridge_vlan *vle = ptr; in br_vlan_tunid_cmp()
29 .head_offset = offsetof(struct net_bridge_vlan, tnode),
30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id),
37 static struct net_bridge_vlan *br_vlan_tunnel_lookup(struct rhashtable *tbl, in br_vlan_tunnel_lookup()
44 static void vlan_tunnel_info_release(struct net_bridge_vlan *vlan) in vlan_tunnel_info_release()
54 struct net_bridge_vlan *vlan) in vlan_tunnel_info_del()
64 struct net_bridge_vlan *vlan, u32 tun_id) in __vlan_tunnel_info_add()
101 struct net_bridge_vlan *vlan; in nbp_vlan_tunnel_info_add()
119 struct net_bridge_vlan *v; in nbp_vlan_tunnel_info_delete()
135 struct net_bridge_vlan *vlan, *tmp; in __vlan_tunnel_info_flush()
[all …]
Dbr_netlink_tunnel.c29 bool vlan_tunid_inrange(const struct net_bridge_vlan *v_curr, in vlan_tunid_inrange()
30 const struct net_bridge_vlan *v_last) in vlan_tunid_inrange()
40 struct net_bridge_vlan *v, *vtbegin = NULL, *vtend = NULL; in __get_num_vlan_tunnel_infos()
119 struct net_bridge_vlan *vtbegin, in br_fill_vlan_tinfo_range()
120 struct net_bridge_vlan *vtend) in br_fill_vlan_tinfo_range()
151 struct net_bridge_vlan *vtbegin = NULL; in br_fill_vlan_tunnel_info()
152 struct net_bridge_vlan *vtend = NULL; in br_fill_vlan_tunnel_info()
153 struct net_bridge_vlan *v; in br_fill_vlan_tunnel_info()
255 struct net_bridge_vlan **v_start, in __vlan_tunnel_handle_range()
256 struct net_bridge_vlan **v_end, in __vlan_tunnel_handle_range()
[all …]
Dbr_mst.c28 const struct net_bridge_vlan *v; in br_mst_get_info()
55 const struct net_bridge_vlan *v; in br_mst_get_state()
76 static void br_mst_vlan_set_state(struct net_bridge_port *p, struct net_bridge_vlan *v, in br_mst_vlan_set_state()
102 struct net_bridge_vlan *v; in br_mst_set_state()
128 static void br_mst_vlan_sync_state(struct net_bridge_vlan *pv, u16 msti) in br_mst_vlan_sync_state()
131 struct net_bridge_vlan *v; in br_mst_vlan_sync_state()
148 int br_mst_vlan_set_msti(struct net_bridge_vlan *mv, u16 msti) in br_mst_vlan_set_msti()
159 struct net_bridge_vlan *pv; in br_mst_vlan_set_msti()
183 void br_mst_vlan_init_state(struct net_bridge_vlan *v) in br_mst_vlan_init_state()
236 const struct net_bridge_vlan *v; in br_mst_info_size()
[all …]
Dbr_vlan_options.c12 static bool __vlan_tun_put(struct sk_buff *skb, const struct net_bridge_vlan *v) in __vlan_tun_put()
32 static bool __vlan_tun_can_enter_range(const struct net_bridge_vlan *v_curr, in __vlan_tun_can_enter_range()
33 const struct net_bridge_vlan *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()
41 const struct net_bridge_vlan *range_end) in br_vlan_opts_eq_range()
51 bool br_vlan_opts_fill(struct sk_buff *skb, const struct net_bridge_vlan *v) in br_vlan_opts_fill()
78 struct net_bridge_vlan *v, in br_vlan_modify_state()
125 struct net_bridge_vlan *v, in br_vlan_modify_tunnel()
184 struct net_bridge_vlan *v, in br_vlan_process_one_opts()
222 struct net_bridge_vlan *range_start, in br_vlan_process_options()
[all …]
Dbr_private_tunnel.h40 struct net_bridge_vlan *vlan);
45 struct net_bridge_vlan *vlan);
46 bool vlan_tunid_inrange(const struct net_bridge_vlan *v_curr,
47 const struct net_bridge_vlan *v_last);
73 struct net_bridge_vlan *vlan) in vlan_tunnel_info_del()
Dbr_vlan.c16 const struct net_bridge_vlan *vle = ptr; in br_vlan_cmp()
23 .head_offset = offsetof(struct net_bridge_vlan, vnode),
24 .key_offset = offsetof(struct net_bridge_vlan, vid),
32 static struct net_bridge_vlan *br_vlan_lookup(struct rhashtable *tbl, u16 vid) in br_vlan_lookup()
38 const struct net_bridge_vlan *v) in __vlan_add_pvid()
61 static bool __vlan_flags_update(struct net_bridge_vlan *v, u16 flags, in __vlan_flags_update()
93 static bool __vlan_flags_would_change(struct net_bridge_vlan *v, u16 flags) in __vlan_flags_would_change()
98 static void __vlan_flags_commit(struct net_bridge_vlan *v, u16 flags) in __vlan_flags_commit()
104 struct net_bridge_vlan *v, u16 flags, in __vlan_vid_add()
119 static void __vlan_add_list(struct net_bridge_vlan *v) in __vlan_add_list()
[all …]
Dbr_private.h101 struct net_bridge_vlan *vlan;
119 struct net_bridge_vlan *vlan;
190 struct net_bridge_vlan { struct
204 struct net_bridge_vlan *brvlan; argument
617 static inline bool br_vlan_is_master(const struct net_bridge_vlan *v) in br_vlan_is_master()
623 static inline bool br_vlan_is_brentry(const struct net_bridge_vlan *v) in br_vlan_is_brentry()
629 static inline bool br_vlan_should_use(const struct net_bridge_vlan *v) in br_vlan_should_use()
693 static inline u8 br_vlan_multicast_router(const struct net_bridge_vlan *v) in br_vlan_multicast_router()
900 struct net_bridge_vlan *vlan,
920 int br_multicast_set_vlan_router(struct net_bridge_vlan *v, u8 mcast_router);
[all …]
Dbr_fdb.c336 const struct net_bridge_vlan *v; in fdb_delete_local()
443 struct net_bridge_vlan *v; in br_fdb_changeaddr()
484 struct net_bridge_vlan *v; in br_fdb_change_mac_address()
1151 struct net_bridge_vlan *v; in br_fdb_add()
1261 struct net_bridge_vlan *v; in br_fdb_delete()
Dbr_mdb.c90 struct net_bridge_vlan *v; in br_rports_fill_info()
830 struct net_bridge_vlan *v; in __br_mdb_choose_context()
991 struct net_bridge_vlan *v; in br_mdb_add()
1108 struct net_bridge_vlan *v; in br_mdb_del()
Dbr_multicast.c211 struct net_bridge_vlan *vlan; in br_multicast_pg_to_port_ctx()
783 struct net_bridge_vlan *vlan = NULL; in __br_multicast_query_handle_vlan()
1838 struct net_bridge_vlan *vlan, in br_multicast_port_ctx_init()
3759 struct net_bridge_vlan *vlan, in br_multicast_rcv()
3771 const struct net_bridge_vlan *masterv; in br_multicast_rcv()
3854 struct net_bridge_vlan *vlan, in br_multicast_ctx_init()
4004 struct net_bridge_vlan *vlan; in br_multicast_open()
4034 void br_multicast_toggle_one_vlan(struct net_bridge_vlan *vlan, bool on) in br_multicast_toggle_one_vlan()
4079 static void br_multicast_toggle_vlan(struct net_bridge_vlan *vlan, bool on) in br_multicast_toggle_vlan()
4087 struct net_bridge_vlan *vport; in br_multicast_toggle_vlan()
[all …]
Dbr_netlink.c26 struct net_bridge_vlan *v; in __get_num_vlan_infos()
349 struct net_bridge_vlan *v; in br_fill_ifvlaninfo_compressed()
405 struct net_bridge_vlan *v; in br_fill_ifvlaninfo()
1698 struct net_bridge_vlan *v; in br_get_linkxstats_size()
1736 struct net_bridge_vlan *v; in br_fill_linkxstats()
Dbr_switchdev.c350 struct net_bridge_vlan *v; in br_switchdev_vlan_attr_replay()
404 struct net_bridge_vlan *v; in br_switchdev_vlan_replay_group()
Dbr_input.c83 struct net_bridge_vlan *vlan; in br_handle_frame_finish()
Dbr_device.c37 struct net_bridge_vlan *vlan; in br_dev_xmit()