Home
last modified time | relevance | path

Searched refs:net_bridge (Results 1 – 22 of 22) sorted by relevance

/net/bridge/
Dbr_private.h120 struct net_bridge *br;
185 struct net_bridge *br;
206 struct net_bridge *br;
275 struct net_bridge struct
422 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge()
487 void br_fdb_flush(struct net_bridge *br);
488 void br_fdb_find_delete_local(struct net_bridge *br,
492 void br_fdb_change_mac_address(struct net_bridge *br, const u8 *newaddr);
494 void br_fdb_delete_by_port(struct net_bridge *br,
496 struct net_bridge_fdb_entry *__br_fdb_get(struct net_bridge *br,
[all …]
Dbr_sysfs_br.c25 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd)))
32 int (*set)(struct net_bridge *, unsigned long)) in store_bridge_parm() argument
34 struct net_bridge *br = to_bridge(d); in store_bridge_parm()
61 struct net_bridge *br = to_bridge(d); in forward_delay_show()
105 struct net_bridge *br = to_bridge(d); in ageing_time_show()
109 static int set_ageing_time(struct net_bridge *br, unsigned long val) in set_ageing_time()
125 struct net_bridge *br = to_bridge(d); in stp_state_show()
130 static int set_stp_state(struct net_bridge *br, unsigned long val) in set_stp_state()
149 struct net_bridge *br = to_bridge(d); in group_fwd_mask_show()
153 static int set_group_fwd_mask(struct net_bridge *br, unsigned long val) in set_group_fwd_mask()
[all …]
Dbr_stp.c55 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no) in br_get_port()
71 struct net_bridge *br; in br_should_become_root_port()
118 static void br_root_port_block(const struct net_bridge *br, in br_root_port_block()
133 static void br_root_selection(struct net_bridge *br) in br_root_selection()
161 void br_become_root_bridge(struct net_bridge *br) in br_become_root_bridge()
179 struct net_bridge *br; in br_transmit_config()
231 static void br_record_config_timeout_values(struct net_bridge *br, in br_record_config_timeout_values()
241 void br_transmit_tcn(struct net_bridge *br) in br_transmit_tcn()
256 struct net_bridge *br; in br_should_become_designated_port()
284 static void br_designated_port_selection(struct net_bridge *br) in br_designated_port_selection()
[all …]
Dbr_stp_timer.c21 static int br_is_designated_for_some_port(const struct net_bridge *br) in br_is_designated_for_some_port()
36 struct net_bridge *br = (struct net_bridge *)arg; in br_hello_timer_expired()
53 struct net_bridge *br = p->br; in br_message_age_timer_expired()
86 struct net_bridge *br = p->br; in br_forward_delay_timer_expired()
109 struct net_bridge *br = (struct net_bridge *) arg; in br_tcn_timer_expired()
123 struct net_bridge *br = (struct net_bridge *) arg; in br_topology_change_timer_expired()
145 void br_stp_timer_init(struct net_bridge *br) in br_stp_timer_init()
Dbr_private_stp.h54 void br_become_root_bridge(struct net_bridge *br);
55 void br_config_bpdu_generation(struct net_bridge *);
56 void br_configuration_update(struct net_bridge *);
57 void br_port_state_selection(struct net_bridge *);
62 void br_transmit_tcn(struct net_bridge *br);
63 void br_topology_change_detection(struct net_bridge *br);
Dbr_fdb.c34 static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source,
36 static void fdb_notify(struct net_bridge *br,
63 static inline unsigned long hold_time(const struct net_bridge *br) in hold_time()
68 static inline int has_expired(const struct net_bridge *br, in has_expired()
94 static void fdb_add_hw_addr(struct net_bridge *br, const unsigned char *addr) in fdb_add_hw_addr()
122 static void fdb_del_hw_addr(struct net_bridge *br, const unsigned char *addr) in fdb_del_hw_addr()
149 static void fdb_delete(struct net_bridge *br, struct net_bridge_fdb_entry *f) in fdb_delete()
163 static void fdb_delete_local(struct net_bridge *br, in fdb_delete_local()
197 void br_fdb_find_delete_local(struct net_bridge *br, in br_fdb_find_delete_local()
214 struct net_bridge *br = p->br; in br_fdb_changeaddr()
[all …]
Dbr_multicast.c38 static void br_multicast_start_querier(struct net_bridge *br,
40 static void br_multicast_add_router(struct net_bridge *br,
42 static void br_ip4_multicast_leave_group(struct net_bridge *br,
47 static void br_ip6_multicast_leave_group(struct net_bridge *br,
150 struct net_bridge_mdb_entry *br_mdb_get(struct net_bridge *br, in br_mdb_get()
240 struct net_bridge *br = mp->br; in br_multicast_group_expired()
263 static void br_multicast_del_pg(struct net_bridge *br, in br_multicast_del_pg()
303 struct net_bridge *br = pg->port->br; in br_multicast_port_group_expired()
363 static struct sk_buff *br_ip4_multicast_alloc_query(struct net_bridge *br, in br_ip4_multicast_alloc_query()
432 static struct sk_buff *br_ip6_multicast_alloc_query(struct net_bridge *br, in br_ip6_multicast_alloc_query()
[all …]
Dbr_device.c36 struct net_bridge *br = netdev_priv(dev); in br_dev_xmit()
103 struct net_bridge *br = netdev_priv(dev); in br_dev_init()
128 struct net_bridge *br = netdev_priv(dev); in br_dev_open()
150 struct net_bridge *br = netdev_priv(dev); in br_dev_stop()
163 struct net_bridge *br = netdev_priv(dev); in br_get_stats64()
191 struct net_bridge *br = netdev_priv(dev); in br_change_mtu()
208 struct net_bridge *br = netdev_priv(dev); in br_set_mac_address()
235 struct net_bridge *br = netdev_priv(dev); in br_fix_features()
247 struct net_bridge *br = netdev_priv(dev); in br_netpoll_cleanup()
283 struct net_bridge *br = netdev_priv(dev); in br_netpoll_setup()
[all …]
Dbr_if.c69 struct net_bridge *br = p->br; in br_port_carrier_check()
132 void br_manage_promisc(struct net_bridge *br) in br_manage_promisc()
166 static void nbp_update_port_count(struct net_bridge *br) in nbp_update_port_count()
226 static unsigned get_max_headroom(struct net_bridge *br) in get_max_headroom()
241 static void update_headroom(struct net_bridge *br, int new_hr) in update_headroom()
262 struct net_bridge *br = p->br; in del_nbp()
305 struct net_bridge *br = netdev_priv(dev); in br_dev_delete()
323 static int find_portno(struct net_bridge *br) in find_portno()
345 static struct net_bridge_port *new_nbp(struct net_bridge *br, in new_nbp()
384 dev = alloc_netdev(sizeof(struct net_bridge), name, NET_NAME_UNKNOWN, in br_add_bridge()
[all …]
Dbr_vlan.c72 static int __vlan_vid_add(struct net_device *dev, struct net_bridge *br, in __vlan_vid_add()
120 static int __vlan_vid_del(struct net_device *dev, struct net_bridge *br, in __vlan_vid_del()
145 static struct net_bridge_vlan *br_vlan_get_master(struct net_bridge *br, u16 vid) in br_vlan_get_master()
209 struct net_bridge *br; in __vlan_add()
340 struct sk_buff *br_handle_vlan(struct net_bridge *br, in br_handle_vlan()
386 static bool __allowed_ingress(const struct net_bridge *br, in __allowed_ingress()
476 bool br_allowed_ingress(const struct net_bridge *br, in br_allowed_ingress()
514 struct net_bridge *br = p->br; in br_should_learn()
544 int br_vlan_add(struct net_bridge *br, u16 vid, u16 flags) in br_vlan_add()
601 int br_vlan_delete(struct net_bridge *br, u16 vid) in br_vlan_delete()
[all …]
Dbr_stp_if.c59 void br_stp_enable_bridge(struct net_bridge *br) in br_stp_enable_bridge()
79 void br_stp_disable_bridge(struct net_bridge *br) in br_stp_disable_bridge()
111 struct net_bridge *br = p->br; in br_stp_disable_port()
137 static int br_stp_call_user(struct net_bridge *br, char *arg) in br_stp_call_user()
157 static void br_stp_start(struct net_bridge *br) in br_stp_start()
196 static void br_stp_stop(struct net_bridge *br) in br_stp_stop()
219 void br_stp_set_enabled(struct net_bridge *br, unsigned long val) in br_stp_set_enabled()
233 void br_stp_change_bridge_id(struct net_bridge *br, const unsigned char *addr) in br_stp_change_bridge_id()
267 bool br_stp_recalculate_bridge_id(struct net_bridge *br) in br_stp_recalculate_bridge_id()
293 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio) in br_stp_set_bridge_priority()
Dbr_ioctl.c42 static void get_port_ifindices(struct net_bridge *br, int *ifindices, int num) in get_port_ifindices()
59 static int get_fdb_entries(struct net_bridge *br, void __user *userbuf, in get_fdb_entries()
87 static int add_del_if(struct net_bridge *br, int ifindex, int isadd) in add_del_if()
115 struct net_bridge *br = netdev_priv(dev); in old_dev_ioctl()
388 struct net_bridge *br = netdev_priv(dev); in br_dev_ioctl()
Dbr_mdb.c21 struct net_bridge *br = netdev_priv(dev); in br_rports_fill_info()
80 struct net_bridge *br = netdev_priv(dev); in br_mdb_fill_info()
272 struct net_bridge *br = port->br; in br_mdb_complete()
507 static int br_mdb_add_group(struct net_bridge *br, struct net_bridge_port *port, in br_mdb_add_group()
545 static int __br_mdb_add(struct net *net, struct net_bridge *br, in __br_mdb_add()
580 struct net_bridge *br; in br_mdb_add()
618 static int __br_mdb_del(struct net_bridge *br, struct br_mdb_entry *entry) in __br_mdb_del()
674 struct net_bridge *br; in br_mdb_del()
Dbr_netlink.c99 struct net_bridge *br; in br_get_link_af_size_filtered()
346 struct net_bridge *br; in br_fill_ifinfo()
483 static int br_vlan_info(struct net_bridge *br, struct net_bridge_port *p, in br_vlan_info()
517 static int br_afspec(struct net_bridge *br, in br_afspec()
721 err = br_afspec((struct net_bridge *)netdev_priv(dev), p, in br_setlink()
747 err = br_afspec((struct net_bridge *)netdev_priv(dev), p, in br_dellink()
796 struct net_bridge *br = netdev_priv(brdev); in br_port_slave_changelink()
859 struct net_bridge *br = netdev_priv(brdev); in br_changelink()
1092 struct net_bridge *br = netdev_priv(dev); in br_dev_newlink()
1165 struct net_bridge *br = netdev_priv(brdev); in br_fill_info()
[all …]
Dbr_input.c39 struct net_bridge *br = netdev_priv(brdev); in br_pass_frame_up()
73 static void br_do_proxy_arp(struct sk_buff *skb, struct net_bridge *br, in br_do_proxy_arp()
138 struct net_bridge *br; in br_handle_frame_finish()
Dbr.c36 struct net_bridge *br; in br_device_event()
130 struct net_bridge *br; in br_switchdev_event()
Dbr_forward.c178 void br_flood(struct net_bridge *br, struct sk_buff *skb, in br_flood()
231 struct net_bridge *br = netdev_priv(dev); in br_multicast_flood()
Dbr_switchdev.c10 static int br_switchdev_mark_get(struct net_bridge *br, struct net_device *dev) in br_switchdev_mark_get()
Dbr_nf_core.c75 void br_netfilter_rtable_init(struct net_bridge *br) in br_netfilter_rtable_init()
Dbr_sysfs_if.c282 struct net_bridge *br = p->br; in br_sysfs_addif()
304 struct net_bridge *br = p->br; in br_sysfs_renameif()
Dbr_stp_bpdu.c152 struct net_bridge *br; in br_stp_rcv()
Dbr_netfilter_hooks.c475 struct net_bridge *br; in br_nf_pre_routing()
628 struct net_bridge *br; in br_nf_forward_arp()