xref: /freebsd/share/man/man4/ng_ip_input.4 (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
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.\" $FreeBSD$
63.\"
64.Dd September 27, 2001
65.Dt NG_IP_INPUT 4
66.Os
67.Sh NAME
68.Nm ng_ip_input
69.Nd netgraph IP input node type
70.Sh SYNOPSIS
71.In netgraph/ng_ip_input.h
72.Sh DESCRIPTION
73The
74.Nm ip_input
75node type takes all received packets and queues them into the IP in
76input processing subsystem.
77.Sh HOOKS
78An
79.Nm
80node accepts any request to connect, regardless of the hook name,
81as long as the name is unique.
82.Sh CONTROL MESSAGES
83This node type supports only the generic control messages.
84Other control messages are silently discarded.
85.Sh SHUTDOWN
86This node shuts down upon receipt of a
87.Dv NGM_SHUTDOWN
88control message, or when all hooks have been disconnected.
89.Sh SEE ALSO
90.Xr netgraph 4 ,
91.Xr ngctl 8
92.Sh HISTORY
93The
94.Nm
95node type was implemented in
96.Fx 5.0 .
97.Sh AUTHORS
98.An Brooks Davis Aq brooks@FreeBSD.org
99.Sh BUGS
100The
101.Nm
102node type should probably keep some sort of statistics.
103