source: trunk/minix/include/net/gen/route.h@ 19

Last change on this file since 19 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 588 bytes
Line 
1/*
2server/ip/gen/route.h
3*/
4
5#ifndef __SERVER__IP__GEN__ROUTE_H__
6#define __SERVER__IP__GEN__ROUTE_H__
7
8typedef 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 */
Note: See TracBrowser for help on using the repository browser.