Commit | Line | Data |
---|---|---|
fcfe450e | 1 | /* in_systm.h 4.14 82/10/09 */ |
8e112dd4 BJ |
2 | |
3 | /* | |
4 | * Miscellaneous internetwork | |
5 | * definitions for kernel. | |
6 | */ | |
7 | ||
9c8692e9 | 8 | #ifndef LOCORE |
8e112dd4 BJ |
9 | /* |
10 | * Network types. | |
11 | * | |
12 | * Internally the system keeps counters in the headers with the bytes | |
13 | * swapped so that VAX instructions will work on them. It reverses | |
14 | * the bytes before transmission at each protocol level. The n_ types | |
15 | * represent the types with the bytes in ``high-ender'' order. | |
16 | */ | |
17 | typedef u_short n_short; /* short as received from the net */ | |
18 | typedef u_long n_long; /* long as received from the net */ | |
8e112dd4 BJ |
19 | |
20 | typedef u_long n_time; /* ms since 00:00 GMT, byte rev */ | |
9c8692e9 | 21 | #endif |
8e112dd4 | 22 | |
9c8692e9 BJ |
23 | #ifndef LOCORE |
24 | #ifdef KERNEL | |
2b4b57cd | 25 | n_time iptime(); |
8e112dd4 | 26 | #endif |
9c8692e9 | 27 | #endif |