make flowtable opt-out

This commit is contained in:
Kip Macy 2009-06-09 20:27:30 +00:00
parent c804d618eb
commit 15d13a59a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193856
4 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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);
/*