1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution and use in source and binary forms are permitted
6: * provided that this notice is preserved and that due credit is given
7: * to the University of California at Berkeley. The name of the University
8: * may not be used to endorse or promote products derived from this
9: * software without specific prior written permission. This software
10: * is provided ``as is'' without express or implied warranty.
11: *
12: * @(#)in_systm.h 7.2.1 (2.11BSD GTE) 12/31/93
13: */
14:
15: /*
16: * Miscellaneous internetwork
17: * definitions for kernel.
18: */
19:
20: /*
21: * Network types.
22: *
23: * Internally the system keeps counters in the headers with the bytes
24: * swapped so that VAX instructions will work on them. It reverses
25: * the bytes before transmission at each protocol level. The n_ types
26: * represent the types with the bytes in ``high-ender'' order.
27: */
28: typedef u_short n_short; /* short as received from the net */
29: typedef u_long n_long; /* long as received from the net */
30:
31: typedef u_long n_time; /* ms since 00:00 GMT, byte rev */
32:
33: #ifdef pdp11
34: #define UCHAR(a) ((u_int)((a)&0xff))
35: #endif
36:
37: #ifdef SUPERVISOR
38: n_time iptime();
39: #endif
Defined macros
UCHAR
defined in line
34; used 11 times
Usage of this include