commit | 2092767168f0681aa03727448b801600a364c013 | [log] [tgz] |
---|---|---|
author | Stefano Brivio <sbrivio@redhat.com> | Wed Jan 22 00:17:54 2020 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Jan 27 08:54:30 2020 +0100 |
tree | 07fa49e6476d91c6a9b453ec740039ebe8eb9a80 | |
parent | f3a2181e16f1dcbf5446ed43f6b5d9f56c459f85 [diff] |
bitmap: Introduce bitmap_cut(): cut bits and shift remaining The new bitmap function bitmap_cut() copies bits from source to destination by removing the region specified by parameters first and cut, and remapping the bits above the cut region by right shifting them. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>