tipc: Add monitoring of number of nodes discovered by bearer
Augments TIPC's discovery object to track the number of neighboring nodes having an active link to the associated bearer. This means tipc_disc_update_link_req() becomes either one of: tipc_disc_add_dest() or: tipc_disc_remove_dest() depending on the code flow direction of things. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
committed by
Paul Gortmaker
parent
691a620759
commit
1209966cd5
@@ -42,7 +42,8 @@ struct link_req;
|
||||
int tipc_disc_create(struct tipc_bearer *b_ptr, struct tipc_media_addr *dest,
|
||||
u32 dest_domain);
|
||||
void tipc_disc_delete(struct link_req *req);
|
||||
void tipc_disc_update_link_req(struct link_req *req);
|
||||
void tipc_disc_add_dest(struct link_req *req);
|
||||
void tipc_disc_remove_dest(struct link_req *req);
|
||||
void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user