]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/tipc/node.h
r8169: mac address change support
[linux-2.6-omap-h63xx.git] / net / tipc / node.h
index 781126e084aea5bab759de5bff27e0285d4d84ab..cd1882654bbb27205307e0f61302c72ff8697f16 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * net/tipc/node.h: Include file for TIPC node management routines
- * 
+ *
  * Copyright (c) 2000-2006, Ericsson AB
  * Copyright (c) 2005, Wind River Systems
  * All rights reserved.
@@ -51,6 +51,7 @@
  * @nsub: list of "node down" subscriptions monitoring node
  * @active_links: pointers to active links to node
  * @links: pointers to all links to node
+ * @working_links: number of working links to node (both active and standby)
  * @link_cnt: number of links to node
  * @permit_changeover: non-zero if node has redundant links to this system
  * @routers: bitmap (used for multicluster communication)
@@ -66,7 +67,7 @@
  *    @deferred_tail: newest OOS b'cast message received from node
  *    @defragm: list of partially reassembled b'cast message fragments from node
  */
+
 struct node {
        u32 addr;
        spinlock_t lock;
@@ -76,6 +77,7 @@ struct node {
        struct link *active_links[2];
        struct link *links[MAX_BEARERS];
        int link_cnt;
+       int working_links;
        int permit_changeover;
        u32 routers[512/32];
        int last_router;
@@ -83,8 +85,8 @@ struct node {
                int supported;
                u32 acked;
                u32 last_in;
-               u32 gap_after; 
-               u32 gap_to; 
+               u32 gap_after;
+               u32 gap_to;
                u32 nack_sync;
                struct sk_buff *deferred_head;
                struct sk_buff *deferred_tail;