Annotation of embedaddon/mpd/doc/mpd44.html, revision 1.1
1.1 ! misho 1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
! 2: <HTML>
! 3: <HEAD>
! 4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
! 5: <TITLE>Netgraph device type commands</TITLE>
! 6: </HEAD>
! 7: <BODY text="#000000" bgcolor="#ffffff">
! 8:
! 9: <A HREF="mpd.html"><EM>Mpd 5.6 User Manual</EM></A>
! 10: <b>:</b> <A HREF="mpd42.html"><EM>Device Types</EM></A>
! 11: <b>:</b> <EM>Netgraph device type commands</EM><BR>
! 12: <b>Previous:</b> <A HREF="mpd43.html"><EM>Modem type commands</EM></A><BR>
! 13: <b>Next:</b> <A HREF="mpd45.html"><EM>TCP device type commands</EM></A>
! 14:
! 15:
! 16: <HR NOSHADE>
! 17: <H2><A NAME="44"></A>5.2. Netgraph device type commands<A NAME="netgraph"></A></H2>
! 18: <p>This chapter describes commands that are specific to netgraph type links.
! 19: These commands apply to the currently active link, and are only
! 20: valid if the currently active link has type <b>ng</b>.</p>
! 21: <p>Note that this device type has no direct way to detect a physical layer
! 22: disconnection (i.e., what would be analogous to loss of carrier detect)
! 23: except by receiving a write error. One way to achieve this is to
! 24: insure that when the physical layer goes down, the connection to
! 25: the Netgraph hook is broken.</p>
! 26: <p>
! 27: <dl>
! 28:
! 29: <dt><b><code>set ng node <em>nodepath</em></code></b><dd>
! 30: <dt><b><code>set ng hook <em>hook</em></code></b><dd><p>These commands configure which Netgraph node, and which hook on that
! 31: node, mpd is supposed to connect to. The node is found via the
! 32: absolute Negraph address <code><em>nodepath</em></code> and must have
! 33: a free hook named <code><em>hook</em></code>. Both of these commands
! 34: are required.</p>
! 35: <p>The hook should be connectable directly to a link hook of the
! 36: <code>ng_ppp(3)</code> netgraph node type. That is, it should be
! 37: prepared to transmit and receive PPP frames starting with the
! 38: address and control fields (unless compressed), followed by the
! 39: PPP protocol number and information fields, but containing no
! 40: checksum field.</p>
! 41:
! 42: </dl>
! 43: </p>
! 44:
! 45:
! 46:
! 47: <HR NOSHADE>
! 48: <A HREF="mpd.html"><EM>Mpd 5.6 User Manual</EM></A>
! 49: <b>:</b> <A HREF="mpd42.html"><EM>Device Types</EM></A>
! 50: <b>:</b> <EM>Netgraph device type commands</EM><BR>
! 51: <b>Previous:</b> <A HREF="mpd43.html"><EM>Modem type commands</EM></A><BR>
! 52: <b>Next:</b> <A HREF="mpd45.html"><EM>TCP device type commands</EM></A>
! 53:
! 54:
! 55:
! 56: </BODY>
! 57: </HTML>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>