add EGP
[unix-history] / usr / src / sys / netinet / in_systm.h
CommitLineData
b11be056 1/* in_systm.h 6.1 83/07/29 */
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 */
17typedef u_short n_short; /* short as received from the net */
18typedef u_long n_long; /* long as received from the net */
8e112dd4
BJ
19
20typedef 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 25n_time iptime();
8e112dd4 26#endif
9c8692e9 27#endif