summaryrefslogtreecommitdiff
path: root/crypto/sm2.c
diff options
context:
space:
mode:
authorVishwanath Pai <vpai@akamai.com>2022-11-22 20:30:57 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2022-11-30 18:55:36 +0100
commite9374524950512a1769f610a868fcdf89ea59b8e (patch)
tree103f36a94f842d9bce531843809e701ef98aa317 /crypto/sm2.c
parenta70e483460d58e64504dd679fd127e9549385c86 (diff)
netfilter: ipset: Add support for new bitmask parameter
Add a new parameter to complement the existing 'netmask' option. The main difference between netmask and bitmask is that bitmask takes any arbitrary ip address as input, it does not have to be a valid netmask. The name of the new parameter is 'bitmask'. This lets us mask out arbitrary bits in the ip address, for example: ipset create set1 hash:ip bitmask 255.128.255.0 ipset create set2 hash:ip,port family inet6 bitmask ffff::ff80 Signed-off-by: Vishwanath Pai <vpai@akamai.com> Signed-off-by: Joshua Hunt <johunt@akamai.com> Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'crypto/sm2.c')
0 files changed, 0 insertions, 0 deletions