fix error message
[unix-history] / usr / src / sys / netinet / in_systm.h
CommitLineData
8ae0e4b4 1/*
0880b18e 2 * Copyright (c) 1982, 1986 Regents of the University of California.
8ae0e4b4
KM
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
0880b18e 6 * @(#)in_systm.h 7.1 (Berkeley) %G%
8ae0e4b4 7 */
8e112dd4
BJ
8
9/*
10 * Miscellaneous internetwork
11 * definitions for kernel.
12 */
13
8e112dd4
BJ
14/*
15 * Network types.
16 *
17 * Internally the system keeps counters in the headers with the bytes
18 * swapped so that VAX instructions will work on them. It reverses
19 * the bytes before transmission at each protocol level. The n_ types
20 * represent the types with the bytes in ``high-ender'' order.
21 */
22typedef u_short n_short; /* short as received from the net */
23typedef u_long n_long; /* long as received from the net */
8e112dd4
BJ
24
25typedef u_long n_time; /* ms since 00:00 GMT, byte rev */
26
9c8692e9 27#ifdef KERNEL
2b4b57cd 28n_time iptime();
8e112dd4 29#endif