summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_route.h
blob: edcb41a6e01d13e438dd89ed13737e29c610fb94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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