1 /* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Miscellaneous internetwork definitions for kernel. 7 * 8 * Version: @(#)in_systm.h 1.0.0 12/17/93 9 * 10 * Authors: Original taken from Berkeley BSD UNIX 4.3-RENO. 11 * Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> 12 * 13 * This program is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU General Public License 15 * as published by the Free Software Foundation; either version 16 * 2 of the License, or (at your option) any later version. 17 */ 18 #ifndef _LINUX_IN_SYSTM_H 19 #define _LINUX_IN_SYSTM_H 20 21 /* 22 * Network types. 23 * The n_ types are network-order variants of their natural 24 * equivalents. The Linux kernel NET-2 code does not use 25 * them (yet), but it might in the future. This is mostly 26 * there for compatibility with BSD user-level programs. 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 typedef u_long n_time; /* ms since 00:00 GMT, byte rev */ 31 32 #endif /* _LINUX_IN_SYSTM_H */