#include <mach/message.h>
mach/message.h
structmach_msg_port_descriptor_t
| unsigned int:16 | pad2 | |
| mach_msg_type_name_t:8 | disposition | |
| mach_msg_descriptor_type_t:8 | type | |
| uint32_t | pad_end |
structmach_msg_ool_descriptor_t
| boolean_t:8 | deallocate | |
| mach_msg_copy_options_t:8 | copy | |
| unsigned int:8 | pad1 | |
| mach_msg_descriptor_type_t:8 | type | |
| mach_msg_size_t | size |
structmach_msg_ool_ports_descriptor_t
| boolean_t:8 | deallocate | |
| mach_msg_copy_options_t:8 | copy | |
| mach_msg_type_name_t:8 | disposition | |
| mach_msg_descriptor_type_t:8 | type | |
| mach_msg_size_t | count |
structmach_msg_guarded_port_descriptor_t
| mach_msg_guard_flags_t:16 | flags | |
| mach_msg_type_name_t:8 | disposition | |
| mach_msg_descriptor_type_t:8 | type |
unionmach_msg_descriptor_t
LP64support - This union definition is not really
appropriate in LP64 mode because not all descriptors
are of the same size in that environment.
| mach_msg_port_descriptor_t | port | |
| mach_msg_ool_descriptor32_t | out_of_line | |
| mach_msg_ool_ports_descriptor32_t | ool_ports | |
| mach_msg_type_descriptor_t | type | |
| mach_msg_guarded_port_descriptor32_t | guarded_port |