summaryrefslogtreecommitdiff
path: root/include/mach/message.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-22 10:04:07 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-10-01 09:03:51 +0200
commit56dc414b0699d1576fc1deb983a4bd2b0ef10f5d (patch)
tree6fabf73a6457fc17d76b7600a35f01a0be3eb069 /include/mach/message.h
parentc4baf67b71e20d1fdd2cc6bda1a2ea15e9853cdd (diff)
include: add msgh_protected_payload to mach_msg_header_t
* include/mach/message.h (mach_msg_header_t): Add msgh_protected_payload as a union with msgh_local_port. * doc/mach.texi (Message Format): Document msgh_protected_payload.
Diffstat (limited to 'include/mach/message.h')
-rw-r--r--include/mach/message.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mach/message.h b/include/mach/message.h
index f78e978..7464a57 100644
--- a/include/mach/message.h
+++ b/include/mach/message.h
@@ -136,7 +136,10 @@ typedef struct {
mach_msg_bits_t msgh_bits;
mach_msg_size_t msgh_size;
mach_port_t msgh_remote_port;
- mach_port_t msgh_local_port;
+ union {
+ mach_port_t msgh_local_port;
+ unsigned long msgh_protected_payload;
+ };
mach_port_seqno_t msgh_seqno;
mach_msg_id_t msgh_id;
} mach_msg_header_t;