diff options
author | dg <dg@FreeBSD.org> | 1998-05-19 14:19:03 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1998-05-19 14:19:03 +0000 |
commit | 337c39bf088869c1cb7f01f83af40e82606f3734 (patch) | |
tree | cd8dab5aca2120bc3b173ccfedc7e46bbe5cc2b5 /sys/netinet/ip_flow.c | |
parent | 5f8a4130d8dd1d4441beb5fba01ab53b331a9111 (diff) | |
download | FreeBSD-src-337c39bf088869c1cb7f01f83af40e82606f3734.zip FreeBSD-src-337c39bf088869c1cb7f01f83af40e82606f3734.tar.gz |
Moved #define of IPFLOW_HASHBITS to ip_flow.c where I think it belongs.
Diffstat (limited to 'sys/netinet/ip_flow.c')
-rw-r--r-- | sys/netinet/ip_flow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_flow.c b/sys/netinet/ip_flow.c index c8ab67f..a17cacb 100644 --- a/sys/netinet/ip_flow.c +++ b/sys/netinet/ip_flow.c @@ -62,6 +62,7 @@ #include <netinet/ip_var.h> #define IPFLOW_TIMER (5 * PR_SLOWHZ) +#define IPFLOW_HASHBITS 6 /* should not be a multiple of 8 */ #define IPFLOW_HASHSIZE (1 << IPFLOW_HASHBITS) static LIST_HEAD(ipflowhead, ipflow) ipflows[IPFLOW_HASHSIZE]; static int ipflow_inuse; |