Last active
July 23, 2019 04:26
-
-
Save kkumar-fk/b087a115ee2cd7a5cb805f895c046736 to your computer and use it in GitHub Desktop.
inet hash info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define LHTABLE_SIZE 32 /* Yes, really, this is all you need */ | |
struct inet_hashinfo { | |
/* Hash table for fully established sockets */ | |
struct inet_ehash_bucket *ehash; | |
/* Hash table for LISTEN sockets */ | |
struct inet_listen_hashbucket listening_hash[LHTABLE_SIZE]; | |
}; | |
struct inet_hashinfo tcp_hashinfo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment