diff options
Diffstat (limited to 'static/freebsd/man4/ng_UI.4 4.html')
| -rw-r--r-- | static/freebsd/man4/ng_UI.4 4.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/static/freebsd/man4/ng_UI.4 4.html b/static/freebsd/man4/ng_UI.4 4.html new file mode 100644 index 00000000..8c280c39 --- /dev/null +++ b/static/freebsd/man4/ng_UI.4 4.html @@ -0,0 +1,75 @@ +<table class="head"> + <tr> + <td class="head-ltitle">NG_UI(4)</td> + <td class="head-vol">Device Drivers Manual</td> + <td class="head-rtitle">NG_UI(4)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">ng_UI</code> — <span class="Nd">UI + netgraph node type</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp"><code class="In">#include + <<a class="In">netgraph/ng_UI.h</a>></code></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">UI</code> node type has two hooks, + <code class="Dv">upstream</code> and <code class="Dv">downstream</code>. + Packets received on <code class="Dv">downstream</code> must have 0x03 + (indicating unnumbered information) as their first byte; if not the packet + is dropped. This byte is then stripped and the remainder of the packet sent + out on <code class="Dv">upstream</code>.</p> +<p class="Pp">Conversely, packets received on <code class="Dv">upstream</code> + will have a 0x03 byte prepended to them before being forwarded out on the + <code class="Dv">downstream</code> hook.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HOOKS"><a class="permalink" href="#HOOKS">HOOKS</a></h1> +<p class="Pp">This node type supports the following hooks:</p> +<dl class="Bl-tag"> + <dt id="downstream"><var class="Va">downstream</var></dt> + <dd>Downstream connection. Packets on this side of the node have a 0x03 as + their first byte.</dd> + <dt id="upstream"><var class="Va">upstream</var></dt> + <dd>Upstream connection. Packets on this side of the node have the initial + 0x03 byte stripped off.</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="CONTROL_MESSAGES"><a class="permalink" href="#CONTROL_MESSAGES">CONTROL + MESSAGES</a></h1> +<p class="Pp">This node type supports only the generic control messages.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SHUTDOWN"><a class="permalink" href="#SHUTDOWN">SHUTDOWN</a></h1> +<p class="Pp">This node shuts down upon receipt of a + <code class="Dv">NGM_SHUTDOWN</code> control message, or when both hooks + have been disconnected.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">netgraph(4)</a>, <a class="Xr">ngctl(8)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">The <code class="Nm">ng_UI</code> node type was implemented in + <span class="Ux">FreeBSD 4.0</span>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> +<p class="Pp"><span class="An">Julian Elischer</span> + <<a class="Mt" href="mailto:julian@FreeBSD.org">julian@FreeBSD.org</a>></p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">January 19, 1999</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
