]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: bitwise: add support for shifts.
authorJeremy Sowden <jeremy@azazel.net>
Wed, 15 Jan 2020 20:05:57 +0000 (20:05 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Jan 2020 14:52:02 +0000 (15:52 +0100)
commit38483419c3721c06d1727f9bf0f9f9c3a46603d3
tree68eb53ca8df97916a56aeae72a37536f84647b34
parent962090a13f022d104b4f1d378067574c50b58a7b
netfilter: bitwise: add support for shifts.

Hitherto nft_bitwise has only supported boolean operations: NOT, AND, OR
and XOR.  Extend it to do shifts as well.

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