Searched refs:node_db (Results 1 – 6 of 6) sorted by relevance
| /linux/net/hsr/ |
| H A D | hsr_framereg.c | 53 static struct hsr_node *find_node_by_addr_A(struct list_head *node_db, in hsr_addr_is_self() 58 list_for_each_entry_rcu(node, node_db, mac_list) { in hsr_addr_is_self() 68 bool hsr_is_node_in_db(struct list_head *node_db, 71 return !!find_node_by_addr_A(node_db, addr); in find_node_by_addr_A() 126 void hsr_del_nodes(struct list_head *node_db) in hsr_del_self_node() 131 list_for_each_entry_safe(node, tmp, node_db, mac_list) { in hsr_del_nodes() 150 /* Allocate an hsr_node and add it to node_db. 'addr' is the node's address_A. 153 struct list_head *node_db, 193 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node() 200 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node() 70 find_node_by_addr_A(struct list_head * node_db,const unsigned char addr[ETH_ALEN]) find_node_by_addr_A() argument 85 hsr_is_node_in_db(struct list_head * node_db,const unsigned char addr[ETH_ALEN]) hsr_is_node_in_db() argument 129 hsr_del_nodes(struct list_head * node_db) hsr_del_nodes() argument 156 hsr_add_node(struct hsr_priv * hsr,struct list_head * node_db,unsigned char addr[],u16 seq_out,bool san,enum hsr_port_type rx_port) hsr_add_node() argument 217 hsr_get_node(struct hsr_port * port,struct list_head * node_db,struct sk_buff * skb,bool is_sup,enum hsr_port_type rx_port) hsr_get_node() argument 296 struct list_head *node_db; hsr_handle_sup_frame() local [all...] |
| H A D | hsr_framereg.h | 33 void hsr_del_nodes(struct list_head *node_db); 34 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db, 72 bool hsr_is_node_in_db(struct list_head *node_db,
|
| H A D | hsr_main.h | 192 struct list_head node_db; /* Known HSR nodes */ member
|
| H A D | hsr_forward.c | 484 hsr_is_node_in_db(&port->hsr->node_db, in hsr_drop_frame() 696 n_db = &hsr->node_db; in fill_frame_info()
|
| H A D | hsr_netlink.c | 145 hsr_del_nodes(&hsr->node_db); in hsr_dellink()
|
| H A D | hsr_device.c | 728 INIT_LIST_HEAD(&hsr->node_db); in hsr_dev_finalize()
|