diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-22 10:04:07 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-10-01 09:03:51 +0200 |
commit | 56dc414b0699d1576fc1deb983a4bd2b0ef10f5d (patch) | |
tree | 6fabf73a6457fc17d76b7600a35f01a0be3eb069 /include/mach | |
parent | c4baf67b71e20d1fdd2cc6bda1a2ea15e9853cdd (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')
-rw-r--r-- | include/mach/message.h | 5 |
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; |