Go to the source code of this file.
|
struct tipc_bearer - TIPC bearer structure : pointer to additional media-specific information about bearer : max packet size bearer can support : non-zero if bearer is blocked : spinlock for controlling access to bearer : media-specific address associated with bearer
: ptr to media structure associated with bearer : default link priority for bearer : default window size for bearer : default link tolerance for bearer : array index of this bearer within TIPC bearer array : ptr to (optional) structure making periodic link setup requests : list of non-congested links associated with bearer : list of congested links associated with bearer : non-zero if bearer structure is represents a bearer : network plane ('A' through 'H') currently associated with bearer : indicates which nodes in cluster can be reached through bearer
Note: media-specific code is responsible for initialization of the fields indicated below when a bearer is enabled; TIPC's generic bearer code takes care of initializing all other fields.
|
struct tipc_bearer | tipc_bearers [] |
|
int | tipc_register_media (struct tipc_media *m_ptr) |
|
void | tipc_recv_msg (struct sk_buff *buf, struct tipc_bearer *tb_ptr) |
|
int | tipc_block_bearer (const char *name) |
|
void | tipc_continue (struct tipc_bearer *tb_ptr) |
|
int | tipc_enable_bearer (const char *bearer_name, u32 disc_domain, u32 priority) |
|
int | tipc_disable_bearer (const char *name) |
|
int | tipc_eth_media_start (void) |
|
void | tipc_eth_media_stop (void) |
|
int | tipc_media_set_priority (const char *name, u32 new_value) |
|
int | tipc_media_set_window (const char *name, u32 new_value) |
|
void | tipc_media_addr_printf (char *buf, int len, struct tipc_media_addr *a) |
|
struct sk_buff * | tipc_media_get_names (void) |
|
struct sk_buff * | tipc_bearer_get_names (void) |
|
void | tipc_bearer_add_dest (struct tipc_bearer *b_ptr, u32 dest) |
|
void | tipc_bearer_remove_dest (struct tipc_bearer *b_ptr, u32 dest) |
|
void | tipc_bearer_schedule (struct tipc_bearer *b_ptr, struct tipc_link *l_ptr) |
|
struct tipc_bearer * | tipc_bearer_find (const char *name) |
|
struct tipc_bearer * | tipc_bearer_find_interface (const char *if_name) |
|
struct tipc_media * | tipc_media_find (const char *name) |
|
int | tipc_bearer_resolve_congestion (struct tipc_bearer *b_ptr, struct tipc_link *l_ptr) |
|
int | tipc_bearer_congested (struct tipc_bearer *b_ptr, struct tipc_link *l_ptr) |
|
void | tipc_bearer_stop (void) |
|
void | tipc_bearer_lock_push (struct tipc_bearer *b_ptr) |
|
#define TIPC_MEDIA_ADDR_SIZE 20 |
#define TIPC_MEDIA_TYPE_ETH 1 |
#define TIPC_MEDIA_TYPE_OFFSET 3 |
tipc_bearer_congested - determines if bearer is currently congested
Definition at line 382 of file bearer.c.
tipc_bearer_find - locates bearer object with matching bearer name
Definition at line 208 of file bearer.c.
tipc_bearer_find_interface - locates bearer object with matching interface name
Definition at line 223 of file bearer.c.
tipc_bearer_get_names - record names of bearers in buffer
Definition at line 242 of file bearer.c.
tipc_block_bearer - Block the bearer with the given name, and reset all its links
Definition at line 514 of file bearer.c.
tipc_enable_bearer - enable bearer with the given name
Definition at line 394 of file bearer.c.
tipc_eth_media_start - activate Ethernet bearer support
Register Ethernet media type with TIPC bearer code. Also register with OS for notifications about device state changes.
Definition at line 372 of file eth_media.c.
tipc_eth_media_stop - deactivate Ethernet bearer support
Definition at line 392 of file eth_media.c.
tipc_media_addr_printf - record media address in print buffer
Definition at line 118 of file bearer.c.
tipc_media_find - locates specified media object by name
Definition at line 54 of file bearer.c.
tipc_media_get_names - record names of registered media in buffer
Definition at line 141 of file bearer.c.
tipc_recv_msg - process TIPC messages arriving from off-node : pointer to message buffer chain : pointer to bearer message arrived on
Invoked with no locks held. Bearer pointer must point to a valid bearer structure (i.e. cannot be NULL), but bearer can be inactive.
Definition at line 1604 of file link.c.
tipc_register_media - register a media type
Bearers for this media type must be activated separately at a later stage.
Definition at line 84 of file bearer.c.