/net/bridge/ |
D | br_private.h | 76 struct net_bridge_port __rcu *port; 105 struct net_bridge_port *port; 140 struct net_bridge_port *dst; 154 struct net_bridge_port *port; 185 struct net_bridge_port struct 241 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu() argument 246 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl() 422 static inline void br_netpoll_send_skb(const struct net_bridge_port *p, in br_netpoll_send_skb() 431 int br_netpoll_enable(struct net_bridge_port *p); 432 void br_netpoll_disable(struct net_bridge_port *p); [all …]
|
D | br_sysfs_if.c | 25 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() 69 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost() 77 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority() 85 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root() 91 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge() 97 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port() [all …]
|
D | br_forward.c | 24 static int deliver_clone(const struct net_bridge_port *prev, 26 void (*__packet_hook)(const struct net_bridge_port *p, 30 static inline int should_deliver(const struct net_bridge_port *p, in should_deliver() 79 static void __br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in __br_deliver() 104 static void __br_forward(const struct net_bridge_port *to, struct sk_buff *skb) in __br_forward() 129 void br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) in br_deliver() 141 void br_forward(const struct net_bridge_port *to, struct sk_buff *skb, struct sk_buff *skb0) in br_forward() 155 static int deliver_clone(const struct net_bridge_port *prev, in deliver_clone() 157 void (*__packet_hook)(const struct net_bridge_port *p, in deliver_clone() 172 static struct net_bridge_port *maybe_deliver( in maybe_deliver() [all …]
|
D | br_if.c | 66 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 …]
|
D | br_stp.c | 33 void br_log_state(const struct net_bridge_port *p) in br_log_state() 40 void br_set_state(struct net_bridge_port *p, unsigned int state) in br_set_state() 57 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no) in br_get_port() 59 struct net_bridge_port *p; in br_get_port() 70 static int br_should_become_root_port(const struct net_bridge_port *p, in br_should_become_root_port() 74 struct net_bridge_port *rp; in br_should_become_root_port() 121 struct net_bridge_port *p) in br_root_port_block() 138 struct net_bridge_port *p; in br_root_selection() 179 void br_transmit_config(struct net_bridge_port *p) in br_transmit_config() 200 struct net_bridge_port *root in br_transmit_config() [all …]
|
D | br_private_stp.h | 46 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 *);
|
D | br_stp_if.c | 37 void br_init_port(struct net_bridge_port *p) in br_init_port() 60 struct net_bridge_port *p; in br_stp_enable_bridge() 80 struct net_bridge_port *p; in br_stp_disable_bridge() 100 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() 143 struct net_bridge_port *p; in br_stp_start() 182 struct net_bridge_port *p; in br_stp_stop() 220 struct net_bridge_port *p; in br_stp_change_bridge_id() 254 struct net_bridge_port *p; in br_stp_recalculate_bridge_id() 277 struct net_bridge_port *p; in br_stp_set_bridge_priority() [all …]
|
D | br_stp_timer.c | 23 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() 135 struct net_bridge_port *p = (struct net_bridge_port *) arg; in br_hold_timer_expired() 161 void br_stp_port_timer_init(struct net_bridge_port *p) in br_stp_port_timer_init()
|
D | br_multicast.c | 41 struct net_bridge_port *port); 43 struct net_bridge_port *port, 48 struct net_bridge_port *port, 530 struct net_bridge *br, struct net_bridge_port *port, in br_multicast_get_group() 604 struct net_bridge_port *port, struct br_ip *group) in br_multicast_new_group() 652 struct net_bridge_port *port, in br_multicast_new_port_group() 674 struct net_bridge_port *port, in br_multicast_add_group() 725 struct net_bridge_port *port, in br_ip4_multicast_add_group() 743 struct net_bridge_port *port, in br_ip6_multicast_add_group() 762 struct net_bridge_port *port = (void *)data; in br_multicast_router_expired() [all …]
|
D | br_fdb.c | 34 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() 163 const struct net_bridge_port *p, in fdb_delete_local() 169 struct net_bridge_port *op; in fdb_delete_local() 197 const struct net_bridge_port *p, in br_fdb_find_delete_local() 210 void br_fdb_changeaddr(struct net_bridge_port *p, const unsigned char *newaddr) in br_fdb_changeaddr() 344 const struct net_bridge_port *p, in br_fdb_delete_by_port() 399 struct net_bridge_port *port; in br_fdb_test_addr() 498 struct net_bridge_port *source, in fdb_create() [all …]
|
D | br_vlan.c | 193 struct net_bridge_port *p = NULL; in __vlan_add() 277 struct net_bridge_port *p = NULL; in __vlan_del() 478 bool br_should_learn(struct net_bridge_port *p, struct sk_buff *skb, u16 *vid) in br_should_learn() 659 struct net_bridge_port *p; in __br_vlan_set_proto() 738 struct net_bridge_port *p; in br_vlan_disable_default_pvid() 759 struct net_bridge_port *p; in __br_vlan_set_default_pvid() 899 int nbp_vlan_init(struct net_bridge_port *p) in nbp_vlan_init() 936 int nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags) in nbp_vlan_add() 965 int nbp_vlan_delete(struct net_bridge_port *port, u16 vid) in nbp_vlan_delete() 980 void nbp_vlan_flush(struct net_bridge_port *port) in nbp_vlan_flush()
|
D | br_stp_bpdu.c | 39 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() 150 struct net_bridge_port *p; in br_stp_rcv()
|
D | br_mdb.c | 21 struct net_bridge_port *p; in br_rports_fill_info() 67 struct net_bridge_port *port; in br_mdb_fill_info() 233 void br_mdb_notify(struct net_device *dev, struct net_bridge_port *port, in br_mdb_notify() 291 void br_rtr_notify(struct net_device *dev, struct net_bridge_port *port, in br_rtr_notify() 391 static int br_mdb_add_group(struct net_bridge *br, struct net_bridge_port *port, in br_mdb_add_group() 434 struct net_bridge_port *p; in __br_mdb_add() 470 struct net_bridge_port *p; in br_mdb_add() 572 struct net_bridge_port *p; in br_mdb_del()
|
D | br_device.c | 244 struct net_bridge_port *p; in br_netpoll_cleanup() 250 static int __br_netpoll_enable(struct net_bridge_port *p) in __br_netpoll_enable() 269 int br_netpoll_enable(struct net_bridge_port *p) in br_netpoll_enable() 280 struct net_bridge_port *p; in br_netpoll_setup() 299 void br_netpoll_disable(struct net_bridge_port *p) in br_netpoll_disable()
|
D | br_netlink.c | 98 struct net_bridge_port *p; in br_get_link_af_size_filtered() 162 const struct net_bridge_port *p) in br_port_fill_attrs() 334 struct net_bridge_port *port, in br_fill_ifinfo() 427 void br_ifinfo_notify(int event, struct net_bridge_port *port) in br_ifinfo_notify() 465 struct net_bridge_port *port = br_port_get_rtnl(dev); in br_getlink() 475 static int br_vlan_info(struct net_bridge *br, struct net_bridge_port *p, in br_vlan_info() 510 struct net_bridge_port *p, in br_afspec() 584 static int br_set_port_state(struct net_bridge_port *p, u8 state) in br_set_port_state() 607 static void br_set_port_flag(struct net_bridge_port *p, struct nlattr *tb[], in br_set_port_flag() 620 static int br_setport(struct net_bridge_port *p, struct nlattr *tb[]) in br_setport() [all …]
|
D | br_input.c | 71 u16 vid, struct net_bridge_port *p) in br_do_proxy_arp() 130 struct net_bridge_port *p = br_port_get_rcu(skb->dev); in br_handle_frame_finish() 217 struct net_bridge_port *p = br_port_get_rcu(skb->dev); in br_handle_local_finish() 232 struct net_bridge_port *p; in br_handle_frame()
|
D | br_ioctl.c | 44 struct net_bridge_port *p; in get_port_ifindices() 209 struct net_bridge_port *pt; in old_dev_ioctl() 255 struct net_bridge_port *p; in old_dev_ioctl() 272 struct net_bridge_port *p; in old_dev_ioctl()
|
D | br.c | 35 struct net_bridge_port *p; in br_device_event() 129 struct net_bridge_port *p; in br_switchdev_event()
|
D | br_netfilter_hooks.c | 134 struct net_bridge_port *port; in bridge_parent() 469 struct net_bridge_port *p; in br_nf_pre_routing() 623 struct net_bridge_port *p; in br_nf_forward_arp()
|
/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 28 const struct net_bridge_port *p; in nft_meta_bridge_get_eval()
|
D | ebtables.c | 132 const struct net_bridge_port *p; in ebt_basic_match()
|