aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorStefano Brivio <[email protected]>2020-01-21 23:17:54 +0000
committerPablo Neira Ayuso <[email protected]>2020-01-27 07:54:30 +0000
commit2092767168f0681aa03727448b801600a364c013 (patch)
tree07fa49e6476d91c6a9b453ec740039ebe8eb9a80 /net/sched/cls_basic.c
parentnetfilter: nf_tables: Support for sets with multiple ranged fields (diff)
downloadkernel-2092767168f0681aa03727448b801600a364c013.tar.gz
kernel-2092767168f0681aa03727448b801600a364c013.zip
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 <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions