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