xref: /freebsd/share/man/man4/ng_ip_input.4 (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1.\" Copyright 2001 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
19.\" FOR 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.\" Copyright (c) 1996-1999 Whistle Communications, Inc.
28.\" All rights reserved.
29.\"
30.\" Subject to the following obligations and disclaimer of warranty, use and
31.\" redistribution of this software, in source or object code forms, with or
32.\" without modifications are expressly permitted by Whistle Communications;
33.\" provided, however, that:
34.\" 1. Any and all reproductions of the source or object code must include the
35.\"    copyright notice above and the following disclaimer of warranties; and
36.\" 2. No rights are granted, in any manner or form, to use Whistle
37.\"    Communications, Inc. trademarks, including the mark "WHISTLE
38.\"    COMMUNICATIONS" on advertising, endorsements, or otherwise except as
39.\"    such appears in the above copyright notice or in the software.
40.\"
41.\" THIS SOFTWARE IS BEING PROVIDED BY WHISTLE COMMUNICATIONS "AS IS", AND
42.\" TO THE MAXIMUM EXTENT PERMITTED BY LAW, WHISTLE COMMUNICATIONS MAKES NO
43.\" REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SOFTWARE,
44.\" INCLUDING WITHOUT LIMITATION, ANY AND ALL IMPLIED WARRANTIES OF
45.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
46.\" WHISTLE COMMUNICATIONS DOES NOT WARRANT, GUARANTEE, OR MAKE ANY
47.\" REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS OF THE USE OF THIS
48.\" SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY OR OTHERWISE.
49.\" IN NO EVENT SHALL WHISTLE COMMUNICATIONS BE LIABLE FOR ANY DAMAGES
50.\" RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING
51.\" WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
52.\" PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR
53.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
54.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
55.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
56.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
57.\" OF SUCH DAMAGE.
58.\"
59.\" Author:		Brooks Davis <brooks@FreeBSD.org>
60.\" Derived from:	ng_hole.4
61.\"
62.Dd September 27, 2001
63.Dt NG_IP_INPUT 4
64.Os
65.Sh NAME
66.Nm ng_ip_input
67.Nd netgraph IP input node type
68.Sh SYNOPSIS
69.In netgraph/ng_ip_input.h
70.Sh DESCRIPTION
71The
72.Nm ip_input
73node type takes all received packets and queues them into the IP in
74input processing subsystem.
75.Sh HOOKS
76An
77.Nm
78node accepts any request to connect, regardless of the hook name,
79as long as the name is unique.
80.Sh CONTROL MESSAGES
81This node type supports only the generic control messages.
82Other control messages are silently discarded.
83.Sh SHUTDOWN
84This node shuts down upon receipt of a
85.Dv NGM_SHUTDOWN
86control message, or when all hooks have been disconnected.
87.Sh SEE ALSO
88.Xr netgraph 4 ,
89.Xr ngctl 8
90.Sh HISTORY
91The
92.Nm
93node type was implemented in
94.Fx 5.0 .
95.Sh AUTHORS
96.An Brooks Davis Aq Mt brooks@FreeBSD.org
97.Sh BUGS
98The
99.Nm
100node type should probably keep some sort of statistics.
101