xref: /original-bsd/sys/netinet/in_systm.h (revision c43e4352)
1 /*	in_systm.h	6.1	83/07/29	*/
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  */
17 typedef u_short n_short;		/* short as received from the net */
18 typedef u_long	n_long;			/* long as received from the net */
19 
20 typedef	u_long	n_time;			/* ms since 00:00 GMT, byte rev */
21 #endif
22 
23 #ifndef LOCORE
24 #ifdef KERNEL
25 n_time	iptime();
26 #endif
27 #endif
28