Commit | Line | Data |
---|---|---|
8ae0e4b4 | 1 | /* |
0880b18e | 2 | * Copyright (c) 1982, 1986 Regents of the University of California. |
2b6b6284 | 3 | * All rights reserved. |
8ae0e4b4 | 4 | * |
dbf0c423 | 5 | * %sccs.include.redist.c% |
2b6b6284 | 6 | * |
dbf0c423 | 7 | * @(#)in_systm.h 7.4 (Berkeley) %G% |
8ae0e4b4 | 8 | */ |
8e112dd4 BJ |
9 | |
10 | /* | |
11 | * Miscellaneous internetwork | |
12 | * definitions for kernel. | |
13 | */ | |
14 | ||
8e112dd4 BJ |
15 | /* |
16 | * Network types. | |
17 | * | |
18 | * Internally the system keeps counters in the headers with the bytes | |
19 | * swapped so that VAX instructions will work on them. It reverses | |
20 | * the bytes before transmission at each protocol level. The n_ types | |
21 | * represent the types with the bytes in ``high-ender'' order. | |
22 | */ | |
23 | typedef u_short n_short; /* short as received from the net */ | |
24 | typedef u_long n_long; /* long as received from the net */ | |
8e112dd4 BJ |
25 | |
26 | typedef u_long n_time; /* ms since 00:00 GMT, byte rev */ | |
27 | ||
9c8692e9 | 28 | #ifdef KERNEL |
2b4b57cd | 29 | n_time iptime(); |
8e112dd4 | 30 | #endif |