commit | 10fdd6d80e4c21ad48f3860d723f5b3b5965477b | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Thu Oct 01 18:57:44 2020 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Sun Oct 04 21:08:33 2020 +0200 |
tree | bfc2834ea3fe446b5bf8c59082afba2e8836b25c | |
parent | 5f48846daf3321f8a1f8aa99cd6173e3980b7a29 [diff] |
netfilter: nf_tables: Implement fast bitwise expression A typical use of bitwise expression is to mask out parts of an IP address when matching on the network part only. Optimize for this common use with a fast variant for NFT_BITWISE_BOOL-type expressions operating on 32bit-sized values. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>