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

Go to the source code of this file.

Data Structures

struct  tipc_node_subscr


typedef void(* net_ev_handler )(void *usr_handle)


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)

Typedef Documentation

typedef void(* net_ev_handler)(void *usr_handle)

Definition at line 42 of file node_subscr.h.

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.