in_systm.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  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.  * Network types.
  22.  * The n_ types are network-order variants of their natural
  23.  * equivalents.  The Linux kernel NET-2 code does not use
  24.  * them (yet), but it might in the future.  This is mostly
  25.  * there for compatibility with BSD user-level programs.
  26.  */
  27. typedef u_short n_short; /* short as received from the net */
  28. typedef u_long n_long; /* long as received from the net */
  29. typedef u_long n_time; /* ms since 00:00 GMT, byte rev */
  30. #endif /* _LINUX_IN_SYSTM_H */