xref: /minix/minix/include/net/gen/route.h (revision 7f5f010b)
1 /*
2 server/ip/gen/route.h
3 */
4 
5 #ifndef __SERVER__IP__GEN__ROUTE_H__
6 #define __SERVER__IP__GEN__ROUTE_H__
7 
8 typedef struct nwio_route
9 {
10 	u32_t nwr_ent_no;
11 	u32_t nwr_ent_count;
12 	ipaddr_t nwr_dest;
13 	ipaddr_t nwr_netmask;
14 	ipaddr_t nwr_gateway;
15 	u32_t nwr_dist;
16 	u32_t nwr_flags;
17 	u32_t nwr_pref;
18 	u32_t nwr_mtu;		/* Ignored, compatibility with VMD */
19 	ipaddr_t nwr_ifaddr;
20 } nwio_route_t;
21 
22 #define NWRF_EMPTY		0
23 #define NWRF_INUSE		1
24 #define NWRF_STATIC		2
25 #define NWRF_UNREACHABLE	4
26 
27 #endif /* __SERVER__IP__GEN__ROUTE_H__ */
28 
29 /*
30  * $PchId: route.h,v 1.3 1995/11/17 22:19:50 philip Exp $
31  */
32