]>
Commit | Line | Data |
---|---|---|
13fec989 A |
1 | <h2>mach_port_qos</h2> |
2 | <hr> | |
3 | <p> | |
4 | <strong>Structure</strong> - Specifies a port's attributes with respect to "Quality Of Service." | |
5 | <h3>SYNOPSIS</h3> | |
6 | <pre> | |
7 | <strong>typedef struct mach_port_qos</strong> | |
8 | <strong>{</strong> | |
9 | <strong>boolean_t</strong> <var>name</var><strong>;</strong> | |
10 | <strong>boolean_t</strong> <var>rt</var><strong>;</strong> | |
11 | <strong>boolean_t</strong> <var>pad1</var><strong>;</strong> | |
12 | <strong>boolean_t</strong> <var>pad2</var><strong>;</strong> | |
13 | <strong>} mach_port_qos_t;</strong> | |
14 | </pre> | |
15 | <h3>FIELDS</h3> | |
16 | <dl> | |
17 | <dt> <var>name</var> | |
18 | <dd> | |
19 | If TRUE, the system will bestow the user-specified name on the newly allocated port. | |
20 | Otherwise, the system will choose the port's name. | |
21 | <p> | |
22 | <dt> <var>rt</var> | |
23 | <dd> | |
24 | If TRUE, this field causes a realtime port to be allocated. | |
25 | Otherwise, a regular port will be allocated. | |
26 | <p> | |
27 | <dt> <var>pad1</var> | |
28 | <dd> | |
29 | A 30 bit padding field. | |
30 | <p> | |
31 | <dt> <var>pad2</var> | |
32 | <dd> | |
33 | A 32 bit padding field; with the <var>pad1</var> field, lengthens the | |
34 | structure to 64 bits. | |
35 | </dl> | |
36 | <h3>DESCRIPTION</h3> | |
37 | <p> | |
38 | The <strong>mach_port_qos</strong> structure is used to specify a port's | |
39 | "quality of service" attributes when allocating the port via the | |
40 | <strong>mach_port_allocate_qos</strong> interface. | |
41 | <h3>RELATED INFORMATION</h3> | |
42 | <p> | |
43 | Functions: | |
44 | <a href="mach_port_allocate_qos.html"><strong>mach_port_allocate_qos</strong></a>, | |
45 | <a href="mach_port_get_attributes.html"><strong>mach_port_get_attributes</strong></a>, | |
46 | <a href="mach_port_set_attributes.html"><strong>mach_port_set_attributes</strong></a>. |