From efda26dee0831b0c0131a9eaea58f1762477af33 Mon Sep 17 00:00:00 2001 From: benno Date: Mon, 8 Mar 2004 13:46:52 +0000 Subject: [PATCH] Manual page for the ng_atmllc node type. Currently missing a history section. --- share/man/man4/Makefile | 1 + share/man/man4/ng_atmllc.4 | 93 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 share/man/man4/ng_atmllc.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 5e340fbae204..9088552086c2 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -150,6 +150,7 @@ MAN= aac.4 \ netintro.4 \ ng_async.4 \ ng_atm.4 \ + ng_atmllc.4 \ ng_atmpif.4 \ ng_bluetooth.4 \ ng_bpf.4 \ diff --git a/share/man/man4/ng_atmllc.4 b/share/man/man4/ng_atmllc.4 new file mode 100644 index 000000000000..4f7513ed77a2 --- /dev/null +++ b/share/man/man4/ng_atmllc.4 @@ -0,0 +1,93 @@ +.\" Copyright (c) 2004 Benno Rice +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd March 8, 2004 +.Dt NG_ATMLLC 4 +.Os +.Sh NAME +.Nm ng_atmllc +.Nd ATM LLC netgraph node type +.Sh SYNOPSIS +.In netgraph/ng_atmllc.h +.Sh DESCRIPTION +The +.Nm atmllc +node type translates frames in to and out of ATM LLC encapsulation, +as specified by RFC 1483. +In LLC encapsulation the protocol of a given protocol data unit (PDU) is +specified by an IEEE 802.2 LLC header, possibly followed by an IEEE 802.1a +SubNetwork Attachment Point (SNAP) header. +This node currently handles the Ethernet and FDDI protocols. +.Pp +The node transmits and receives ATM PDUs on the +.Dv atm +hook. Received PDUs are decoded and forwarded to the +.Dv ether +or +.Dv fddi +hooks as appropriate. Data received on the +.Dv ether +or +.Dv fddi +hooks are assumed to be full ethernet or fddi packets as appropriate and are +encapsulated into a PDU and transmitted via the +.Dv atm +hook. +.Sh HOOKS +This node type supports the following hooks: +.Pp +.Bl -tag -width foobar +.It Dv atm +ATM connection. +Typically this hook would be connected to a +.Xr ng_atm 4 +node, which handles transmission of ATM PDUs over an ATM device. +.It Dv ether +Ethernet connection. This hook sends and receives ethernet frames. +This would normally be connected to an +.Xr ng_eiface 4 +node if in use. +.It Dv fddi +FDDI connection. This hook sends and receives FDDI frames. +.El +.Sh CONTROL MESSAGES +This node type supports the generic control messages. +.Sh SHUTDOWN +This node shuts down upon receipt of a +.Dv NGM_SHUTDOWN +control message, or when all hooks have been disconnected. +.Sh SEE ALSO +.Xr netgraph 4 , +.Xr ng_atm 4 , +.Xr ng_eiface 4 , +.Xr ngctl 8 +.Rs +.%A J. Heinanen +.%T "Multiprotocol Encapsulation over ATM Adaptation Layer 5" +.%O RFC 1483 +.Re +.Sh AUTHORS +.An Benno Rice Aq benno@FreeBSD.org