netfilter: add nf_ingress_hook() helper function
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Oct 2020 23:14:46 +0000 (01:14 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 11 Oct 2020 23:57:34 +0000 (01:57 +0200)
commitddcfa710d40b39e3134d318e5fe07ba672288054
tree67b66ba3f82fd04ce417e566e4b4cf29c07bcea0
parentafd9024cd1fcfb23fe804d473f457fde07a71148
netfilter: add nf_ingress_hook() helper function

Add helper function to check if this is an ingress hook.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/core.c