localize header files
[unix-history] / usr / src / sys / netinet / in_systm.h
... / ...
CommitLineData
1/* in_systm.h 4.14 82/10/09 */
2
3/*
4 * Miscellaneous internetwork
5 * definitions for kernel.
6 */
7
8#ifndef LOCORE
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 */
19
20typedef u_long n_time; /* ms since 00:00 GMT, byte rev */
21#endif
22
23#ifndef LOCORE
24#ifdef KERNEL
25n_time iptime();
26#endif
27#endif