xref: /freebsd/share/man/man4/ng_gif_demux.4 (revision c60bda17f2a9ed4a8c1ef6483ee7b8f207de7129)
194408d94SBrooks Davis.\" Copyright 2000 The Aerospace Corporation.  All rights reserved.
294408d94SBrooks Davis.\"
394408d94SBrooks Davis.\" Redistribution and use in source and binary forms, with or without
494408d94SBrooks Davis.\" modification, are permitted provided that the following conditions
594408d94SBrooks Davis.\" are met:
694408d94SBrooks Davis.\"
794408d94SBrooks Davis.\" 1.  Redistributions of source code must retain the above copyright
894408d94SBrooks Davis.\"     notice, this list of conditions, and the following disclaimer.
994408d94SBrooks Davis.\" 2.  Redistributions in binary form must reproduce the above copyright
1094408d94SBrooks Davis.\"     notice, this list of conditions, and the following disclaimer in the
1194408d94SBrooks Davis.\"     documentation and/or other materials provided with the distribution.
1294408d94SBrooks Davis.\" 3.  The name of The Aerospace Corporation may not be used to endorse or
1394408d94SBrooks Davis.\"     promote products derived from this software.
1494408d94SBrooks Davis.\"
1594408d94SBrooks Davis.\" THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION "AS IS" AND
1694408d94SBrooks Davis.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1794408d94SBrooks Davis.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1894408d94SBrooks Davis.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AEROSPACE CORPORATION BE LIABLE FOR
1994408d94SBrooks Davis.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2094408d94SBrooks Davis.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2194408d94SBrooks Davis.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2294408d94SBrooks Davis.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2394408d94SBrooks Davis.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2494408d94SBrooks Davis.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2594408d94SBrooks Davis.\" SUCH DAMAGE.
2694408d94SBrooks Davis.\"
2794408d94SBrooks Davis.\" Author: Brooks Davis <brooks@FreeBSD.org>
2894408d94SBrooks Davis.\"
2994408d94SBrooks Davis.\" $FreeBSD$
3094408d94SBrooks Davis.\"
3194408d94SBrooks Davis.Dd September 18, 2001
3294408d94SBrooks Davis.Dt NG_GIF_DEMUX 4
3394408d94SBrooks Davis.Os
3494408d94SBrooks Davis.Sh NAME
3594408d94SBrooks Davis.Nm ng_gif_demux
3632b10962SRuslan Ermilov.Nd demultiplexer for packets from
3794408d94SBrooks Davis.Xr ng_gif 4
3894408d94SBrooks Davisnodes
3994408d94SBrooks Davis.Sh SYNOPSIS
4032b10962SRuslan Ermilov.In netgraph/ng_gif_demux.h
4194408d94SBrooks Davis.Sh DESCRIPTION
4294408d94SBrooks DavisThe
4394408d94SBrooks Davis.Nm
4494408d94SBrooks Davisnetgraph node type demultiplexes the output from
4594408d94SBrooks Davis.Xr ng_gif 4
4694408d94SBrooks Davisnodes in the
4794408d94SBrooks Davis.Xr netgraph 4
4894408d94SBrooks Davisnetworking subsystem.
4994408d94SBrooks Davis.Pp
5094408d94SBrooks DavisThe
5194408d94SBrooks Davis.Dv gif
5232b10962SRuslan Ermilovhook is meant to be connected to the
5394408d94SBrooks Davis.Dv lower
5494408d94SBrooks Davisor
5594408d94SBrooks Davis.Dv orphans
5694408d94SBrooks Davishook of an
5794408d94SBrooks Davis.Xr ng_gif 4
5894408d94SBrooks Davisnode.
5994408d94SBrooks DavisThe
6032b10962SRuslan Ermilov.Dv inet , inet6 , atalk , ipx , atm , natm ,
6194408d94SBrooks Davisand
6294408d94SBrooks Davis.Dv ns
6332b10962SRuslan Ermilovhooks output frames of the given type when they are received on the
6494408d94SBrooks Davis.Dv gif
6594408d94SBrooks Davishook.
6632b10962SRuslan ErmilovWhen a frame is received on one of these hooks, it is encapsulated and
6794408d94SBrooks Davissent out the
6894408d94SBrooks Davis.Dv gif
6994408d94SBrooks Davishook.
7094408d94SBrooks Davis.Sh HOOKS
7194408d94SBrooks DavisThis node type supports the following hooks:
7232b10962SRuslan Ermilov.Bl -tag -width ".Dv inet6"
73*c60bda17SJoel Dahl.It Va gif
7494408d94SBrooks DavisConnection to the
7594408d94SBrooks Davis.Dv lower
7694408d94SBrooks Davisor
7794408d94SBrooks Davis.Dv orphans
7894408d94SBrooks Davishook of an
7994408d94SBrooks Davis.Xr ng_gif 4
8094408d94SBrooks Davisnode.
81*c60bda17SJoel Dahl.It Va inet
8294408d94SBrooks DavisHook for input and output of IP frames.
83*c60bda17SJoel Dahl.It Va inet6
8494408d94SBrooks DavisHook for input and output of IPv6 frames.
85*c60bda17SJoel Dahl.It Va atalk
8694408d94SBrooks DavisHook for input and output of AppleTalk frames.
87*c60bda17SJoel Dahl.It Va ipx
8894408d94SBrooks DavisHook for input and output of IPX frames.
89*c60bda17SJoel Dahl.It Va atm
9094408d94SBrooks DavisHook for input and output of ATM frames.
91*c60bda17SJoel Dahl.It Va natm
9294408d94SBrooks DavisHook for input and output of NATM frames.
93*c60bda17SJoel Dahl.It Va ns
9494408d94SBrooks DavisHook for input and output of NS frames.
9594408d94SBrooks Davis.El
9694408d94SBrooks Davis.Sh CONTROL MESSAGES
9732b10962SRuslan ErmilovThis node type supports only the generic control messages.
9894408d94SBrooks Davis.Sh SEE ALSO
9994408d94SBrooks Davis.Xr gif 4 ,
10094408d94SBrooks Davis.Xr netgraph 4 ,
10194408d94SBrooks Davis.Xr netintro 4 ,
10294408d94SBrooks Davis.Xr ng_gif 4 ,
10394408d94SBrooks Davis.Xr ifconfig 8 ,
10494408d94SBrooks Davis.Xr ngctl 8 ,
10594408d94SBrooks Davis.Xr nghook 8
10694408d94SBrooks Davis.Sh AUTHORS
10794408d94SBrooks Davis.An Brooks Davis Aq brooks@FreeBSD.org
108