Project

General

Profile

Statistics
| Revision:

root / lab4 / .minix-src / include / net / gen / route.h @ 13

History | View | Annotate | Download (588 Bytes)

1 13 up20180614
/*
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
 */