xref: /freebsd/share/man/man4/ng_gif_demux.4 (revision 2008043f386721d58158e37e0d7e50df8095942d)
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.Dd September 18, 2001
30.Dt NG_GIF_DEMUX 4
31.Os
32.Sh NAME
33.Nm ng_gif_demux
34.Nd demultiplexer for packets from
35.Xr ng_gif 4
36nodes
37.Sh SYNOPSIS
38.In netgraph/ng_gif_demux.h
39.Sh DESCRIPTION
40The
41.Nm
42netgraph node type demultiplexes the output from
43.Xr ng_gif 4
44nodes in the
45.Xr netgraph 4
46networking subsystem.
47.Pp
48The
49.Dv gif
50hook is meant to be connected to the
51.Dv lower
52or
53.Dv orphans
54hook of an
55.Xr ng_gif 4
56node.
57The
58.Dv inet , inet6 , atalk , ipx , atm , natm ,
59and
60.Dv ns
61hooks output frames of the given type when they are received on the
62.Dv gif
63hook.
64When a frame is received on one of these hooks, it is encapsulated and
65sent out the
66.Dv gif
67hook.
68.Sh HOOKS
69This node type supports the following hooks:
70.Bl -tag -width ".Dv inet6"
71.It Va gif
72Connection to the
73.Dv lower
74or
75.Dv orphans
76hook of an
77.Xr ng_gif 4
78node.
79.It Va inet
80Hook for input and output of IP frames.
81.It Va inet6
82Hook for input and output of IPv6 frames.
83.It Va atalk
84Hook for input and output of AppleTalk frames.
85.It Va ipx
86Hook for input and output of IPX frames.
87.It Va atm
88Hook for input and output of ATM frames.
89.It Va natm
90Hook for input and output of NATM frames.
91.It Va ns
92Hook for input and output of NS frames.
93.El
94.Sh CONTROL MESSAGES
95This node type supports only the generic control messages.
96.Sh SEE ALSO
97.Xr gif 4 ,
98.Xr netgraph 4 ,
99.Xr netintro 4 ,
100.Xr ng_gif 4 ,
101.Xr ifconfig 8 ,
102.Xr ngctl 8 ,
103.Xr nghook 8
104.Sh AUTHORS
105.An Brooks Davis Aq Mt brooks@FreeBSD.org
106