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