Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | tipc_link_req |
Macros | |
#define | TIPC_LINK_REQ_INIT 125 /* min delay during bearer start up */ |
#define | TIPC_LINK_REQ_FAST 1000 /* max delay if bearer has no links */ |
#define | TIPC_LINK_REQ_SLOW 60000 /* max delay if bearer has links */ |
#define | TIPC_LINK_REQ_INACTIVE 0xffffffff /* indicates no timer in use */ |
Functions | |
void | tipc_disc_recv_msg (struct sk_buff *buf, struct tipc_bearer *b_ptr) |
void | tipc_disc_add_dest (struct tipc_link_req *req) |
void | tipc_disc_remove_dest (struct tipc_link_req *req) |
int | tipc_disc_create (struct tipc_bearer *b_ptr, struct tipc_media_addr *dest, u32 dest_domain) |
void | tipc_disc_delete (struct tipc_link_req *req) |
Definition at line 42 of file discover.c.
#define TIPC_LINK_REQ_INACTIVE 0xffffffff /* indicates no timer in use */ |
Definition at line 44 of file discover.c.
Definition at line 41 of file discover.c.
Definition at line 43 of file discover.c.
void tipc_disc_add_dest | ( | struct tipc_link_req * | req | ) |
tipc_disc_add_dest - increment set of discovered nodes : ptr to link request structure
Definition at line 276 of file discover.c.
int tipc_disc_create | ( | struct tipc_bearer * | b_ptr, |
struct tipc_media_addr * | dest, | ||
u32 | dest_domain | ||
) |
tipc_disc_create - create object to send periodic link setup requests : ptr to bearer issuing requests : destination address for request messages : network domain to which links can be established
Returns 0 if successful, otherwise -errno.
Definition at line 349 of file discover.c.
void tipc_disc_delete | ( | struct tipc_link_req * | req | ) |
tipc_disc_delete - destroy object sending periodic link setup requests : ptr to link request structure
Definition at line 380 of file discover.c.
void tipc_disc_recv_msg | ( | struct sk_buff * | buf, |
struct tipc_bearer * | b_ptr | ||
) |
tipc_disc_recv_msg - handle incoming link setup message (request or response) : buffer containing message : bearer that message arrived on
Definition at line 116 of file discover.c.
void tipc_disc_remove_dest | ( | struct tipc_link_req * | req | ) |
tipc_disc_remove_dest - decrement set of discovered nodes : ptr to link request structure
Definition at line 285 of file discover.c.