home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / comm / amitcp-sdk-4.0.lha / AmiTCP-SDK / netinclude / netinet / in_systm.h next >
Encoding:
C/C++ Source or Header  |  1994-10-06  |  858 b   |  26 lines

  1. #ifndef NETINET_IN_SYSTM_H
  2. #define NETINET_IN_SYSTM_H \
  3.        "$Id: in_systm.h,v 4.1 1994/10/05 23:12:24 ppessi Exp $"
  4. /*
  5.  *      Miscellaneous internetwork definitions for kernel.
  6.  *
  7.  *      Copyright © 1994 AmiTCP/IP Group,
  8.  *                       Network Solutions Development, Inc.
  9.  *                       All rights reserved.
  10.  */
  11.  
  12. /*
  13.  * Network types.
  14.  *
  15.  * Internally the system keeps counters in the headers with the bytes
  16.  * swapped so that VAX instructions will work on them.  It reverses
  17.  * the bytes before transmission at each protocol level.  The n_ types
  18.  * represent the types with the bytes in ``high-ender'' order.
  19.  */
  20. typedef u_short n_short;        /* short as received from the net */
  21. typedef u_long    n_long;            /* long as received from the net */
  22.  
  23. typedef    u_long    n_time;            /* ms since 00:00 GMT, byte rev */
  24.  
  25. #endif /* !NETINET_IN_SYSTM_H */
  26.