summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_async.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/ng_async.4')
-rw-r--r--share/man/man4/ng_async.412
1 files changed, 8 insertions, 4 deletions
diff --git a/share/man/man4/ng_async.4 b/share/man/man4/ng_async.4
index 22c67b9..01d3c6d 100644
--- a/share/man/man4/ng_async.4
+++ b/share/man/man4/ng_async.4
@@ -54,7 +54,8 @@ asynchronous serial line.
.Pp
The node transmits and receives asynchronous data on the
.Dv async
-hook. Mbuf boundaries of incoming data are ignored.
+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
@@ -68,7 +69,8 @@ and sent out on
.Dv async .
Received packets should start with the address and control fields,
or the PPP protocol field if address and control field compression
-is employed, and contain no checksum field. If the first four bytes are
+is employed, and contain no checksum field.
+If the first four bytes are
.Dv "0xff 0x03 0xc0 0x21"
(an LCP protocol frame) then complete control character escaping
is enabled for that frame (in PPP, LCP packets are always sent with
@@ -93,7 +95,8 @@ Typically this hook would be connected to a
.Xr ng_tty 4
node, which handles transmission of serial data over a tty device.
.It Dv sync
-Synchronous connection. This hook sends and receives synchronous frames.
+Synchronous connection.
+This hook sends and receives synchronous frames.
For PPP, these frames should contain address, control, and protocol fields,
but no checksum field.
Typically this hook would be connected to an individual link hook of a
@@ -132,7 +135,8 @@ The
and
.Dv smru
fields are the asynchronous and synchronous MRU (maximum receive unit) values,
-respectively. These both default to 1600; note that the async MRU
+respectively.
+These both default to 1600; note that the async MRU
applies to the incoming frame length after asynchronous decoding.
The
.Dv accm
OpenPOWER on IntegriCloud