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