/kernel/linux/linux-5.10/net/bridge/ |
D | br_private.h | 142 struct net_bridge *br; 239 struct net_bridge *br; 271 struct net_bridge *br; 284 struct net_bridge *br; 383 struct net_bridge { struct 534 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge() 628 static inline int br_opt_get(const struct net_bridge *br, in br_opt_get() 634 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, 636 int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt); 637 int br_boolopt_multi_toggle(struct net_bridge *br, [all …]
|
D | br_private_mrp.h | 50 int br_mrp_add(struct net_bridge *br, struct br_mrp_instance *instance); 51 int br_mrp_del(struct net_bridge *br, struct br_mrp_instance *instance); 56 int br_mrp_set_ring_state(struct net_bridge *br, 58 int br_mrp_set_ring_role(struct net_bridge *br, struct br_mrp_ring_role *role); 59 int br_mrp_start_test(struct net_bridge *br, struct br_mrp_start_test *test); 60 int br_mrp_set_in_state(struct net_bridge *br, struct br_mrp_in_state *state); 61 int br_mrp_set_in_role(struct net_bridge *br, struct br_mrp_in_role *role); 62 int br_mrp_start_in_test(struct net_bridge *br, 66 int br_mrp_switchdev_add(struct net_bridge *br, struct br_mrp *mrp); 67 int br_mrp_switchdev_del(struct net_bridge *br, struct br_mrp *mrp); [all …]
|
D | br_sysfs_br.c | 22 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd))) 29 int (*set)(struct net_bridge *, unsigned long)) in store_bridge_parm() argument 31 struct net_bridge *br = to_bridge(d); in store_bridge_parm() 58 struct net_bridge *br = to_bridge(d); in forward_delay_show() 102 struct net_bridge *br = to_bridge(d); in ageing_time_show() 106 static int set_ageing_time(struct net_bridge *br, unsigned long val) in set_ageing_time() 122 struct net_bridge *br = to_bridge(d); in stp_state_show() 127 static int set_stp_state(struct net_bridge *br, unsigned long val) in set_stp_state() 144 struct net_bridge *br = to_bridge(d); in group_fwd_mask_show() 148 static int set_group_fwd_mask(struct net_bridge *br, unsigned long val) in set_group_fwd_mask() [all …]
|
D | br_private_stp.h | 50 void br_become_root_bridge(struct net_bridge *br); 51 void br_config_bpdu_generation(struct net_bridge *); 52 void br_configuration_update(struct net_bridge *); 53 void br_port_state_selection(struct net_bridge *); 58 void br_transmit_tcn(struct net_bridge *br); 59 void br_topology_change_detection(struct net_bridge *br); 60 void __br_set_topology_change(struct net_bridge *br, unsigned char val);
|
D | br_stp.c | 68 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no) in br_get_port() 85 struct net_bridge *br; in br_should_become_root_port() 132 static void br_root_port_block(const struct net_bridge *br, in br_root_port_block() 147 static void br_root_selection(struct net_bridge *br) in br_root_selection() 175 void br_become_root_bridge(struct net_bridge *br) in br_become_root_bridge() 193 struct net_bridge *br; in br_transmit_config() 245 static void br_record_config_timeout_values(struct net_bridge *br, in br_record_config_timeout_values() 255 void br_transmit_tcn(struct net_bridge *br) in br_transmit_tcn() 270 struct net_bridge *br; in br_should_become_designated_port() 298 static void br_designated_port_selection(struct net_bridge *br) in br_designated_port_selection() [all …]
|
D | br_fdb.c | 35 static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source, 37 static void fdb_notify(struct net_bridge *br, 57 int br_fdb_hash_init(struct net_bridge *br) in br_fdb_hash_init() 62 void br_fdb_hash_fini(struct net_bridge *br) in br_fdb_hash_fini() 70 static inline unsigned long hold_time(const struct net_bridge *br) in hold_time() 75 static inline int has_expired(const struct net_bridge *br, in has_expired() 105 static struct net_bridge_fdb_entry *br_fdb_find(struct net_bridge *br, in br_fdb_find() 126 struct net_bridge *br; in br_fdb_find_port() 144 struct net_bridge_fdb_entry *br_fdb_find_rcu(struct net_bridge *br, in br_fdb_find_rcu() 156 static void fdb_add_hw_addr(struct net_bridge *br, const unsigned char *addr) in fdb_add_hw_addr() [all …]
|
D | br_multicast.c | 51 static void br_multicast_start_querier(struct net_bridge *br, 53 static void br_multicast_add_router(struct net_bridge *br, 55 static void br_ip4_multicast_leave_group(struct net_bridge *br, 64 static void br_ip6_multicast_leave_group(struct net_bridge *br, 70 __br_multicast_add_group(struct net_bridge *br, 77 static void br_multicast_find_del_pg(struct net_bridge *br, 81 br_sg_port_find(struct net_bridge *br, in br_sg_port_find() 90 static struct net_bridge_mdb_entry *br_mdb_ip_get_rcu(struct net_bridge *br, in br_mdb_ip_get_rcu() 96 struct net_bridge_mdb_entry *br_mdb_ip_get(struct net_bridge *br, in br_mdb_ip_get() 110 static struct net_bridge_mdb_entry *br_mdb_ip4_get(struct net_bridge *br, in br_mdb_ip4_get() [all …]
|
D | br_device.c | 30 struct net_bridge *br = netdev_priv(dev); in br_dev_xmit() 119 struct net_bridge *br = netdev_priv(dev); in br_dev_init() 161 struct net_bridge *br = netdev_priv(dev); in br_dev_uninit() 173 struct net_bridge *br = netdev_priv(dev); in br_dev_open() 198 struct net_bridge *br = netdev_priv(dev); in br_dev_stop() 214 struct net_bridge *br = netdev_priv(dev); in br_get_stats64() 222 struct net_bridge *br = netdev_priv(dev); in br_change_mtu() 239 struct net_bridge *br = netdev_priv(dev); in br_set_mac_address() 272 struct net_bridge *br = netdev_priv(dev); in br_get_link_ksettings() 303 struct net_bridge *br = netdev_priv(dev); in br_fix_features() [all …]
|
D | br_stp_timer.c | 17 static int br_is_designated_for_some_port(const struct net_bridge *br) in br_is_designated_for_some_port() 32 struct net_bridge *br = from_timer(br, t, hello_timer); in br_hello_timer_expired() 49 struct net_bridge *br = p->br; in br_message_age_timer_expired() 82 struct net_bridge *br = p->br; in br_forward_delay_timer_expired() 105 struct net_bridge *br = from_timer(br, t, tcn_timer); in br_tcn_timer_expired() 119 struct net_bridge *br = from_timer(br, t, topology_change_timer); in br_topology_change_timer_expired() 141 void br_stp_timer_init(struct net_bridge *br) in br_stp_timer_init()
|
D | br_mrp_switchdev.c | 7 int br_mrp_switchdev_add(struct net_bridge *br, struct br_mrp *mrp) in br_mrp_switchdev_add() 27 int br_mrp_switchdev_del(struct net_bridge *br, struct br_mrp *mrp) in br_mrp_switchdev_del() 46 int br_mrp_switchdev_set_ring_role(struct net_bridge *br, in br_mrp_switchdev_set_ring_role() 66 int br_mrp_switchdev_send_ring_test(struct net_bridge *br, in br_mrp_switchdev_send_ring_test() 90 int br_mrp_switchdev_set_ring_state(struct net_bridge *br, in br_mrp_switchdev_set_ring_state() 110 int br_mrp_switchdev_set_in_role(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_set_in_role() 132 int br_mrp_switchdev_set_in_state(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_set_in_state() 151 int br_mrp_switchdev_send_in_test(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_send_in_test()
|
D | br_if.c | 67 struct net_bridge *br = p->br; in br_port_carrier_check() 135 void br_manage_promisc(struct net_bridge *br) in br_manage_promisc() 221 static void nbp_update_port_count(struct net_bridge *br) in nbp_update_port_count() 289 static unsigned get_max_headroom(struct net_bridge *br) in get_max_headroom() 304 static void update_headroom(struct net_bridge *br, int new_hr) in update_headroom() 325 struct net_bridge *br = p->br; in del_nbp() 371 struct net_bridge *br = netdev_priv(dev); in br_dev_delete() 389 static int find_portno(struct net_bridge *br) in find_portno() 410 static struct net_bridge_port *new_nbp(struct net_bridge *br, in new_nbp() 449 dev = alloc_netdev(sizeof(struct net_bridge), name, NET_NAME_UNKNOWN, in br_add_bridge() [all …]
|
D | br_stp_if.c | 49 void br_stp_enable_bridge(struct net_bridge *br) in br_stp_enable_bridge() 69 void br_stp_disable_bridge(struct net_bridge *br) in br_stp_disable_bridge() 101 struct net_bridge *br = p->br; in br_stp_disable_port() 128 static int br_stp_call_user(struct net_bridge *br, char *arg) in br_stp_call_user() 148 static void br_stp_start(struct net_bridge *br) in br_stp_start() 181 static void br_stp_stop(struct net_bridge *br) in br_stp_stop() 199 int br_stp_set_enabled(struct net_bridge *br, unsigned long val, in br_stp_set_enabled() 222 void br_stp_change_bridge_id(struct net_bridge *br, const unsigned char *addr) in br_stp_change_bridge_id() 256 bool br_stp_recalculate_bridge_id(struct net_bridge *br) in br_stp_recalculate_bridge_id() 282 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio) in br_stp_set_bridge_priority()
|
D | br_vlan.c | 86 static int __vlan_vid_add(struct net_device *dev, struct net_bridge *br, in __vlan_vid_add() 129 static int __vlan_vid_del(struct net_device *dev, struct net_bridge *br, in __vlan_vid_del() 147 br_vlan_get_master(struct net_bridge *br, u16 vid, in br_vlan_get_master() 230 struct net_bridge *br; in __vlan_add() 394 static void __vlan_flush(const struct net_bridge *br, in __vlan_flush() 421 struct sk_buff *br_handle_vlan(struct net_bridge *br, in br_handle_vlan() 474 static bool __allowed_ingress(const struct net_bridge *br, in __allowed_ingress() 577 bool br_allowed_ingress(const struct net_bridge *br, in br_allowed_ingress() 616 struct net_bridge *br = p->br; in br_should_learn() 646 static int br_vlan_add_existing(struct net_bridge *br, in br_vlan_add_existing() [all …]
|
D | br.c | 34 struct net_bridge *br; in br_device_event() 155 struct net_bridge *br; in br_switchdev_event() 214 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, in br_boolopt_toggle() 230 int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt) in br_boolopt_get() 244 int br_boolopt_multi_toggle(struct net_bridge *br, in br_boolopt_multi_toggle() 266 void br_boolopt_multi_get(const struct net_bridge *br, in br_boolopt_multi_get() 280 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) in br_opt_toggle()
|
D | br_mrp.c | 29 static struct net_bridge_port *br_mrp_get_port(struct net_bridge *br, in br_mrp_get_port() 45 static struct br_mrp *br_mrp_find_id(struct net_bridge *br, u32 ring_id) in br_mrp_find_id() 61 static struct br_mrp *br_mrp_find_in_id(struct net_bridge *br, u32 in_id) in br_mrp_find_in_id() 77 static bool br_mrp_unique_ifindex(struct net_bridge *br, u32 ifindex) in br_mrp_unique_ifindex() 101 static struct br_mrp *br_mrp_find_port(struct net_bridge *br, in br_mrp_find_port() 394 static void br_mrp_del_impl(struct net_bridge *br, struct br_mrp *mrp) in br_mrp_del_impl() 453 int br_mrp_add(struct net_bridge *br, struct br_mrp_instance *instance) in br_mrp_add() 515 void br_mrp_port_del(struct net_bridge *br, struct net_bridge_port *p) in br_mrp_port_del() 529 int br_mrp_del(struct net_bridge *br, struct br_mrp_instance *instance) in br_mrp_del() 602 int br_mrp_set_ring_state(struct net_bridge *br, in br_mrp_set_ring_state() [all …]
|
D | br_mrp_netlink.c | 31 static int br_mrp_instance_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_instance_parse() 134 static int br_mrp_ring_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_state_parse() 168 static int br_mrp_ring_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_role_parse() 205 static int br_mrp_start_test_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_start_test_parse() 248 static int br_mrp_in_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_state_parse() 284 static int br_mrp_in_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_role_parse() 324 static int br_mrp_start_in_test_parse(struct net_bridge *br, in br_mrp_start_in_test_parse() 356 int br_mrp_parse(struct net_bridge *br, struct net_bridge_port *p, in br_mrp_parse() 447 int br_mrp_fill_info(struct sk_buff *skb, struct net_bridge *br) in br_mrp_fill_info()
|
D | br_ioctl.c | 38 static void get_port_ifindices(struct net_bridge *br, int *ifindices, int num) in get_port_ifindices() 55 static int get_fdb_entries(struct net_bridge *br, void __user *userbuf, in get_fdb_entries() 83 static int add_del_if(struct net_bridge *br, int ifindex, int isadd) in add_del_if() 111 struct net_bridge *br = netdev_priv(dev); in old_dev_ioctl() 383 struct net_bridge *br = netdev_priv(dev); in br_dev_ioctl()
|
D | br_netlink.c | 96 struct net_bridge *br; in br_get_link_af_size_filtered() 385 struct net_bridge *br; in br_fill_ifinfo() 491 void br_ifinfo_notify(int event, const struct net_bridge *br, in br_ifinfo_notify() 549 static int br_vlan_info(struct net_bridge *br, struct net_bridge_port *p, in br_vlan_info() 590 int br_process_vlan_info(struct net_bridge *br, in br_process_vlan_info() 660 static int br_afspec(struct net_bridge *br, in br_afspec() 910 struct net_bridge *br = (struct net_bridge *)netdev_priv(dev); in br_setlink() 968 struct net_bridge *br = (struct net_bridge *)netdev_priv(dev); in br_dellink() 1034 struct net_bridge *br = netdev_priv(brdev); in br_port_slave_changelink() 1103 struct net_bridge *br = netdev_priv(brdev); in br_changelink() [all …]
|
D | br_vlan_options.c | 67 struct net_bridge *br; in br_vlan_modify_state() 160 static int br_vlan_process_one_opts(const struct net_bridge *br, in br_vlan_process_one_opts() 187 int br_vlan_process_options(const struct net_bridge *br, in br_vlan_process_options()
|
D | br_arp_nd_proxy.c | 27 void br_recalculate_neigh_suppress_enabled(struct net_bridge *br) in br_recalculate_neigh_suppress_enabled() 43 static void br_arp_send(struct net_bridge *br, struct net_bridge_port *p, in br_arp_send() 125 void br_do_proxy_suppress_arp(struct sk_buff *skb, struct net_bridge *br, in br_do_proxy_suppress_arp() 249 static void br_nd_send(struct net_bridge *br, struct net_bridge_port *p, in br_nd_send() 399 void br_do_suppress_nd(struct sk_buff *skb, struct net_bridge *br, in br_do_suppress_nd()
|
D | br_mdb.c | 22 struct net_bridge *br = netdev_priv(dev); in br_rports_fill_info() 236 struct net_bridge *br = netdev_priv(dev); in br_mdb_fill_info() 482 struct net_bridge *br = port->br; in br_mdb_complete() 824 static int br_mdb_add_group(struct net_bridge *br, struct net_bridge_port *port, in br_mdb_add_group() 920 static int __br_mdb_add(struct net *net, struct net_bridge *br, in __br_mdb_add() 945 struct net_bridge *br; in br_mdb_add() 1007 static int __br_mdb_del(struct net_bridge *br, struct br_mdb_entry *entry, in __br_mdb_del() 1065 struct net_bridge *br; in br_mdb_del()
|
D | br_nf_core.c | 72 void br_netfilter_rtable_init(struct net_bridge *br) in br_netfilter_rtable_init()
|
D | br_private_tunnel.h | 21 int br_process_vlan_tunnel_info(const struct net_bridge *br,
|
D | br_forward.c | 191 void br_flood(struct net_bridge *br, struct sk_buff *skb, in br_flood() 274 struct net_bridge *br = netdev_priv(dev); in br_multicast_flood()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | bridge.h | 44 TP_PROTO(struct net_bridge *br, struct net_bridge_port *p, 71 TP_PROTO(struct net_bridge *br, struct net_bridge_fdb_entry *f), 97 TP_PROTO(struct net_bridge *br, struct net_bridge_port *source,
|