diff options
author | archie <archie@FreeBSD.org> | 1999-11-08 03:14:58 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1999-11-08 03:14:58 +0000 |
commit | 2b4ef4a6f0ffff13554a0243775ab7e01f364385 (patch) | |
tree | 8cd5e46cc4778c9890fc072e3aa772e9cd1480df /share/man | |
parent | b947ec4c368a1c1ef73466ad4b313735e18e61cc (diff) | |
download | FreeBSD-src-2b4ef4a6f0ffff13554a0243775ab7e01f364385.zip FreeBSD-src-2b4ef4a6f0ffff13554a0243775ab7e01f364385.tar.gz |
Update to better reflect reality.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/ng_async.4 | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/share/man/man4/ng_async.4 b/share/man/man4/ng_async.4 index 2d0a0d4..327d21f 100644 --- a/share/man/man4/ng_async.4 +++ b/share/man/man4/ng_async.4 @@ -50,28 +50,28 @@ node type performs conversion between synchronous frames and asynchronous frames, as defined for the PPP protocol in RFC 1662. Asynchronous framing uses flag bytes and octet-stuffing to simulate a frame oriented connection over an octet-oriented -asynchronous line. +asynchronous serial line. .Pp The node transmits and receives asynchronous data on the .Dv async -hook. Incoming data mbuf boundaries are ignored, while -outgoing data is sent as a complete frame at a time. +hook. Mbuf boundaries of incoming data are ignored. +Once a complete packet has been received, it is decoded and +stripped of all framing bytes, and transmitted out the +.Dv sync +hook as a single frame. The address and control bytes, +if present, are removed from the beginning of the frame. .Pp -There are two synchronous hooks, +Synchronous frames are transmitted and received on the .Dv sync -and -.Dv sync2 . -For both hooks, received packets are encoded as asynchronous frames +hook. +Packets received on this hook are encoded as asynchronous frames and sent out on .Dv async . -Hook -.Dv sync2 -differs from -.Dv sync -only in that any configured address and control field compression -and/or control character escaping is disabled when the frame is encoded. -This is useful for transmitting PPP LCP packets, which are always sent -this way. +Received packets should start with the PPP protocol field. +If the LCP protocol (0xc021) is detected, +address and control field compression is disabled +and complete control character escaping is enabled for that frame +(in PPP, LCP packets are always sent with these settings). .Pp This node supports ``flag sharing'' for packets transmitted on .Dv async . @@ -92,9 +92,7 @@ node, which handles transmission of serial data over a tty device. Synchronous connection. This hook sends and receives synchronous frames. For PPP, these frames contain no address, control, or checksum fields; each frame begins with the PPP protocol number. Typically this hook would -be connected to the -.Dv downstream -hook of a +be connected to a link hook of a .Xr ng_ppp 8 type node. .El |