Deleted Added
full compact
pfil.9 (240573) pfil.9 (241245)
1.\" $NetBSD: pfil.9,v 1.22 2003/07/01 13:04:06 wiz Exp $
2.\"
3.\" Copyright (c) 1996 Matthew R. Green
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 12 unchanged lines hidden (view full) ---

21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
1.\" $NetBSD: pfil.9,v 1.22 2003/07/01 13:04:06 wiz Exp $
2.\"
3.\" Copyright (c) 1996 Matthew R. Green
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 12 unchanged lines hidden (view full) ---

21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\" $FreeBSD: head/share/man/man9/pfil.9 240573 2012-09-16 21:17:28Z joel $
29.\" $FreeBSD: head/share/man/man9/pfil.9 241245 2012-10-06 10:02:11Z glebius $
30.\"
30.\"
31.Dd September 16, 2012
31.Dd October 6, 2012
32.Dt PFIL 9
33.Os
34.Sh NAME
35.Nm pfil ,
36.Nm pfil_head_register ,
37.Nm pfil_head_unregister ,
38.Nm pfil_head_get ,
39.Nm pfil_hook_get ,

--- 82 unchanged lines hidden (view full) ---

122if the processing is to continue.
123If the packet processing is to stop, it is the responsibility of the
124filter to free the packet.
125.Sh FILTERING POINTS
126Currently, filtering points are implemented for the following link types:
127.Pp
128.Bl -tag -width "AF_INET6" -offset XXX -compact
129.It AF_INET
32.Dt PFIL 9
33.Os
34.Sh NAME
35.Nm pfil ,
36.Nm pfil_head_register ,
37.Nm pfil_head_unregister ,
38.Nm pfil_head_get ,
39.Nm pfil_hook_get ,

--- 82 unchanged lines hidden (view full) ---

122if the processing is to continue.
123If the packet processing is to stop, it is the responsibility of the
124filter to free the packet.
125.Sh FILTERING POINTS
126Currently, filtering points are implemented for the following link types:
127.Pp
128.Bl -tag -width "AF_INET6" -offset XXX -compact
129.It AF_INET
130IPv4 packets.
130.It AF_INET6
131.It AF_INET6
131IPv4 and IPv6 packets. Note that packet header is already
132.Cm converted to host format.
133Host format has to be preserved in case of header modifications.
132IPv6 packets.
134.It AF_LINK
135Link-layer packets.
136.El
137.Sh RETURN VALUES
138If successful,
139.Fn pfil_head_get
140returns the
141.Vt pfil_head

--- 70 unchanged lines hidden ---
133.It AF_LINK
134Link-layer packets.
135.El
136.Sh RETURN VALUES
137If successful,
138.Fn pfil_head_get
139returns the
140.Vt pfil_head

--- 70 unchanged lines hidden ---