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