aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/fil.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-03-21 11:34:28 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-03-21 11:34:28 +0000
commit1ee25934a9c21940ff131a176a085bddf3e40f10 (patch)
tree07c651cc3834443c8e44037a57aebd04ea7053c6 /sys/netinet/fil.c
parent48cb3612ce409eda8b3dcb5380a73ae87bed3215 (diff)
Notes
Diffstat (limited to 'sys/netinet/fil.c')
-rw-r--r--sys/netinet/fil.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/netinet/fil.c b/sys/netinet/fil.c
index 58c28e14126b..57190a99dcd0 100644
--- a/sys/netinet/fil.c
+++ b/sys/netinet/fil.c
@@ -7,15 +7,19 @@
*/
#if !defined(lint)
static const char sccsid[] = "@(#)fil.c 1.36 6/5/96 (C) 1993-1996 Darren Reed";
-static const char rcsid[] = "@(#)$Id: fil.c,v 2.0.2.41.2.9 1997/12/02 13:56:06 darrenr Exp $";
+static const char rcsid[] = "@(#)$Id: fil.c,v 1.1.1.6 1998/03/21 10:11:28 peter Exp $";
#endif
+#include "opt_ipfilter.h"
+
#include <sys/errno.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/file.h>
-#include <sys/ioctl.h>
+#if !defined(__FreeBSD__)
+# include <sys/ioctl.h>
+#endif
#if (defined(_KERNEL) || defined(KERNEL)) && !defined(linux)
# include <sys/systm.h>
#else
@@ -32,6 +36,9 @@ static const char rcsid[] = "@(#)$Id: fil.c,v 2.0.2.41.2.9 1997/12/02 13:56:06 d
# include <sys/dditypes.h>
# include <sys/stream.h>
#endif
+#if defined(__FreeBSD__)
+# include <sys/malloc.h>
+#endif
#ifndef linux
# include <sys/protosw.h>
# include <sys/socket.h>
@@ -1073,7 +1080,7 @@ nodata:
* SUCH DAMAGE.
*
* @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
- * $Id: fil.c,v 2.0.2.41.2.9 1997/12/02 13:56:06 darrenr Exp $
+ * $Id: fil.c,v 1.1.1.6 1998/03/21 10:11:28 peter Exp $
*/
/*
* Copy data from an mbuf chain starting "off" bytes from the beginning,