diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-04 19:30:29 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-04 19:30:29 -0300 |
| commit | fb4b4a84b0561ea4285ff7fb3d1391c8859fbb57 (patch) | |
| tree | 4c3b57ef08568bc198fb48ff97f0a327e7b480ba /include/net/ipx.h | |
| parent | 277110dca3410778a25cf301487a6a7376dc8c7d (diff) | |
o ipx: convert ipx_interface handling to use list_head
Diffstat (limited to 'include/net/ipx.h')
| -rw-r--r-- | include/net/ipx.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/ipx.h b/include/net/ipx.h index bd27cf426a4e..a588ad2428c1 100644 --- a/include/net/ipx.h +++ b/include/net/ipx.h @@ -12,6 +12,7 @@ #include <linux/netdevice.h> #include <net/datalink.h> #include <linux/ipx.h> +#include <linux/list.h> struct ipx_address { __u32 net; @@ -66,7 +67,7 @@ struct ipx_interface { unsigned char if_internal; unsigned char if_primary; - struct ipx_interface *if_next; + struct list_head node; /* node in ipx_interfaces list */ }; struct ipx_route { @@ -113,7 +114,8 @@ struct ipx_opt { extern struct ipx_route *ipx_routes; extern rwlock_t ipx_routes_lock; -extern struct ipx_interface *ipx_interfaces; +extern struct list_head ipx_interfaces; +extern struct ipx_interface *ipx_interfaces_head(void); extern spinlock_t ipx_interfaces_lock; extern struct ipx_interface *ipx_primary_net; |
