summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-05-05 14:18:41 -0300
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-05-05 14:18:41 -0300
commit975dc0dc390802114b5cd7b80c9c2f901c9fb2bb (patch)
tree6ddcc30a4ff8a5d94d4423452e594a645512ea27 /include
parentfb4b4a84b0561ea4285ff7fb3d1391c8859fbb57 (diff)
o ipx: convert ipx_route to use list_head
Diffstat (limited to 'include')
-rw-r--r--include/net/ipx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ipx.h b/include/net/ipx.h
index a588ad2428c1..864359402b31 100644
--- a/include/net/ipx.h
+++ b/include/net/ipx.h
@@ -75,7 +75,7 @@ struct ipx_route {
struct ipx_interface *ir_intrfc;
unsigned char ir_routed;
unsigned char ir_router_node[IPX_NODE_LEN];
- struct ipx_route *ir_next;
+ struct list_head node; /* node in ipx_routes list */
atomic_t refcnt;
};
@@ -111,7 +111,7 @@ struct ipx_opt {
#define IPX_MIN_EPHEMERAL_SOCKET 0x4000
#define IPX_MAX_EPHEMERAL_SOCKET 0x7fff
-extern struct ipx_route *ipx_routes;
+extern struct list_head ipx_routes;
extern rwlock_t ipx_routes_lock;
extern struct list_head ipx_interfaces;