summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_rfc1490.4
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-06-13 15:44:00 +0000
committerjulian <julian@FreeBSD.org>2004-06-13 15:44:00 +0000
commitdc9a24e5fa24af15022eb5ccfb420d0c55bc476e (patch)
treee02982ae9d89f38d216f0fc5b9b2048626c02bff /share/man/man4/ng_rfc1490.4
parent4707be9db2b74eec181c39fa563612a16cbda5f8 (diff)
downloadFreeBSD-src-dc9a24e5fa24af15022eb5ccfb420d0c55bc476e.zip
FreeBSD-src-dc9a24e5fa24af15022eb5ccfb420d0c55bc476e.tar.gz
Add the capacity for the rfc1490 node to handle cisco style encasulation
which is often used alongside rfc1490 in frame relay links. Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Diffstat (limited to 'share/man/man4/ng_rfc1490.4')
-rw-r--r--share/man/man4/ng_rfc1490.425
1 files changed, 23 insertions, 2 deletions
diff --git a/share/man/man4/ng_rfc1490.4 b/share/man/man4/ng_rfc1490.4
index 26fc21f..52a7099 100644
--- a/share/man/man4/ng_rfc1490.4
+++ b/share/man/man4/ng_rfc1490.4
@@ -62,7 +62,7 @@ hooks are used to transmit and receive raw IP frames and PPP frames,
respectively. PPP frames are transmitted and received according to
RFC 1973; in particular, frames appearing on the
.Dv ppp
-hook begin with the PPP protocol number. The
+hook begin with the PPP protocol number. The
.Dv ethernet
hook can be used to transmit and receive Ethernet frames (without a
checksum) in RFC 1490's bridging format.
@@ -88,7 +88,25 @@ Transmits and receives raw IP frames.
Transmits and receives PPP frames.
.El
.Sh CONTROL MESSAGES
-This node type only supports the generic control messages.
+This node type supports the generic control messages, plus the following:
+.Bl -tag -width foo
+.It Dv NGM_RFC1490_SETENCAP
+This command sets encapsulation method for the node.
+The desired method must be passed as a string message argument,
+and must be one of the following supported encapsulation modes:
+.Bl -tag
+.It Qq ietf-ip
+IP packets are sent using simple RFC1490/2427 encapsulation.
+.It Qq ietf-snap
+IP packets are sent inside SNAP frames.
+Also conforms to RFC1490/2427.
+.It Qq cisco
+IP packets are sent and received using proprietary Cisco encapsulation
+method.
+.El
+.It Dv NGM_RFC1490_GETENCAP
+This command returns current encapsulation method on the node.
+.El
.Sh SHUTDOWN
This node shuts down upon receipt of a
.Dv NGM_SHUTDOWN
@@ -111,6 +129,9 @@ Not all of RFC 1490 is implemented.
.%T "PPP in Frame Relay"
.%O RFC 1973
.Re
+.Rs
+http://www.cisco.com/warp/public/121/frf8modes.pdf
+.Re
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud