diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2002-10-06 18:18:10 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@hera.kernel.org> | 2002-10-06 18:18:10 -0300 |
| commit | 45f0e972148c30bc84edf7d7c228bd6d3db0ba8a (patch) | |
| tree | 1c47471284d0b64aa5d9a3de0e41b74bd0ab1ab2 /include | |
| parent | 5c0fbae16feb334cc28a74dffbd09c2c6063290b (diff) | |
o X25: use seq_file for proc stuff
Also some CodingStyle cleanups.
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/x25.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/net/x25.h b/include/net/x25.h index a043f5e093c8..98fb713f3121 100644 --- a/include/net/x25.h +++ b/include/net/x25.h @@ -220,9 +220,8 @@ extern void x25_enquiry_response(struct sock *); /* x25_route.c */ extern struct x25_route *x25_get_route(struct x25_address *addr); extern struct net_device *x25_dev_get(char *); -extern void x25_route_device_down(struct net_device *); +extern void x25_route_device_down(struct net_device *dev); extern int x25_route_ioctl(unsigned int, void *); -extern int x25_routes_get_info(char *, char **, off_t, int); extern void x25_route_free(void); static __inline__ void x25_route_hold(struct x25_route *rt) @@ -263,4 +262,12 @@ struct x25_skb_cb { unsigned flags; }; #define X25_SKB_CB(s) ((struct x25_skb_cb *) ((s)->cb)) + +extern struct sock *x25_list; +extern rwlock_t x25_list_lock; +extern struct list_head x25_route_list; +extern rwlock_t x25_route_list_lock; + +extern int x25_proc_init(void); +extern void x25_proc_exit(void); #endif |
