netfilter: bitwise: add helper for initializing boolean operations.
authorJeremy Sowden <jeremy@azazel.net>
Wed, 15 Jan 2020 20:05:52 +0000 (20:05 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Jan 2020 14:51:58 +0000 (15:51 +0100)
commit3f8d9eb032ec76c35344a2453c4c4a0a29805e3f
treed06951d59b112cf8ef9809031b3d7469e13633e6
parent9d1f979986c2e29632b6a8f7a8ef8b3c7d24a48c
netfilter: bitwise: add helper for initializing boolean operations.

Split the code specific to initializing bitwise boolean operations out
into a separate function.  A similar function 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