Lines Matching defs:wh
19 static bool ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh,
33 start = wh->table[key];
34 limit = wh->table[key + 1];
37 p = &wh->pool[i];
44 p = &wh->pool[i];
54 *wh)
59 if (wh->table[i] > wh->table[i + 1])
61 if (wh->table[i] < 0)
63 if (wh->table[i] > wh->poolsize)
66 if (wh->table[256] > wh->poolsize)
195 static bool wormhash_sizes_valid(const struct ebt_mac_wormhash *wh, int a, int b)
200 return ebt_mac_wormhash_size(wh) + a == b;