netfilter: bitwise: add helper for evaluating boolean operations.
authorJeremy Sowden <jeremy@azazel.net>
Wed, 15 Jan 2020 20:05:53 +0000 (20:05 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Jan 2020 14:51:59 +0000 (15:51 +0100)
commit71d6ded3ac496f9a6563752917921b7db0f38a34
tree536fd41fd550d1d368511120e37f98163024eb7a
parent3f8d9eb032ec76c35344a2453c4c4a0a29805e3f
netfilter: bitwise: add helper for evaluating boolean operations.

Split the code specific to evaluating bitwise boolean operations out
into a separate function.  Similar functions will be added later for
shift operations.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_bitwise.c