/usr/share/gtk-doc/html/libnice/libnice-STUN-Constants.html is in libnice-doc 0.1.14-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>STUN Constants: libnice Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="libnice Reference Manual">
<link rel="up" href="ch03.html" title="">
<link rel="prev" href="libnice-StunMessage.html" title="StunMessage">
<link rel="next" href="ch04.html" title="STUN usages">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#libnice-STUN-Constants.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libnice-StunMessage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch04.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libnice-STUN-Constants"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libnice-STUN-Constants.top_of_page"></a>STUN Constants</span></h2>
<p>STUN Constants — STUN constants</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libnice-STUN-Constants.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="libnice-STUN-Constants.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-AGENT-MAX-SAVED-IDS:CAPS" title="STUN_AGENT_MAX_SAVED_IDS">STUN_AGENT_MAX_SAVED_IDS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-AGENT-MAX-UNKNOWN-ATTRIBUTES:CAPS" title="STUN_AGENT_MAX_UNKNOWN_ATTRIBUTES">STUN_AGENT_MAX_UNKNOWN_ATTRIBUTES</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-ATTRIBUTE-HEADER-LENGTH:CAPS" title="STUN_ATTRIBUTE_HEADER_LENGTH">STUN_ATTRIBUTE_HEADER_LENGTH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-ATTRIBUTE-LENGTH-LEN:CAPS" title="STUN_ATTRIBUTE_LENGTH_LEN">STUN_ATTRIBUTE_LENGTH_LEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-ATTRIBUTE-LENGTH-POS:CAPS" title="STUN_ATTRIBUTE_LENGTH_POS">STUN_ATTRIBUTE_LENGTH_POS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-ATTRIBUTE-TYPE-LEN:CAPS" title="STUN_ATTRIBUTE_TYPE_LEN">STUN_ATTRIBUTE_TYPE_LEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-ATTRIBUTE-TYPE-POS:CAPS" title="STUN_ATTRIBUTE_TYPE_POS">STUN_ATTRIBUTE_TYPE_POS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-ATTRIBUTE-VALUE-POS:CAPS" title="STUN_ATTRIBUTE_VALUE_POS">STUN_ATTRIBUTE_VALUE_POS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-ID-LEN:CAPS" title="STUN_ID_LEN">STUN_ID_LEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MAGIC-COOKIE:CAPS" title="STUN_MAGIC_COOKIE">STUN_MAGIC_COOKIE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MAX-MESSAGE-SIZE:CAPS" title="STUN_MAX_MESSAGE_SIZE">STUN_MAX_MESSAGE_SIZE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MAX-MESSAGE-SIZE-IPV4:CAPS" title="STUN_MAX_MESSAGE_SIZE_IPV4">STUN_MAX_MESSAGE_SIZE_IPV4</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MAX-MESSAGE-SIZE-IPV6:CAPS" title="STUN_MAX_MESSAGE_SIZE_IPV6">STUN_MAX_MESSAGE_SIZE_IPV6</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-ATTRIBUTES-POS:CAPS" title="STUN_MESSAGE_ATTRIBUTES_POS">STUN_MESSAGE_ATTRIBUTES_POS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-HEADER-LENGTH:CAPS" title="STUN_MESSAGE_HEADER_LENGTH">STUN_MESSAGE_HEADER_LENGTH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-LENGTH-LEN:CAPS" title="STUN_MESSAGE_LENGTH_LEN">STUN_MESSAGE_LENGTH_LEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-LENGTH-POS:CAPS" title="STUN_MESSAGE_LENGTH_POS">STUN_MESSAGE_LENGTH_POS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-TRANS-ID-LEN:CAPS" title="STUN_MESSAGE_TRANS_ID_LEN">STUN_MESSAGE_TRANS_ID_LEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-TRANS-ID-POS:CAPS" title="STUN_MESSAGE_TRANS_ID_POS">STUN_MESSAGE_TRANS_ID_POS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-TYPE-LEN:CAPS" title="STUN_MESSAGE_TYPE_LEN">STUN_MESSAGE_TYPE_LEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#STUN-MESSAGE-TYPE-POS:CAPS" title="STUN_MESSAGE_TYPE_POS">STUN_MESSAGE_TYPE_POS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libnice-STUN-Constants.html#TURN-MAGIC-COOKIE:CAPS" title="TURN_MAGIC_COOKIE">TURN_MAGIC_COOKIE</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libnice-STUN-Constants.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <stun/constants.h>
</pre>
</div>
<div class="refsect1">
<a name="libnice-STUN-Constants.description"></a><h2>Description</h2>
<p>Various constants defining parts of the STUN and TURN protocols and
on-the-wire packet formats.</p>
</div>
<div class="refsect1">
<a name="libnice-STUN-Constants.functions_details"></a><h2>Functions</h2>
<p></p>
</div>
<div class="refsect1">
<a name="libnice-STUN-Constants.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="STUN-AGENT-MAX-SAVED-IDS:CAPS"></a><h3>STUN_AGENT_MAX_SAVED_IDS</h3>
<pre class="programlisting">#define STUN_AGENT_MAX_SAVED_IDS 200
</pre>
<p>Maximum number of simultaneously ongoing STUN transactions.</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-AGENT-MAX-UNKNOWN-ATTRIBUTES:CAPS"></a><h3>STUN_AGENT_MAX_UNKNOWN_ATTRIBUTES</h3>
<pre class="programlisting">#define STUN_AGENT_MAX_UNKNOWN_ATTRIBUTES 256
</pre>
<p>Maximum number of unknown attribute which can be handled in a single STUN
message.</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-ATTRIBUTE-HEADER-LENGTH:CAPS"></a><h3>STUN_ATTRIBUTE_HEADER_LENGTH</h3>
<pre class="programlisting">#define STUN_ATTRIBUTE_HEADER_LENGTH STUN_ATTRIBUTE_VALUE_POS
</pre>
<p>Length of a single STUN attribute header (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-ATTRIBUTE-LENGTH-LEN:CAPS"></a><h3>STUN_ATTRIBUTE_LENGTH_LEN</h3>
<pre class="programlisting">#define STUN_ATTRIBUTE_LENGTH_LEN 2
</pre>
<p>Length of the length field of a STUN attribute (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-ATTRIBUTE-LENGTH-POS:CAPS"></a><h3>STUN_ATTRIBUTE_LENGTH_POS</h3>
<pre class="programlisting">#define STUN_ATTRIBUTE_LENGTH_POS</pre>
<p>Offset of the length field of a STUN attribute (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-ATTRIBUTE-TYPE-LEN:CAPS"></a><h3>STUN_ATTRIBUTE_TYPE_LEN</h3>
<pre class="programlisting">#define STUN_ATTRIBUTE_TYPE_LEN 2
</pre>
<p>Length of the type field of a STUN attribute (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-ATTRIBUTE-TYPE-POS:CAPS"></a><h3>STUN_ATTRIBUTE_TYPE_POS</h3>
<pre class="programlisting">#define STUN_ATTRIBUTE_TYPE_POS 0
</pre>
<p>Offset of the type field of a STUN attribute (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-ATTRIBUTE-VALUE-POS:CAPS"></a><h3>STUN_ATTRIBUTE_VALUE_POS</h3>
<pre class="programlisting">#define STUN_ATTRIBUTE_VALUE_POS</pre>
<p>Offset of the value field of a STUN attribute (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-ID-LEN:CAPS"></a><h3>STUN_ID_LEN</h3>
<pre class="programlisting">#define STUN_ID_LEN 16
</pre>
<p>Length of the ID field of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MAGIC-COOKIE:CAPS"></a><h3>STUN_MAGIC_COOKIE</h3>
<pre class="programlisting">#define STUN_MAGIC_COOKIE 0x2112A442
</pre>
<p>Magic cookie value used to identify STUN messages.</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MAX-MESSAGE-SIZE:CAPS"></a><h3>STUN_MAX_MESSAGE_SIZE</h3>
<pre class="programlisting">#define STUN_MAX_MESSAGE_SIZE 65552
</pre>
<p>The Maximum size of a STUN message</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MAX-MESSAGE-SIZE-IPV4:CAPS"></a><h3>STUN_MAX_MESSAGE_SIZE_IPV4</h3>
<pre class="programlisting">#define STUN_MAX_MESSAGE_SIZE_IPV4 576
</pre>
<p>Maximum size of a STUN message sent over IPv4 (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MAX-MESSAGE-SIZE-IPV6:CAPS"></a><h3>STUN_MAX_MESSAGE_SIZE_IPV6</h3>
<pre class="programlisting">#define STUN_MAX_MESSAGE_SIZE_IPV6 1280
</pre>
<p>Maximum size of a STUN message sent over IPv6 (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-ATTRIBUTES-POS:CAPS"></a><h3>STUN_MESSAGE_ATTRIBUTES_POS</h3>
<pre class="programlisting">#define STUN_MESSAGE_ATTRIBUTES_POS</pre>
<p>Offset of the attributes of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-HEADER-LENGTH:CAPS"></a><h3>STUN_MESSAGE_HEADER_LENGTH</h3>
<pre class="programlisting">#define STUN_MESSAGE_HEADER_LENGTH STUN_MESSAGE_ATTRIBUTES_POS
</pre>
<p>Total length of a STUN message header (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-LENGTH-LEN:CAPS"></a><h3>STUN_MESSAGE_LENGTH_LEN</h3>
<pre class="programlisting">#define STUN_MESSAGE_LENGTH_LEN 2
</pre>
<p>Length of the length field of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-LENGTH-POS:CAPS"></a><h3>STUN_MESSAGE_LENGTH_POS</h3>
<pre class="programlisting">#define STUN_MESSAGE_LENGTH_POS</pre>
<p>Offset of the length field of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-TRANS-ID-LEN:CAPS"></a><h3>STUN_MESSAGE_TRANS_ID_LEN</h3>
<pre class="programlisting">#define STUN_MESSAGE_TRANS_ID_LEN 16
</pre>
<p>Length of the transaction ID field of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-TRANS-ID-POS:CAPS"></a><h3>STUN_MESSAGE_TRANS_ID_POS</h3>
<pre class="programlisting">#define STUN_MESSAGE_TRANS_ID_POS</pre>
<p>Offset of the transaction ID field of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-TYPE-LEN:CAPS"></a><h3>STUN_MESSAGE_TYPE_LEN</h3>
<pre class="programlisting">#define STUN_MESSAGE_TYPE_LEN 2
</pre>
<p>Length of the type field of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="STUN-MESSAGE-TYPE-POS:CAPS"></a><h3>STUN_MESSAGE_TYPE_POS</h3>
<pre class="programlisting">#define STUN_MESSAGE_TYPE_POS 0
</pre>
<p>Offset of the type field of a STUN message (in bytes).</p>
</div>
<hr>
<div class="refsect2">
<a name="TURN-MAGIC-COOKIE:CAPS"></a><h3>TURN_MAGIC_COOKIE</h3>
<pre class="programlisting">#define TURN_MAGIC_COOKIE 0x72c64bc6
</pre>
<p>Magic cookie value used to identify TURN messages.</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>
|