home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / nm_defs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-08  |  447 b   |  28 lines

  1. /*
  2.  * Copyright (c) 1995, NeXT Computer, Inc.
  3.  * All Rights Reserved.
  4.  */
  5.  
  6.  
  7. #ifndef    _NM_DEFS_
  8. #define    _NM_DEFS_
  9.  
  10. /*
  11.  * netaddr_t is declared with the kernel files,
  12.  * in <servers/netport.h>.
  13.  */
  14. #include    <servers/netport.h>
  15.  
  16. typedef union {
  17.     struct {
  18.     unsigned char ia_net_owner;
  19.     unsigned char ia_net_node_type;
  20.     unsigned char ia_host_high;
  21.     unsigned char ia_host_low;
  22.     } ia_bytes;
  23.     netaddr_t ia_netaddr;
  24. } ip_addr_t;
  25.  
  26. #endif    _NM_DEFS_
  27.  
  28.