Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
node_subscr.c File Reference
#include "core.h"
#include "node_subscr.h"
#include "node.h"

Go to the source code of this file.

Functions

void tipc_nodesub_subscribe (struct tipc_node_subscr *node_sub, u32 addr, void *usr_handle, net_ev_handler handle_down)
 
void tipc_nodesub_unsubscribe (struct tipc_node_subscr *node_sub)
 
void tipc_nodesub_notify (struct tipc_node *node)
 

Function Documentation

void tipc_nodesub_notify ( struct tipc_node node)

tipc_nodesub_notify - notify subscribers that a node is unreachable

Note: node is locked by caller

Definition at line 84 of file node_subscr.c.

void tipc_nodesub_subscribe ( struct tipc_node_subscr node_sub,
u32  addr,
void usr_handle,
net_ev_handler  handle_down 
)

tipc_nodesub_subscribe - create "node down" subscription for specified node

Definition at line 44 of file node_subscr.c.

void tipc_nodesub_unsubscribe ( struct tipc_node_subscr node_sub)

tipc_nodesub_unsubscribe - cancel "node down" subscription (if any)

Definition at line 69 of file node_subscr.c.