xref: /freebsd/share/man/man4/ng_gif_demux.4 (revision 9336e0699bda8a301cd2bfa37106b6ec5e32012e)
1.\" Copyright 2000 The Aerospace Corporation.  All rights reserved.
2.\"
3.\" Redistribution and use in source and binary forms, with or without
4.\" modification, are permitted provided that the following conditions
5.\" are met:
6.\"
7.\" 1.  Redistributions of source code must retain the above copyright
8.\"     notice, this list of conditions, and the following disclaimer.
9.\" 2.  Redistributions in binary form must reproduce the above copyright
10.\"     notice, this list of conditions, and the following disclaimer in the
11.\"     documentation and/or other materials provided with the distribution.
12.\" 3.  The name of The Aerospace Corporation may not be used to endorse or
13.\"     promote products derived from this software.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION "AS IS" AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AEROSPACE CORPORATION BE LIABLE FOR
19.\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" Author: Brooks Davis <brooks@FreeBSD.org>
28.\"
29.\" $FreeBSD$
30.\"
31.Dd September 18, 2001
32.Dt NG_GIF_DEMUX 4
33.Os
34.Sh NAME
35.Nm ng_gif_demux
36.Nd demultiplexer for packets from
37.Xr ng_gif 4
38nodes
39.Sh SYNOPSIS
40.In netgraph/ng_gif_demux.h
41.Sh DESCRIPTION
42The
43.Nm
44netgraph node type demultiplexes the output from
45.Xr ng_gif 4
46nodes in the
47.Xr netgraph 4
48networking subsystem.
49.Pp
50The
51.Dv gif
52hook is meant to be connected to the
53.Dv lower
54or
55.Dv orphans
56hook of an
57.Xr ng_gif 4
58node.
59The
60.Dv inet , inet6 , atalk , ipx , atm , natm ,
61and
62.Dv ns
63hooks output frames of the given type when they are received on the
64.Dv gif
65hook.
66When a frame is received on one of these hooks, it is encapsulated and
67sent out the
68.Dv gif
69hook.
70.Sh HOOKS
71This node type supports the following hooks:
72.Bl -tag -width ".Dv inet6"
73.It Dv gif
74Connection to the
75.Dv lower
76or
77.Dv orphans
78hook of an
79.Xr ng_gif 4
80node.
81.It Dv inet
82Hook for input and output of IP frames.
83.It Dv inet6
84Hook for input and output of IPv6 frames.
85.It Dv atalk
86Hook for input and output of AppleTalk frames.
87.It Dv ipx
88Hook for input and output of IPX frames.
89.It Dv atm
90Hook for input and output of ATM frames.
91.It Dv natm
92Hook for input and output of NATM frames.
93.It Dv ns
94Hook for input and output of NS frames.
95.El
96.Sh CONTROL MESSAGES
97This node type supports only the generic control messages.
98.Sh SEE ALSO
99.Xr gif 4 ,
100.Xr netgraph 4 ,
101.Xr netintro 4 ,
102.Xr ng_gif 4 ,
103.Xr ifconfig 8 ,
104.Xr ngctl 8 ,
105.Xr nghook 8
106.Sh AUTHORS
107.An Brooks Davis Aq brooks@FreeBSD.org
108