xref: /titanic_44/usr/src/uts/common/netinet/in_systm.h (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1 /*
2  * Copyright (c) 1997-1998, 2001 by Sun Microsystems, Inc.
3  * All rights reserved.
4  */
5 
6 /*
7  * Copyright (c) 1982, 1986 Regents of the University of California.
8  * All rights reserved.  The Berkeley software License Agreement
9  * specifies the terms and conditions for redistribution.
10  */
11 
12 #ifndef	_NETINET_IN_SYSTM_H
13 #define	_NETINET_IN_SYSTM_H
14 
15 #pragma ident	"%Z%%M%	%I%	%E% SMI"
16 /* in_systm.h 1.8 88/08/19 SMI; from UCB 7.1 6/5/86	*/
17 
18 #ifdef	__cplusplus
19 extern "C" {
20 #endif
21 
22 /*
23  * Legacy "network types" -- these are provided for backwards compatibility
24  * only; new code should use uint16_t and uint32_t instead.
25  */
26 typedef uint16_t n_short;	/* short as received from the net */
27 typedef uint32_t n_long;	/* long as received from the net */
28 typedef uint32_t n_time;	/* ms since 00:00 GMT, byte rev */
29 
30 #ifdef	__cplusplus
31 }
32 #endif
33 
34 #endif	/* _NETINET_IN_SYSTM_H */
35