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 /* in_systm.h 1.8 88/08/19 SMI; from UCB 7.1 6/5/86 */ 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 /* 22 * Legacy "network types" -- these are provided for backwards compatibility 23 * only; new code should use uint16_t and uint32_t instead. 24 */ 25 typedef uint16_t n_short; /* short as received from the net */ 26 typedef uint32_t n_long; /* long as received from the net */ 27 typedef uint32_t n_time; /* ms since 00:00 GMT, byte rev */ 28 29 #ifdef __cplusplus 30 } 31 #endif 32 33 #endif /* _NETINET_IN_SYSTM_H */ 34