diff options
author | kmacy <kmacy@FreeBSD.org> | 2010-03-12 05:03:26 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2010-03-12 05:03:26 +0000 |
commit | 128542c7580511b148e26e2929e4d11da27a8e4d (patch) | |
tree | 892d80f823d6c6d886b13b8b52823bc01f00c33f /sys/netinet/ip_input.c | |
parent | 7ca6d1bcd1c9d23ec8247d13014708dc09cdb3d5 (diff) | |
download | FreeBSD-src-128542c7580511b148e26e2929e4d11da27a8e4d.zip FreeBSD-src-128542c7580511b148e26e2929e4d11da27a8e4d.tar.gz |
- restructure flowtable to support ipv6
- add a name argument to flowtable_alloc for printing with ddb commands
- extend ddb commands to print destination address or 4-tuples
- don't parse ports in ulp header if FL_HASH_ALL is not passed
- add kern_flowtable_insert to enable more generic use of flowtable
(e.g. system calls for adding entries)
- don't hash loopback addresses
- cleanup whitespace
- keep statistics per-cpu for per-cpu flowtables to avoid cache line contention
- add sysctls to accumulate stats and report aggregate
MFC after: 7 days
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r-- | sys/netinet/ip_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 084bac0..d91bcb0 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -329,7 +329,7 @@ ip_init(void) #ifdef FLOWTABLE TUNABLE_INT_FETCH("net.inet.ip.output_flowtable_size", &V_ip_output_flowtable_size); - V_ip_ft = flowtable_alloc(V_ip_output_flowtable_size, FL_PCPU); + V_ip_ft = flowtable_alloc("ipv4", V_ip_output_flowtable_size, FL_PCPU); #endif /* Skip initialization of globals for non-default instances. */ |