summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/files2
-rw-r--r--sys/conf/options2
-rw-r--r--sys/net/flowtable.c3
-rw-r--r--sys/net/flowtable.h2
4 files changed, 5 insertions, 4 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 158d262..59fc311 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2180,7 +2180,7 @@ net/bpf_jitter.c optional bpf_jitter
net/bpf_filter.c optional bpf | netgraph_bpf
net/bpf_zerocopy.c optional bpf
net/bridgestp.c optional bridge | if_bridge
-net/flowtable.c optional flowtable inet
+net/flowtable.c optional inet
net/ieee8023ad_lacp.c optional lagg
net/if.c standard
net/if_arcsubr.c optional arcnet
diff --git a/sys/conf/options b/sys/conf/options
index 5939832..ea46f61 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -421,7 +421,7 @@ TCP_OFFLOAD_DISABLE opt_inet.h #Disable code to dispatch tcp offloading
TCP_SIGNATURE opt_inet.h
VLAN_ARRAY opt_vlan.h
XBONEHACK
-FLOWTABLE opt_route.h
+NO_FLOWTABLE opt_route.h
#
# SCTP
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c
index 0aef314..14c07ca 100644
--- a/sys/net/flowtable.c
+++ b/sys/net/flowtable.c
@@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#ifndef NO_FLOWTABLE
#include <sys/param.h>
#include <sys/types.h>
#include <sys/bitstring.h>
@@ -929,4 +930,4 @@ static struct kproc_desc flow_kp = {
&flowcleanerproc
};
SYSINIT(flowcleaner, SI_SUB_KTHREAD_IDLE, SI_ORDER_ANY, kproc_start, &flow_kp);
-
+#endif /* NO_FLOWTABLE */
diff --git a/sys/net/flowtable.h b/sys/net/flowtable.h
index bc62a04..c949293 100644
--- a/sys/net/flowtable.h
+++ b/sys/net/flowtable.h
@@ -41,7 +41,7 @@ struct flowtable;
extern struct flowtable *ip_ft;
extern struct flowtable *ip_forward_ft;
-#ifdef FLOWTABLE
+#ifndef NO_FLOWTABLE
struct flowtable *flowtable_alloc(int nentry, int flags);
/*
OpenPOWER on IntegriCloud