MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / get_node_by_id

Function get_node_by_id

modules/clusterer/node_info.h:206–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static inline node_info_t *get_node_by_id(cluster_info_t *cluster, int node_id)
207{
208 node_info_t *node;
209
210 for (node = cluster->node_list; node; node = node->next)
211 if (node->node_id == node_id)
212 return node;
213
214 return NULL;
215}
216
217static inline int validate_update(int seq_no, int msg_seq_no, int timestamp,
218 int msg_timestamp, int val_type, int node_id)

Callers 13

add_node_infoFunction · 0.85
api_get_next_hopFunction · 0.85
cluster_remove_nodeFunction · 0.85
cl_set_stateFunction · 0.85
clusterer_send_msgFunction · 0.85
handle_cap_updateFunction · 0.85
handle_remove_nodeFunction · 0.85
bin_rcv_cl_extra_packetsFunction · 0.85
bin_rcv_cl_packetsFunction · 0.85
bin_rcv_mod_packetsFunction · 0.85
flood_messageFunction · 0.85
handle_full_top_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected