Linux Kernel
3.7.1
|
#include "node_subscr.h"
Go to the source code of this file.
Data Structures | |
struct | publication |
Macros | |
#define | TIPC_ZM_SRV 3 /* zone master service name type */ |
Functions | |
struct sk_buff * | tipc_nametbl_get (const void *req_tlv_area, int req_tlv_space) |
u32 | tipc_nametbl_translate (u32 type, u32 instance, u32 *node) |
int | tipc_nametbl_mc_translate (u32 type, u32 lower, u32 upper, u32 limit, struct tipc_port_list *dports) |
struct publication * | tipc_nametbl_publish (u32 type, u32 lower, u32 upper, u32 scope, u32 port_ref, u32 key) |
int | tipc_nametbl_withdraw (u32 type, u32 lower, u32 ref, u32 key) |
struct publication * | tipc_nametbl_insert_publ (u32 type, u32 lower, u32 upper, u32 scope, u32 node, u32 ref, u32 key) |
struct publication * | tipc_nametbl_remove_publ (u32 type, u32 lower, u32 node, u32 ref, u32 key) |
void | tipc_nametbl_subscribe (struct tipc_subscription *s) |
void | tipc_nametbl_unsubscribe (struct tipc_subscription *s) |
int | tipc_nametbl_init (void) |
void | tipc_nametbl_stop (void) |
Variables | |
rwlock_t | tipc_nametbl_lock |
Definition at line 48 of file name_table.h.
Definition at line 904 of file name_table.c.
Definition at line 936 of file name_table.c.
|
read |
Definition at line 488 of file name_table.c.
int tipc_nametbl_mc_translate | ( | u32 | type, |
u32 | lower, | ||
u32 | upper, | ||
u32 | limit, | ||
struct tipc_port_list * | dports | ||
) |
tipc_nametbl_mc_translate - find multicast destinations
Creates list of all local ports that overlap the given multicast address; also determines if any off-node ports overlap.
Note: Publications with a scope narrower than 'limit' are ignored. (i.e. local node-scope publications mustn't receive messages arriving from another node, even if the multcast link brought it here)
Returns non-zero if any off-node ports overlap
Definition at line 622 of file name_table.c.
|
read |
Definition at line 665 of file name_table.c.
|
read |
Definition at line 509 of file name_table.c.
Definition at line 947 of file name_table.c.
void tipc_nametbl_subscribe | ( | struct tipc_subscription * | s | ) |
tipc_nametbl_subscribe - add a subscription object to the name table
Definition at line 714 of file name_table.c.
tipc_nametbl_translate - perform name translation
On entry, 'destnode' is the search domain used during translation.
On exit:
Definition at line 536 of file name_table.c.
void tipc_nametbl_unsubscribe | ( | struct tipc_subscription * | s | ) |
tipc_nametbl_unsubscribe - remove a subscription object from name table
Definition at line 737 of file name_table.c.
tipc_nametbl_withdraw - withdraw name publication from network name tables
Definition at line 690 of file name_table.c.
rwlock_t tipc_nametbl_lock |