summaryrefslogtreecommitdiff
path: root/minix/include/net/gen/route.h
blob: a2a8c28c508e0a5d067d0fdae7899e6ade541d2d (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
26
27
28
29
30
31
/*
server/ip/gen/route.h
*/

#ifndef __SERVER__IP__GEN__ROUTE_H__
#define __SERVER__IP__GEN__ROUTE_H__

typedef struct nwio_route
{
	u32_t nwr_ent_no;
	u32_t nwr_ent_count;
	ipaddr_t nwr_dest;
	ipaddr_t nwr_netmask;
	ipaddr_t nwr_gateway;
	u32_t nwr_dist;
	u32_t nwr_flags;
	u32_t nwr_pref;
	u32_t nwr_mtu;		/* Ignored, compatibility with VMD */
	ipaddr_t nwr_ifaddr;
} nwio_route_t;

#define NWRF_EMPTY		0
#define NWRF_INUSE		1
#define NWRF_STATIC		2
#define NWRF_UNREACHABLE	4

#endif /* __SERVER__IP__GEN__ROUTE_H__ */

/*
 * $PchId: route.h,v 1.3 1995/11/17 22:19:50 philip Exp $
 */