summaryrefslogtreecommitdiffstats
path: root/sys/contrib/pf/net/pf_osfp.c
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-06-16 23:24:02 +0000
committermlaier <mlaier@FreeBSD.org>2004-06-16 23:24:02 +0000
commit5eba7986748fd69671d135d7c2e6c08545799d55 (patch)
tree784e718bae8cf0d9b3a00c54f91661eb8aeee88f /sys/contrib/pf/net/pf_osfp.c
parent27ecf76342d463232e4a49959506df6807d5e5b9 (diff)
downloadFreeBSD-src-5eba7986748fd69671d135d7c2e6c08545799d55.zip
FreeBSD-src-5eba7986748fd69671d135d7c2e6c08545799d55.tar.gz
Commit pf version 3.5 and link additional files to the kernel build.
Version 3.5 brings: - Atomic commits of ruleset changes (reduce the chance of ending up in an inconsistent state). - A 30% reduction in the size of state table entries. - Source-tracking (limit number of clients and states per client). - Sticky-address (the flexibility of round-robin with the benefits of source-hash). - Significant improvements to interface handling. - and many more ...
Diffstat (limited to 'sys/contrib/pf/net/pf_osfp.c')
-rw-r--r--sys/contrib/pf/net/pf_osfp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/contrib/pf/net/pf_osfp.c b/sys/contrib/pf/net/pf_osfp.c
index 8687cb0..af05330 100644
--- a/sys/contrib/pf/net/pf_osfp.c
+++ b/sys/contrib/pf/net/pf_osfp.c
@@ -1,5 +1,5 @@
/* $FreeBSD$ */
-/* $OpenBSD: pf_osfp.c,v 1.3 2003/08/27 18:23:36 frantzen Exp $ */
+/* $OpenBSD: pf_osfp.c,v 1.9 2004/01/04 20:08:42 pvalchev Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org>
@@ -54,6 +54,7 @@ typedef struct pool pool_t;
# include <errno.h>
# include <stdio.h>
# include <stdlib.h>
+# include <string.h>
# define pool_t int
# define pool_get(pool, flags) malloc(*(pool))
# define pool_put(pool, item) free(item)
@@ -64,7 +65,7 @@ typedef struct pool pool_t;
# endif
# ifdef PFDEBUG
-# include <stdarg.h>
+# include <sys/stdarg.h>
# define DPFPRINTF(format, x...) fprintf(stderr, format , ##x)
# else
# define DPFPRINTF(format, x...) ((void)0)
OpenPOWER on IntegriCloud