home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / bsd / sys / netport.h < prev    next >
C/C++ Source or Header  |  1993-10-19  |  774b  |  39 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * Copyright (c) 1988 Carnegie-Mellon University
  5.  * Copyright (c) 1987 Carnegie-Mellon University
  6.  * All rights reserved.  The CMU software License Agreement specifies
  7.  * the terms and conditions for use and redistribution.
  8.  */
  9. /*
  10.  * HISTORY
  11.  * $Log:    netport.h,v $
  12.  * Revision 2.2  89/03/10  13:42:27  rpd
  13.  *     Created from kern/ipc_netport.h.
  14.  * 
  15.  */
  16.  
  17. #ifndef    _SYS_NETPORT_H_
  18. #define _SYS_NETPORT_H_
  19.  
  20. typedef unsigned long    netaddr_t;
  21.  
  22. /*
  23.  * Network Port structure.
  24.  */
  25. typedef struct {
  26.     long    np_uid_high;
  27.     long    np_uid_low;
  28. } np_uid_t;
  29.  
  30. typedef struct {
  31.     netaddr_t    np_receiver;
  32.     netaddr_t    np_owner;
  33.     np_uid_t    np_puid;
  34.     np_uid_t    np_sid;
  35. } network_port_t;
  36.  
  37. #endif    _SYS_NETPORT_H_
  38.  
  39.