Lines Matching refs:addr
41 #include "addr.h"
47 * @addr: network address of node
72 u32 addr;
100 struct tipc_node *tipc_node_create(u32 addr);
109 struct tipc_node *tipc_node_select_next_hop(u32 addr, u32 selector);
116 static inline struct tipc_node *tipc_node_find(u32 addr)
118 if (likely(in_own_cluster(addr)))
119 return tipc_local_nodes[tipc_node(addr)];
120 else if (tipc_addr_domain_valid(addr)) {
121 struct cluster *c_ptr = tipc_cltr_find(addr);
124 return c_ptr->nodes[tipc_node(addr)];
129 static inline struct tipc_node *tipc_node_select(u32 addr, u32 selector)
131 if (likely(in_own_cluster(addr)))
132 return tipc_local_nodes[tipc_node(addr)];
133 return tipc_node_select_next_hop(addr, selector);