summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_route.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ax25/ax25_route.h')
-rw-r--r--net/ax25/ax25_route.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/ax25/ax25_route.h b/net/ax25/ax25_route.h
new file mode 100644
index 000000000..edcb41a6e
--- /dev/null
+++ b/net/ax25/ax25_route.h
@@ -0,0 +1,25 @@
+#ifndef _AX25_ROUTE_H
+#define _AX25_ROUTE_H
+
+struct ax25_route {
+ struct ax25_route *next;
+ ax25_path_t path;
+ struct net_device *dev;
+ char ip_mode;
+};
+
+extern void ax25_rt_device_down(struct net_device*);
+extern int ax25_rt_ioctl(unsigned int, void*);
+extern int ax25_rt_get_info(char*, char**, off_t, int);
+extern struct net_device* ax25_rt_set_addr(ax25_addr_t*, ax25_addr_t*, struct net_device*, struct net_device*);
+extern int ax25_rt_autobind(ax25_cb*, ax25_address*);
+extern int ax25_rt_fillin_dev(ax25_cb*, ax25_address*);
+extern char ax25_rt_mode_get(ax25_address*);
+extern struct ax25_route* ax25_find_route(ax25_address*);
+
+extern int ax25_add_route(ax25_path_t*, struct net_device*);
+extern int ax25_del_route(ax25_address*);
+extern int ax25_ipopt_route(ax25_address*, unsigned char);
+void ax25_rt_free(void);
+
+#endif