xref: /xnu-10063.121.3/osfmk/man/seqnos_notify_server.html (revision 2c2f96dc2b9a4408a43d3150ae9c105355ca3daa)
1*2c2f96dcSApple OSS Distributions<h2>seqnos_notify_server</h2>
2*2c2f96dcSApple OSS Distributions<hr>
3*2c2f96dcSApple OSS Distributions<p>
4*2c2f96dcSApple OSS Distributions<strong>Function</strong> - Handle the next kernel-generated IPC notification.
5*2c2f96dcSApple OSS Distributions<h3>SYNOPSIS</h3>
6*2c2f96dcSApple OSS Distributions<pre>
7*2c2f96dcSApple OSS Distributions<strong>boolean_t	seqnos_notify_server</strong>
8*2c2f96dcSApple OSS Distributions		<strong>(mach_msg_header_t</strong>	<var>request_msg</var>,
9*2c2f96dcSApple OSS Distributions		<strong>mach_msg_header_t</strong>	<var>reply_ms</var><strong>);</strong>
10*2c2f96dcSApple OSS Distributions</pre>
11*2c2f96dcSApple OSS Distributions<h3>PARAMETERS</h3>
12*2c2f96dcSApple OSS Distributions<dl>
13*2c2f96dcSApple OSS Distributions<p>
14*2c2f96dcSApple OSS Distributions<dt> <var>in_msg</var>
15*2c2f96dcSApple OSS Distributions<dd>
16*2c2f96dcSApple OSS Distributions[pointer to in structure]
17*2c2f96dcSApple OSS DistributionsThe notification message received from the
18*2c2f96dcSApple OSS Distributionskernel.
19*2c2f96dcSApple OSS Distributions<p>
20*2c2f96dcSApple OSS Distributions<dt> <var>out_msg</var>
21*2c2f96dcSApple OSS Distributions<dd>
22*2c2f96dcSApple OSS Distributions[out structure]
23*2c2f96dcSApple OSS DistributionsNot used.
24*2c2f96dcSApple OSS Distributions</dl>
25*2c2f96dcSApple OSS Distributions<h3>DESCRIPTION</h3>
26*2c2f96dcSApple OSS Distributions<p>
27*2c2f96dcSApple OSS DistributionsThe <strong>seqnos_notify_server</strong> function is the MIG generated server handling
28*2c2f96dcSApple OSS Distributionsfunction to handle messages from the kernel corresponding to IPC notifications.
29*2c2f96dcSApple OSS DistributionsSuch messages are delivered to the notification port named in a
30*2c2f96dcSApple OSS Distributions<strong>mach_msg</strong> or <strong>mach_port_request_notification</strong> call.
31*2c2f96dcSApple OSS DistributionsThe <strong>seqnos_notify_server</strong> function
32*2c2f96dcSApple OSS Distributionsperforms all necessary argument handling for this kernel message and calls the
33*2c2f96dcSApple OSS Distributionsappropriate handling function.  These functions must be supplied by the caller.
34*2c2f96dcSApple OSS Distributions<h3>NOTES</h3>
35*2c2f96dcSApple OSS Distributions<p>
36*2c2f96dcSApple OSS Distributions<strong>seqnos_notify_server</strong> differs from <strong>notify_server</strong>
37*2c2f96dcSApple OSS Distributionsin that it supplies message
38*2c2f96dcSApple OSS Distributionssequence numbers to the server interfaces.
39*2c2f96dcSApple OSS Distributions<h3>RETURN VALUES</h3>
40*2c2f96dcSApple OSS Distributions<dl>
41*2c2f96dcSApple OSS Distributions<p>
42*2c2f96dcSApple OSS Distributions<dt> <strong>TRUE</strong>
43*2c2f96dcSApple OSS Distributions<dd>
44*2c2f96dcSApple OSS DistributionsThe message was handled and the appropriate function was called.
45*2c2f96dcSApple OSS Distributions<p>
46*2c2f96dcSApple OSS Distributions<dt> <strong>FALSE</strong>
47*2c2f96dcSApple OSS Distributions<dd>
48*2c2f96dcSApple OSS DistributionsThe message did not apply to the notification mechanism and no other
49*2c2f96dcSApple OSS Distributionsaction was taken.
50*2c2f96dcSApple OSS Distributions</dl>
51*2c2f96dcSApple OSS Distributions<h3>RELATED INFORMATION</h3>
52*2c2f96dcSApple OSS Distributions<p>
53*2c2f96dcSApple OSS DistributionsFunctions:
54*2c2f96dcSApple OSS Distributions<a href="notify_server.html"><strong>notify_server<strong></a>,
55*2c2f96dcSApple OSS Distributions<a href="do_mach_notify_dead_name.html"><strong>do_seqnos_mach_notify_dead_name<strong></a>,
56*2c2f96dcSApple OSS Distributions<a href="do_mach_notify_no_senders.html"><strong>do_seqnos_mach_notify_no_senders<strong></a>,
57*2c2f96dcSApple OSS Distributions<a href="DMN_port_deleted.html"><strong>do_seqnos_mach_notify_port_deleted<strong></a>,
58*2c2f96dcSApple OSS Distributions<a href="do_mach_notify_send_once.html"><strong>do_seqnos_mach_notify_send_once<strong></a>.
59