<chapter id="slpreference"><title>SLP (Reference)</title><highlights><para>This chapter describes the SLP status
codes and message types. SLP message types
are listed with the abbreviations and function
codes. SLP status codes are shown with descriptions
and function codes that are used to indicate
that a request is received (code 0), or that
the receiver is busy. </para><note><para>The SLP daemon (<filename>slpd</filename>) returns status codes for unicast
messages only.</para>
</note>
</highlights><sect1 id="apstatuscodes-2"><title>SLP Status
Codes</title><table frame="topbot" pgwide="1" id="apstatuscodes-tbl-3"><title>SLP Status Codes</title><tgroup cols="3" colsep="0" rowsep="0"><colspec colname="column1" colwidth="158*"/><colspec colname="column2" colwidth="79*"/><colspec colname="column3" colwidth="159*"/><thead><row rowsep="1"><entry><para>Status Type</para>
</entry><entry><para>Status Code</para>
</entry><entry><para>Description</para>
</entry>
</row>
</thead><tbody><row><entry><para>No Error</para>
</entry><entry><para>0</para>
</entry><entry><para>Request was processed without error.</para>
</entry>
</row><row><entry><para>LANGUAGE_NOT_SUPPORTED</para>
</entry><entry><para>1</para>
</entry><entry><para>For an AttrRqst or SrvRqst, there is
data for the service type in the scope, but
not in the language that is indicated.</para>
</entry>
</row><row><entry><para>PARSE_ERROR</para>
</entry><entry><para>2</para>
</entry><entry><para>The message fails to follow SLP syntax.</para>
</entry>
</row><row><entry><para>INVALID_REGISTRATION</para>
</entry><entry><para>3</para>
</entry><entry><para>The SrvReg has problems. For example,
a zero lifetime or an omitted language tag.</para>
</entry>
</row><row><entry><para>SCOPE_NOT_SUPPORTED</para>
</entry><entry><para>4</para>
</entry><entry><para>The SLP message did not include a scope
in its scope list that is supported by the
SA or DA that answered the request.</para>
</entry>
</row><row><entry><para>AUTHENTICATION_UNKNOWN</para>
</entry><entry><para>5</para>
</entry><entry><para>The DA or SA received a request for
an unsupported SLP SPI.</para>
</entry>
</row><row><entry><para>AUTHENTICATION_ABSENT</para>
</entry><entry><para>6</para>
</entry><entry><para>The UA or DA expected URL and attribute
authentication in the SrvReg and did not receive
it. </para>
</entry>
</row><row><entry><para>AUTHENTICATION_FAILED</para>
</entry><entry><para>7</para>
</entry><entry><para>The UA or DA detected an authentication
error in an Authentication block.</para>
</entry>
</row><row><entry><para>VER_NOT_SUPPORTED</para>
</entry><entry><para>9</para>
</entry><entry><para>Unsupported version number in message.</para>
</entry>
</row><row><entry><para>INTERNAL_ERROR</para>
</entry><entry><para>10</para>
</entry><entry><para>An unknown error occurred in the DA
or SA. For example, the operating system had
no remaining file space.</para>
</entry>
</row><row><entry><para>DA_BUSY_NOW</para>
</entry><entry><para>11</para>
</entry><entry><para>The UA or SA should retry, using exponential
backoff.  The DA is busy processing other
messages.</para>
</entry>
</row><row><entry><para>OPTION_NOT_UNDERSTOOD</para>
</entry><entry><para>12</para>
</entry><entry><para>The DA or SA received an unknown option
from the mandatory range.</para>
</entry>
</row><row><entry><para>INVALID_UPDATE</para>
</entry><entry><para>13</para>
</entry><entry><para>The DA received a SrvReg without FRESH
set, for an unregistered service or with inconsistent
service types.</para>
</entry>
</row><row><entry><para>MSG_NOT_SUPPORTED</para>
</entry><entry><para>14</para>
</entry><entry><para>The SA received an AttrRqst or SrvTypeRqst
and does not support it.</para>
</entry>
</row><row><entry><para>REFRESH_REJECTED</para>
</entry><entry><para>15</para>
</entry><entry><para>The SA sent a SrvReg or partial SrvDereg
to a DA more frequently than the DA's min-refresh-interval. </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1><sect1 id="slp.messages-2"><title>SLP Message
Types</title><table frame="all" pgwide="1" id="slp.messages-tbl-6"><title>SLP Message Types</title><tgroup cols="4" colsep="1" rowsep="1"><colspec colwidth="99*"/><colspec colwidth="78*"/><colspec colwidth="59*"/><colspec colwidth="160*"/><thead><row><entry><para>Message Type</para>
</entry><entry><para>Abbreviation</para>
</entry><entry><para>Function Code</para>
</entry><entry><para>Description</para>
</entry>
</row>
</thead><tbody><row><entry><para>Service Request</para>
</entry><entry><para><literal>SrvRqst</literal></para>
</entry><entry><para>1</para>
</entry><entry><para>Issued by a UA to find services or by
a UA or SA server during active DA discovery.</para>
</entry>
</row><row><entry><para>Service Reply</para>
</entry><entry><para><literal>SrvRply</literal></para>
</entry><entry><para>2</para>
</entry><entry><para>The DA or SA response to a service request.</para>
</entry>
</row><row><entry><para>Service Registration</para>
</entry><entry><para><literal>SrvReg</literal></para>
</entry><entry><para>3</para>
</entry><entry><para>Enables SAs to register new advertisements,
to update existing advertisements with new
and changed attributes, and to refresh URL
lifetimes.</para>
</entry>
</row><row><entry><para>Service Deregistration</para>
</entry><entry><para><literal>SrvDereg</literal></para>
</entry><entry><para>4</para>
</entry><entry><para>Used by the SA to deregister its advertisements
when the service they represent is no longer
available.</para>
</entry>
</row><row><entry><para>Acknowledgment</para>
</entry><entry><para><literal>SrvAck</literal></para>
</entry><entry><para>5</para>
</entry><entry><para>The DA response to an SA's service request
or service deregistration message.</para>
</entry>
</row><row><entry><para>Attribute Request</para>
</entry><entry><para><literal>AttrRqst</literal></para>
</entry><entry><para>6</para>
</entry><entry><para>Made either by URL or by service type
to request a list of attributes.</para>
</entry>
</row><row><entry><para>Attribute Reply</para>
</entry><entry><para><literal>AttrRply</literal></para>
</entry><entry><para>7</para>
</entry><entry><para>Used to return the list of attributes.</para>
</entry>
</row><row><entry><para>DA Advertisement</para>
</entry><entry><para><literal>DAAdvert</literal></para>
</entry><entry><para>8</para>
</entry><entry><para>The DA response to multicast service
requests.</para>
</entry>
</row><row><entry><para>Service Type Request</para>
</entry><entry><para><literal>SrvTypeRqst</literal></para>
</entry><entry><para>9</para>
</entry><entry><para>Used to inquire about registered service
types that have a particular naming authority
and are in a particular set of scopes.</para>
</entry>
</row><row><entry><para>Service Type Reply</para>
</entry><entry><para><literal>SrvTypeRply</literal></para>
</entry><entry><para>10</para>
</entry><entry><para>The message that is returned in response
to the service type request.</para>
</entry>
</row><row><entry><para>SA Advertisement</para>
</entry><entry><para><literal>SAAdvert</literal></para>
</entry><entry><para>11</para>
</entry><entry><para>UAs employ the <literal>SAAdvert</literal> to
discover SAs and their scopes in networks
where no DAs are deployed.</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>
</chapter>