Home
last modified time | relevance | path

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

/net/bridge/
Dbr_private.h74 struct net_bridge *br;
109 struct net_bridge *br;
130 struct net_bridge *br;
206 struct net_bridge struct
321 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge()
332 static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br) in br_netpoll_info()
349 static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br) in br_netpoll_info()
372 extern void br_fdb_flush(struct net_bridge *br);
375 extern void br_fdb_change_mac_address(struct net_bridge *br, const u8 *newaddr);
377 extern void br_fdb_delete_by_port(struct net_bridge *br,
[all …]
Dbr_sysfs_br.c26 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd)))
33 int (*set)(struct net_bridge *, unsigned long)) in store_bridge_parm() argument
35 struct net_bridge *br = to_bridge(d); in store_bridge_parm()
55 struct net_bridge *br = to_bridge(d); in show_forward_delay()
101 struct net_bridge *br = to_bridge(d); in show_ageing_time()
105 static int set_ageing_time(struct net_bridge *br, unsigned long val) in set_ageing_time()
123 struct net_bridge *br = to_bridge(d); in show_stp_state()
132 struct net_bridge *br = to_bridge(d); in store_stp_state()
156 struct net_bridge *br = to_bridge(d); in show_group_fwd_mask()
165 struct net_bridge *br = to_bridge(d); in store_group_fwd_mask()
[all …]
Dbr_stp.c40 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no) in br_get_port()
56 struct net_bridge *br; in br_should_become_root_port()
103 static void br_root_port_block(const struct net_bridge *br, in br_root_port_block()
119 static void br_root_selection(struct net_bridge *br) in br_root_selection()
147 void br_become_root_bridge(struct net_bridge *br) in br_become_root_bridge()
165 struct net_bridge *br; in br_transmit_config()
216 static void br_record_config_timeout_values(struct net_bridge *br, in br_record_config_timeout_values()
226 void br_transmit_tcn(struct net_bridge *br) in br_transmit_tcn()
241 struct net_bridge *br; in br_should_become_designated_port()
269 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()
51 struct net_bridge *br = p->br; in br_message_age_timer_expired()
84 struct net_bridge *br = p->br; in br_forward_delay_timer_expired()
106 struct net_bridge *br = (struct net_bridge *) arg; in br_tcn_timer_expired()
120 struct net_bridge *br = (struct net_bridge *) arg; in br_topology_change_timer_expired()
142 void br_stp_timer_init(struct net_bridge *br) in br_stp_timer_init()
Dbr_private_stp.h54 extern void br_become_root_bridge(struct net_bridge *br);
55 extern void br_config_bpdu_generation(struct net_bridge *);
56 extern void br_configuration_update(struct net_bridge *);
57 extern void br_port_state_selection(struct net_bridge *);
62 extern void br_transmit_tcn(struct net_bridge *br);
63 extern void br_topology_change_detection(struct net_bridge *br);
Dbr_device.c28 struct net_bridge *br = netdev_priv(dev); in br_dev_xmit()
87 struct net_bridge *br = netdev_priv(dev); in br_dev_init()
98 struct net_bridge *br = netdev_priv(dev); in br_dev_open()
114 struct net_bridge *br = netdev_priv(dev); in br_dev_stop()
127 struct net_bridge *br = netdev_priv(dev); in br_get_stats64()
155 struct net_bridge *br = netdev_priv(dev); in br_change_mtu()
172 struct net_bridge *br = netdev_priv(dev); in br_set_mac_address()
200 struct net_bridge *br = netdev_priv(dev); in br_fix_features()
212 struct net_bridge *br = netdev_priv(dev); in br_netpoll_cleanup()
222 struct net_bridge *br = netdev_priv(dev); in br_netpoll_setup()
[all …]
Dbr_fdb.c30 static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source,
32 static void fdb_notify(struct net_bridge *br,
59 static inline unsigned long hold_time(const struct net_bridge *br) in hold_time()
64 static inline int has_expired(const struct net_bridge *br, in has_expired()
85 static void fdb_delete(struct net_bridge *br, struct net_bridge_fdb_entry *f) in fdb_delete()
94 struct net_bridge *br = p->br; in br_fdb_changeaddr()
143 void br_fdb_change_mac_address(struct net_bridge *br, const u8 *newaddr) in br_fdb_change_mac_address()
174 struct net_bridge *br = (struct net_bridge *)_data; in br_fdb_cleanup()
201 void br_fdb_flush(struct net_bridge *br) in br_fdb_flush()
220 void br_fdb_delete_by_port(struct net_bridge *br, in br_fdb_delete_by_port()
[all …]
Dbr_multicast.c35 static void br_multicast_start_querier(struct net_bridge *br);
134 struct net_bridge_mdb_entry *br_mdb_get(struct net_bridge *br, in br_mdb_get()
224 struct net_bridge *br = mp->br; in br_multicast_group_expired()
247 static void br_multicast_del_pg(struct net_bridge *br, in br_multicast_del_pg()
285 struct net_bridge *br = pg->port->br; in br_multicast_port_group_expired()
345 static struct sk_buff *br_ip4_multicast_alloc_query(struct net_bridge *br, in br_ip4_multicast_alloc_query()
411 static struct sk_buff *br_ip6_multicast_alloc_query(struct net_bridge *br, in br_ip6_multicast_alloc_query()
493 static struct sk_buff *br_multicast_alloc_query(struct net_bridge *br, in br_multicast_alloc_query()
508 struct net_bridge *br, struct net_bridge_port *port, in br_multicast_get_group()
581 struct net_bridge_mdb_entry *br_multicast_new_group(struct net_bridge *br, in br_multicast_new_group()
[all …]
Dbr_stp_if.c46 void br_stp_enable_bridge(struct net_bridge *br) in br_stp_enable_bridge()
65 void br_stp_disable_bridge(struct net_bridge *br) in br_stp_disable_bridge()
98 struct net_bridge *br = p->br; in br_stp_disable_port()
125 static void br_stp_start(struct net_bridge *br) in br_stp_start()
146 static void br_stp_stop(struct net_bridge *br) in br_stp_stop()
165 void br_stp_set_enabled(struct net_bridge *br, unsigned long val) in br_stp_set_enabled()
179 void br_stp_change_bridge_id(struct net_bridge *br, const unsigned char *addr) in br_stp_change_bridge_id()
211 bool br_stp_recalculate_bridge_id(struct net_bridge *br) in br_stp_recalculate_bridge_id()
237 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio) in br_stp_set_bridge_priority()
Dbr_if.c68 struct net_bridge *br = p->br; in br_port_carrier_check()
131 struct net_bridge *br = p->br; in del_nbp()
168 struct net_bridge *br = netdev_priv(dev); in br_dev_delete()
182 static int find_portno(struct net_bridge *br) in find_portno()
204 static struct net_bridge_port *new_nbp(struct net_bridge *br, in new_nbp()
238 dev = alloc_netdev(sizeof(struct net_bridge), name, in br_add_bridge()
281 int br_min_mtu(const struct net_bridge *br) in br_min_mtu()
302 netdev_features_t br_features_recompute(struct net_bridge *br, in br_features_recompute()
323 int br_add_if(struct net_bridge *br, struct net_device *dev) in br_add_if()
425 int br_del_if(struct net_bridge *br, struct net_device *dev) in br_del_if()
Dbr_vlan.c39 struct net_bridge *br; in __vlan_add()
149 struct sk_buff *br_handle_vlan(struct net_bridge *br, in br_handle_vlan()
192 bool br_allowed_ingress(struct net_bridge *br, struct net_port_vlans *v, in br_allowed_ingress()
232 bool br_allowed_egress(struct net_bridge *br, in br_allowed_egress()
252 int br_vlan_add(struct net_bridge *br, u16 vid, u16 flags) in br_vlan_add()
282 int br_vlan_delete(struct net_bridge *br, u16 vid) in br_vlan_delete()
305 void br_vlan_flush(struct net_bridge *br) in br_vlan_flush()
317 int br_vlan_filter_toggle(struct net_bridge *br, unsigned long val) in br_vlan_filter_toggle()
Dbr_mdb.c19 struct net_bridge *br = netdev_priv(dev); in br_rports_fill_info()
45 struct net_bridge *br = netdev_priv(dev); in br_mdb_fill_info()
316 static int br_mdb_add_group(struct net_bridge *br, struct net_bridge_port *port, in br_mdb_add_group()
352 static int __br_mdb_add(struct net *net, struct net_bridge *br, in __br_mdb_add()
390 struct net_bridge *br; in br_mdb_add()
405 static int __br_mdb_del(struct net_bridge *br, struct br_mdb_entry *entry) in __br_mdb_del()
465 struct net_bridge *br; in br_mdb_del()
Dbr_forward.c174 static void br_flood(struct net_bridge *br, struct sk_buff *skb, in br_flood()
206 void br_flood_deliver(struct net_bridge *br, struct sk_buff *skb) in br_flood_deliver()
212 void br_flood_forward(struct net_bridge *br, struct sk_buff *skb, in br_flood_forward()
227 struct net_bridge *br = netdev_priv(dev); in br_multicast_flood()
Dbr_ioctl.c41 static void get_port_ifindices(struct net_bridge *br, int *ifindices, int num) in get_port_ifindices()
58 static int get_fdb_entries(struct net_bridge *br, void __user *userbuf, in get_fdb_entries()
86 static int add_del_if(struct net_bridge *br, int ifindex, int isadd) in add_del_if()
114 struct net_bridge *br = netdev_priv(dev); in old_dev_ioctl()
382 struct net_bridge *br = netdev_priv(dev); in br_dev_ioctl()
Dbr_netlink.c74 const struct net_bridge *br; in br_fill_ifinfo()
225 static int br_afspec(struct net_bridge *br, in br_afspec()
397 err = br_afspec((struct net_bridge *)netdev_priv(dev), p, in br_setlink()
424 err = br_afspec((struct net_bridge *)netdev_priv(dev), p, in br_dellink()
448 pv = br_get_vlan_info((struct net_bridge *)netdev_priv(dev)); in br_get_link_af_size()
466 .priv_size = sizeof(struct net_bridge),
Dbr_input.c30 struct net_bridge *br = netdev_priv(brdev); in br_pass_frame_up()
64 struct net_bridge *br; in br_handle_frame_finish()
Dbr_sysfs_if.c258 struct net_bridge *br = p->br; in br_sysfs_addif()
280 struct net_bridge *br = p->br; in br_sysfs_renameif()
Dbr_notify.c36 struct net_bridge *br; in br_device_event()
Dbr_netfilter.c162 void br_netfilter_rtable_init(struct net_bridge *br) in br_netfilter_rtable_init()
678 struct net_bridge *br; in br_nf_pre_routing()
827 struct net_bridge *br; in br_nf_forward_arp()
Dbr_stp_bpdu.c145 struct net_bridge *br; in br_stp_rcv()