On 2020-01-17, at 20:58:02 +0000, Jeremy Sowden wrote: > The kernel supports bitwise shift operations. This patch-set adds the > support to libnftnl. There are couple of preliminary housekeeping > patches. Changes since v1: * updated to match the final kernel API; * split the single patch that implemented the new shift expressions into several smaller ones. > Jeremy Sowden (6): > Update gitignore. > bitwise: fix some incorrect indentation. > bitwise: add helper to print boolean expressions. > include: update nf_tables.h. > bitwise: add support for new netlink attributes. > bitwise: add support for left- and right-shifts. > > .gitignore | 9 ++ > include/libnftnl/expr.h | 2 + > include/linux/netfilter/nf_tables.h | 24 +++- > src/expr/bitwise.c | 93 +++++++++++-- > tests/nft-expr_bitwise-test.c | 204 +++++++++++++++++++++++++--- > 5 files changed, 304 insertions(+), 28 deletions(-) > > -- > 2.24.1 > >