pfil.9 (f16b3c0de48d0b845357e7cca843f645bc3117e3) pfil.9 (b82af3f5e42ab9d848c572b3384fb389fd855ecc)
1.\" Copyright (c) 1996 Matthew R. Green
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

87and
88.Va m
89arguments describe the network interface and the mbuf holding data for this
90packet. The
91.Va dir
92is the direction; 0 for incoming packets and 1 for outgoing packets. if the function
93returns non-zero, this signals an error and no further processing of this packet is
94performed. The function should set errno to indicate the nature of the error.
1.\" Copyright (c) 1996 Matthew R. Green
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

87and
88.Va m
89arguments describe the network interface and the mbuf holding data for this
90packet. The
91.Va dir
92is the direction; 0 for incoming packets and 1 for outgoing packets. if the function
93returns non-zero, this signals an error and no further processing of this packet is
94performed. The function should set errno to indicate the nature of the error.
95It is the hook's responsibiliy to free the chain if the packet is being dropped.
95It is the hook's responsibility to free the chain if the packet is being dropped.
96.Pp
97The
98.Nm
99interface is enabled in the kernel via the
100.Sy PFIL_HOOKS
101option.
102.Sh RETURN VALUES
103If successful

--- 39 unchanged lines hidden ---
96.Pp
97The
98.Nm
99interface is enabled in the kernel via the
100.Sy PFIL_HOOKS
101option.
102.Sh RETURN VALUES
103If successful

--- 39 unchanged lines hidden ---