#include "node_subscr.h"
#include "addr.h"
#include "net.h"
#include "bearer.h"
Go to the source code of this file.
#define INVALID_NODE_SIG 0x10000 |
#define WAIT_NAMES_GONE 0x0002 /* wait for peer's publications to be purged */ |
#define WAIT_NODE_DOWN 0x0004 /* wait until peer node is declared down */ |
#define WAIT_PEER_DOWN 0x0001 /* wait to see that peer's links are down */ |
tipc_node_create - create neighboring node
Currently, this routine is called by neighbor discovery code, which holds net_lock for reading only. We must take node_create_lock to ensure a node isn't created twice if two different bearers discover the node at the same time. (It would be preferable to switch to holding net_lock in write mode, but this is a non-trivial change.)
Definition at line 93 of file node.c.
tipc_node_link_down - handle loss of link
Definition at line 207 of file node.c.
tipc_node_link_up - handle addition of link
Link becomes active (alone or shared) or standby, depending on its priority.
Definition at line 148 of file node.c.