diff options
author | Pablo Neira Ayuso <[email protected]> | 2017-05-22 17:47:56 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2017-05-29 12:46:19 +0200 |
commit | 2111515abc46cb3e18b22d8551067029acfd1f55 (patch) | |
tree | c5d35f1856b9007aa4c2eedd71923cb790cb40f7 /lib/netdev-notifier-error-inject.c | |
parent | 347b408d59e7eadcd09f97eba96fa4c270eb3b23 (diff) |
netfilter: nft_set_hash: add nft_hash_buckets()
Add nft_hash_buckets() helper function to calculate the number of
hashtable buckets based on the elements. This function can be reused
from the follow up patch to add non-resizable hashtables.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions