summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-14 18:29:51 +0000
committerMiles Bader <miles@gnu.org>1996-05-14 18:29:51 +0000
commit4866cde1e5d4cb2be942da62191f6bcaa852ca45 (patch)
tree08f43c9fb69e9e22eb4b2568f55d1c56e5da58f3 /pflocal
parenta23ce72042f18724e072de12adbcd5a4f2fbed45 (diff)
(struct sock): Make the id field a receive right, not an int.
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/sock.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pflocal/sock.h b/pflocal/sock.h
index 2b1608d6..f09e5ca8 100644
--- a/pflocal/sock.h
+++ b/pflocal/sock.h
@@ -1,6 +1,6 @@
/* Internal sockets
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -53,8 +53,9 @@ struct sock
/* FLAGS from SOCK_*, below. */
unsigned flags;
- /* An identifying number for the socket. */
- unsigned id;
+ /* A receive right for this socket's id ports. */
+ mach_port_t id;
+
/* Last time the socket got frobbed. */
time_value_t change_time;