5755547 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include/cygwin]$ cat -n in_systm.h
 1 /* System specific type definitions for networking code.
 2  *
 3  * Version:     @(#)in_systm.h        1.0.0   06/07/00
 4  *
 5  * Authors:     Original taken from the GNU Project <netinet/in_systm.h> file.
 6  *              Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
 7  *
 8  *              This program is free software; you can redistribute it and/or
 9  *              modify it under the terms of the GNU General Public License
10  *              as published by the Free Software Foundation; either version
11  *              2 of the License, or (at your option) any later version.
12  */
13 #ifndef _CYGWIN_IN_SYSTM_H
14 #define _CYGWIN_IN_SYSTM_H
15 
16 #include <sys/cdefs.h>
17 #include <sys/types.h>
18 
19 __BEGIN_DECLS
20 
21 /*
22  * Network order versions of various data types. Unfortunately, BSD
23  * assumes specific sizes for shorts (16 bit) and longs (32 bit) which
24  * don't hold in general. As a consequence, the network order versions
25  * may not reflect the actual size of the native data types.
26  */
27 
28 typedef u_int16_t n_short;      /* short as received from the net */
29 typedef u_int32_t n_long;       /* long as received from the net  */
30 typedef u_int32_t n_time;       /* ms since 00:00 GMT, byte rev   */
31 
32 __END_DECLS
33 
34 #endif /* _CYGWIN_IN_SYSTM_H */
5755548 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include/cygwin]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2001-01-31 15:09:10