NFT_MAX_HOOKS
nf_hookfn *hooks[NFT_MAX_HOOKS];
if (hook->num >= NFT_MAX_HOOKS || !(type->hook_mask & (1 << hook->num)))