diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2002-10-12 07:45:23 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2002-10-12 07:45:23 +0000 |
commit | 927a76bb5e6e90ad9aad213058227633a325debc (patch) | |
tree | b2433b86cd577ae4fbaa985327f9feb96fa67f10 /sys/netinet/ip_dummynet.h | |
parent | 1d6055e77c6a45c344d7f4f1cd4921798a9f41ca (diff) | |
download | src-test2-927a76bb5e6e90ad9aad213058227633a325debc.tar.gz src-test2-927a76bb5e6e90ad9aad213058227633a325debc.zip |
Notes
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r-- | sys/netinet/ip_dummynet.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h index e8ae0e9ca0fd..79c607dd4175 100644 --- a/sys/netinet/ip_dummynet.h +++ b/sys/netinet/ip_dummynet.h @@ -77,6 +77,12 @@ typedef u_int64_t dn_key ; /* sorting key */ #define OFFSET_OF(type, field) ((int)&( ((type *)0)->field) ) /* + * The maximum hash table size for queues. This value must be a power + * of 2. + */ +#define DN_MAX_HASH_SIZE 65536 + +/* * A heap entry is made of a key and a pointer to the actual * object stored in the heap. * The heap is an array of dn_heap_entry entries, dynamically allocated. |