osfmk/man/mach_port_qos.html
Structure - Specifies a port's attributes with respect to "Quality Of Service."
**typedef struct mach\_port\_qos**** { ****boolean\_t** name **;**** boolean\_t **rt** ; ****boolean\_t** pad1 **;**** boolean\_t **pad2** ; ****} mach\_port\_qos\_t;**
name If TRUE, the system will bestow the user-specified name on the newly allocated port. Otherwise, the system will choose the port's name.
rt If TRUE, this field causes a realtime port to be allocated. Otherwise, a regular port will be allocated.
pad1 A 30 bit padding field.
pad2A 32 bit padding field; with the pad1 field, lengthens the structure to 64 bits.
The mach_port_qos structure is used to specify a port's "quality of service" attributes when allocating the port via the mach_port_allocate_qos interface.
Functions: mach_port_allocate_qos, mach_port_get_attributes, mach_port_set_attributes.