Home
last modified time | relevance | path

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

/net/bridge/
Dbr_private.h76 struct net_bridge_port __rcu *port;
121 struct net_bridge_port *port;
156 struct net_bridge_port *dst;
173 struct net_bridge_port *port;
204 struct net_bridge_port struct
264 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu() argument
269 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl()
457 static inline void br_netpoll_send_skb(const struct net_bridge_port *p, in br_netpoll_send_skb()
466 int br_netpoll_enable(struct net_bridge_port *p);
467 void br_netpoll_disable(struct net_bridge_port *p);
[all …]
Dbr_sysfs_if.c25 ssize_t (*show)(struct net_bridge_port *, char *);
26 int (*store)(struct net_bridge_port *, unsigned long);
38 static ssize_t show_##_name(struct net_bridge_port *p, char *buf) \
42 static int store_##_name(struct net_bridge_port *p, unsigned long v) \
49 static int store_flag(struct net_bridge_port *p, unsigned long v, in store_flag()
68 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
76 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
84 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
90 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
96 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
[all …]
Dbr_if.c66 void br_port_carrier_check(struct net_bridge_port *p) in br_port_carrier_check()
89 static void br_port_set_promisc(struct net_bridge_port *p) in br_port_set_promisc()
104 static void br_port_clear_promisc(struct net_bridge_port *p) in br_port_clear_promisc()
134 struct net_bridge_port *p; in br_manage_promisc()
168 struct net_bridge_port *p; in nbp_update_port_count()
181 static void nbp_delete_promisc(struct net_bridge_port *p) in nbp_delete_promisc()
196 struct net_bridge_port *p in release_nbp()
197 = container_of(kobj, struct net_bridge_port, kobj); in release_nbp()
208 static void destroy_nbp(struct net_bridge_port *p) in destroy_nbp()
221 struct net_bridge_port *p = in destroy_nbp_rcu()
[all …]
Dbr_stp.c33 void br_set_state(struct net_bridge_port *p, unsigned int state) in br_set_state()
55 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no) in br_get_port()
57 struct net_bridge_port *p; in br_get_port()
68 static int br_should_become_root_port(const struct net_bridge_port *p, in br_should_become_root_port()
72 struct net_bridge_port *rp; in br_should_become_root_port()
119 struct net_bridge_port *p) in br_root_port_block()
135 struct net_bridge_port *p; in br_root_selection()
176 void br_transmit_config(struct net_bridge_port *p) in br_transmit_config()
197 struct net_bridge_port *root in br_transmit_config()
217 static void br_record_config_information(struct net_bridge_port *p, in br_record_config_information()
[all …]
Dbr_forward.c25 static inline int should_deliver(const struct net_bridge_port *p, in should_deliver()
74 static void __br_forward(const struct net_bridge_port *to, in __br_forward()
117 static int deliver_clone(const struct net_bridge_port *prev, in deliver_clone()
141 void br_forward(const struct net_bridge_port *to, in br_forward()
157 static struct net_bridge_port *maybe_deliver( in maybe_deliver()
158 struct net_bridge_port *prev, struct net_bridge_port *p, in maybe_deliver()
182 struct net_bridge_port *prev = NULL; in br_flood()
183 struct net_bridge_port *p; in br_flood()
232 struct net_bridge_port *prev = NULL; in br_multicast_flood()
239 struct net_bridge_port *port, *lport, *rport; in br_multicast_flood()
[all …]
Dbr_private_stp.h46 static inline int br_is_designated_port(const struct net_bridge_port *p) in br_is_designated_port()
58 void br_received_config_bpdu(struct net_bridge_port *p,
60 void br_received_tcn_bpdu(struct net_bridge_port *p);
61 void br_transmit_config(struct net_bridge_port *p);
66 void br_send_config_bpdu(struct net_bridge_port *, struct br_config_bpdu *);
67 void br_send_tcn_bpdu(struct net_bridge_port *);
Dbr_stp_timer.c23 struct net_bridge_port *p; in br_is_designated_for_some_port()
52 struct net_bridge_port *p = (struct net_bridge_port *) arg; in br_message_age_timer_expired()
85 struct net_bridge_port *p = (struct net_bridge_port *) arg; in br_forward_delay_timer_expired()
134 struct net_bridge_port *p = (struct net_bridge_port *) arg; in br_hold_timer_expired()
160 void br_stp_port_timer_init(struct net_bridge_port *p) in br_stp_port_timer_init()
Dbr_stp_if.c37 void br_init_port(struct net_bridge_port *p) in br_init_port()
61 struct net_bridge_port *p; in br_stp_enable_bridge()
81 struct net_bridge_port *p; in br_stp_disable_bridge()
101 void br_stp_enable_port(struct net_bridge_port *p) in br_stp_enable_port()
109 void br_stp_disable_port(struct net_bridge_port *p) in br_stp_disable_port()
159 struct net_bridge_port *p; in br_stp_start()
198 struct net_bridge_port *p; in br_stp_stop()
238 struct net_bridge_port *p; in br_stp_change_bridge_id()
272 struct net_bridge_port *p; in br_stp_recalculate_bridge_id()
295 struct net_bridge_port *p; in br_stp_set_bridge_priority()
[all …]
Dbr_switchdev.c12 struct net_bridge_port *p; in br_switchdev_mark_get()
23 int nbp_switchdev_mark_set(struct net_bridge_port *p) in nbp_switchdev_mark_set()
45 void nbp_switchdev_frame_mark(const struct net_bridge_port *p, in nbp_switchdev_frame_mark()
52 bool nbp_switchdev_allowed_egress(const struct net_bridge_port *p, in nbp_switchdev_allowed_egress()
Dbr_multicast.c41 struct net_bridge_port *port);
43 struct net_bridge_port *port,
48 struct net_bridge_port *port,
536 struct net_bridge *br, struct net_bridge_port *port, in br_multicast_get_group()
610 struct net_bridge_port *port, struct br_ip *group) in br_multicast_new_group()
658 struct net_bridge_port *port, in br_multicast_new_port_group()
680 struct net_bridge_port *port, in br_multicast_add_group()
731 struct net_bridge_port *port, in br_ip4_multicast_add_group()
749 struct net_bridge_port *port, in br_ip6_multicast_add_group()
768 struct net_bridge_port *port = (void *)data; in br_multicast_router_expired()
[all …]
Dbr_fdb.c34 static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source,
97 struct net_bridge_port *p; in fdb_add_hw_addr()
124 struct net_bridge_port *p; in fdb_del_hw_addr()
164 const struct net_bridge_port *p, in fdb_delete_local()
170 struct net_bridge_port *op; in fdb_delete_local()
198 const struct net_bridge_port *p, in br_fdb_find_delete_local()
211 void br_fdb_changeaddr(struct net_bridge_port *p, const unsigned char *newaddr) in br_fdb_changeaddr()
345 const struct net_bridge_port *p, in br_fdb_delete_by_port()
400 struct net_bridge_port *port; in br_fdb_test_addr()
499 struct net_bridge_port *source, in fdb_create()
[all …]
Dbr_mdb.c22 struct net_bridge_port *p; in br_rports_fill_info()
101 struct net_bridge_port *port; in br_mdb_fill_info()
260 struct net_bridge_port *port;
271 struct net_bridge_port *port = data->port; in br_mdb_complete()
294 static void __br_mdb_notify(struct net_device *dev, struct net_bridge_port *p, in __br_mdb_notify()
349 void br_mdb_notify(struct net_device *dev, struct net_bridge_port *port, in br_mdb_notify()
407 void br_rtr_notify(struct net_device *dev, struct net_bridge_port *port, in br_rtr_notify()
507 static int br_mdb_add_group(struct net_bridge *br, struct net_bridge_port *port, in br_mdb_add_group()
550 struct net_bridge_port *p; in __br_mdb_add()
578 struct net_bridge_port *p; in br_mdb_add()
[all …]
Dbr_input.c74 u16 vid, struct net_bridge_port *p) in br_do_proxy_arp()
132 struct net_bridge_port *p = br_port_get_rcu(skb->dev); in br_handle_frame_finish()
223 struct net_bridge_port *p = br_port_get_rcu(skb->dev); in __br_handle_local_finish()
234 struct net_bridge_port *p = br_port_get_rcu(skb->dev); in br_handle_local_finish()
249 struct net_bridge_port *p; in br_handle_frame()
Dbr_stp_bpdu.c39 static void br_send_bpdu(struct net_bridge_port *p, in br_send_bpdu()
83 void br_send_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu) in br_send_config_bpdu()
128 void br_send_tcn_bpdu(struct net_bridge_port *p) in br_send_tcn_bpdu()
151 struct net_bridge_port *p; in br_stp_rcv()
Dbr_vlan.c206 struct net_bridge_port *p = NULL; in __vlan_add()
289 struct net_bridge_port *p = NULL; in __vlan_del()
511 bool br_should_learn(struct net_bridge_port *p, struct sk_buff *skb, u16 *vid) in br_should_learn()
700 struct net_bridge_port *p; in __br_vlan_set_proto()
785 struct net_bridge_port *p; in br_vlan_disable_default_pvid()
806 struct net_bridge_port *p; in __br_vlan_set_default_pvid()
942 int nbp_vlan_init(struct net_bridge_port *p) in nbp_vlan_init()
990 int nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags) in nbp_vlan_add()
1030 int nbp_vlan_delete(struct net_bridge_port *port, u16 vid) in nbp_vlan_delete()
1045 void nbp_vlan_flush(struct net_bridge_port *port) in nbp_vlan_flush()
Dbr_netlink.c98 struct net_bridge_port *p; in br_get_link_af_size_filtered()
162 const struct net_bridge_port *p) in br_port_fill_attrs()
342 struct net_bridge_port *port, in br_fill_ifinfo()
435 void br_ifinfo_notify(int event, struct net_bridge_port *port) in br_ifinfo_notify()
473 struct net_bridge_port *port = br_port_get_rtnl(dev); in br_getlink()
483 static int br_vlan_info(struct net_bridge *br, struct net_bridge_port *p, in br_vlan_info()
518 struct net_bridge_port *p, in br_afspec()
592 static int br_set_port_state(struct net_bridge_port *p, u8 state) in br_set_port_state()
614 static void br_set_port_flag(struct net_bridge_port *p, struct nlattr *tb[], in br_set_port_flag()
627 static int br_setport(struct net_bridge_port *p, struct nlattr *tb[]) in br_setport()
[all …]
Dbr_device.c248 struct net_bridge_port *p; in br_netpoll_cleanup()
254 static int __br_netpoll_enable(struct net_bridge_port *p) in __br_netpoll_enable()
273 int br_netpoll_enable(struct net_bridge_port *p) in br_netpoll_enable()
284 struct net_bridge_port *p; in br_netpoll_setup()
303 void br_netpoll_disable(struct net_bridge_port *p) in br_netpoll_disable()
Dbr.c35 struct net_bridge_port *p; in br_device_event()
129 struct net_bridge_port *p; in br_switchdev_event()
Dbr_ioctl.c44 struct net_bridge_port *p; in get_port_ifindices()
116 struct net_bridge_port *p = NULL; in old_dev_ioctl()
215 struct net_bridge_port *pt; in old_dev_ioctl()
Dbr_netfilter_hooks.c142 struct net_bridge_port *port; in bridge_parent()
474 struct net_bridge_port *p; in br_nf_pre_routing()
627 struct net_bridge_port *p; in br_nf_forward_arp()
/net/bridge/netfilter/
Dnft_meta_bridge.c28 const struct net_bridge_port *p; in nft_meta_bridge_get_eval()
Debtables.c130 const struct net_bridge_port *p; in ebt_basic_match()