2004-03-08 13:46:52 +00:00
|
|
|
.\" Copyright (c) 2004 Benno Rice <benno@FreeBSD.org>
|
|
|
|
.\" 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
|
2004-07-09 07:26:15 +00:00
|
|
|
.Va atm
|
2004-07-03 18:29:24 +00:00
|
|
|
hook.
|
|
|
|
Received PDUs are decoded and forwarded to the
|
2004-07-09 07:26:15 +00:00
|
|
|
.Va ether
|
2004-03-08 13:46:52 +00:00
|
|
|
or
|
2004-07-09 07:26:15 +00:00
|
|
|
.Va fddi
|
2004-07-03 18:29:24 +00:00
|
|
|
hooks as appropriate.
|
|
|
|
Data received on the
|
2004-07-09 07:26:15 +00:00
|
|
|
.Va ether
|
2004-03-08 13:46:52 +00:00
|
|
|
or
|
2004-07-09 07:26:15 +00:00
|
|
|
.Va fddi
|
|
|
|
hooks are assumed to be full Ethernet or FDDI packets as appropriate and are
|
2004-03-08 13:46:52 +00:00
|
|
|
encapsulated into a PDU and transmitted via the
|
2004-07-09 07:26:15 +00:00
|
|
|
.Va atm
|
2004-03-08 13:46:52 +00:00
|
|
|
hook.
|
|
|
|
.Sh HOOKS
|
|
|
|
This node type supports the following hooks:
|
2012-11-13 20:41:36 +00:00
|
|
|
.Bl -tag -width ".Va ether"
|
2004-07-09 07:26:15 +00:00
|
|
|
.It Va atm
|
2004-03-08 13:46:52 +00:00
|
|
|
ATM connection.
|
2004-07-09 07:26:15 +00:00
|
|
|
Typically, this hook would be connected to a
|
2004-03-08 13:46:52 +00:00
|
|
|
.Xr ng_atm 4
|
|
|
|
node, which handles transmission of ATM PDUs over an ATM device.
|
2004-07-09 07:26:15 +00:00
|
|
|
.It Va ether
|
2004-07-03 18:29:24 +00:00
|
|
|
Ethernet connection.
|
2004-07-09 07:26:15 +00:00
|
|
|
This hook sends and receives Ethernet frames.
|
2004-03-08 13:46:52 +00:00
|
|
|
This would normally be connected to an
|
|
|
|
.Xr ng_eiface 4
|
|
|
|
node if in use.
|
2004-07-09 07:26:15 +00:00
|
|
|
.It Va fddi
|
2004-07-03 18:29:24 +00:00
|
|
|
FDDI connection.
|
|
|
|
This hook sends and receives FDDI frames.
|
2004-03-08 13:46:52 +00:00
|
|
|
.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
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Benno Rice Aq Mt benno@FreeBSD.org
|