Lines Matching refs:tipc_node
108 struct tipc_node { struct
167 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
170 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
172 static void node_lost_contact(struct tipc_node *n, struct sk_buff_head *inputq);
173 static void tipc_node_delete(struct tipc_node *node);
175 static void tipc_node_fsm_evt(struct tipc_node *n, int evt);
176 static struct tipc_node *tipc_node_find(struct net *net, u32 addr);
177 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id);
178 static bool node_is_up(struct tipc_node *n);
179 static void tipc_node_delete_from_list(struct tipc_node *node);
188 static struct tipc_link *node_active_link(struct tipc_node *n, int sel) in node_active_link()
200 struct tipc_node *n; in tipc_node_get_mtu()
226 struct tipc_node *n; in tipc_node_get_id()
246 struct tipc_node *n; in tipc_node_get_capabilities()
257 u32 tipc_node_get_addr(struct tipc_node *node) in tipc_node_get_addr()
262 char *tipc_node_get_id_str(struct tipc_node *node) in tipc_node_get_id_str()
272 struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n) in tipc_node_crypto_rx()
279 return container_of(pos, struct tipc_node, list)->crypto_rx; in tipc_node_crypto_rx_by_list()
284 struct tipc_node *n; in tipc_node_crypto_rx_by_addr()
293 struct tipc_node *n = container_of(rp, struct tipc_node, rcu); in tipc_node_free()
303 struct tipc_node *n = container_of(kref, struct tipc_node, kref); in tipc_node_kref_release()
309 void tipc_node_put(struct tipc_node *node) in tipc_node_put()
314 void tipc_node_get(struct tipc_node *node) in tipc_node_get()
322 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
325 struct tipc_node *node; in tipc_node_find()
344 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
347 struct tipc_node *n; in tipc_node_find_by_id()
364 static void tipc_node_read_lock(struct tipc_node *n) in tipc_node_read_lock()
369 static void tipc_node_read_unlock(struct tipc_node *n) in tipc_node_read_unlock()
374 static void tipc_node_write_lock(struct tipc_node *n) in tipc_node_write_lock()
379 static void tipc_node_write_unlock_fast(struct tipc_node *n) in tipc_node_write_unlock_fast()
384 static void tipc_node_write_unlock(struct tipc_node *n) in tipc_node_write_unlock()
426 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes) in tipc_node_assign_peer_net()
454 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id, in tipc_node_create()
459 struct tipc_node *n, *temp_node; in tipc_node_create()
580 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l) in tipc_node_calculate_timer()
593 static void tipc_node_delete_from_list(struct tipc_node *node) in tipc_node_delete_from_list()
603 static void tipc_node_delete(struct tipc_node *node) in tipc_node_delete()
615 struct tipc_node *node, *t_node; in tipc_node_stop()
625 struct tipc_node *n; in tipc_node_subscribe()
643 struct tipc_node *n; in tipc_node_unsubscribe()
661 struct tipc_node *node; in tipc_node_add_conn()
692 struct tipc_node *node; in tipc_node_remove_conn()
713 static void tipc_node_clear_links(struct tipc_node *node) in tipc_node_clear_links()
731 static bool tipc_node_cleanup(struct tipc_node *peer) in tipc_node_cleanup()
733 struct tipc_node *temp_node; in tipc_node_cleanup()
770 struct tipc_node *n = from_timer(n, t, timer); in tipc_node_timeout()
820 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, in __tipc_node_link_up()
886 static void tipc_node_link_up(struct tipc_node *n, int bearer_id, in tipc_node_link_up()
918 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l, in tipc_node_link_failover()
944 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, in __tipc_node_link_down()
1018 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) in tipc_node_link_down()
1053 static bool node_is_up(struct tipc_node *n) in node_is_up()
1060 struct tipc_node *n; in tipc_node_is_up()
1076 struct tipc_node *n; in tipc_node_suggest_addr()
1092 struct tipc_node *n; in tipc_node_try_addr()
1130 struct tipc_node *n; in tipc_node_check_dest()
1284 struct tipc_node *n; in tipc_node_delete_links()
1293 static void tipc_node_reset_links(struct tipc_node *n) in tipc_node_reset_links()
1308 static void tipc_node_fsm_evt(struct tipc_node *n, int evt) in tipc_node_fsm_evt()
1484 static void node_lost_contact(struct tipc_node *n, in node_lost_contact()
1539 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
1560 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) in __tipc_nl_add_node()
1657 struct tipc_node *n; in tipc_node_xmit()
1750 struct tipc_node *n; in tipc_node_broadcast()
1780 static void tipc_node_mcast_rcv(struct tipc_node *n) in tipc_node_mcast_rcv()
1793 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr, in tipc_node_bc_sync_rcv()
1838 struct tipc_node *n; in tipc_node_bc_rcv()
1888 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb, in tipc_node_check_state()
2046 struct tipc_node *n; in tipc_rcv()
2169 struct tipc_node *n; in tipc_node_apply_property()
2201 struct tipc_node *peer, *temp_node; in tipc_nl_peer_rm()
2263 struct tipc_node *node; in tipc_nl_node_dump()
2327 static struct tipc_node *tipc_node_find_by_name(struct net *net, in tipc_node_find_by_name()
2333 struct tipc_node *n; in tipc_node_find_by_name()
2334 struct tipc_node *found_node = NULL; in tipc_node_find_by_name()
2365 struct tipc_node *node; in tipc_nl_node_set_link()
2474 struct tipc_node *node; in tipc_nl_node_get_link()
2510 struct tipc_node *node; in tipc_nl_node_reset_link_stats()
2573 struct tipc_node *node, u32 *prev_link, in __tipc_nl_add_node_links()
2609 struct tipc_node *node; in tipc_nl_node_dump_link()
2902 struct tipc_node *n = NULL; in __tipc_nl_node_set_key()
2994 struct tipc_node *n; in __tipc_nl_node_flush_key()
3025 int tipc_node_dump(struct tipc_node *n, bool more, char *buf) in tipc_node_dump()
3076 struct tipc_node *n; in tipc_node_pre_cleanup_net()