diff options
| author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-03-25 06:17:34 -0700 |
|---|---|---|
| committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-08-05 06:46:12 -0700 |
| commit | 89fbf168c22501f518c7532e0d4c97cf0e3f119c (patch) | |
| tree | 9bc6937088c461b73ccb42257486225218ce71b3 /lib/linklist.h | |
| parent | 185fb14a4138c0cd2ce98711d31205c657893c2f (diff) | |
lib: bitfield: new macros for bit processing
New macros have been added for the following -
1. to efficiently iterate and execute functions on already set bits
2. to check if a bit is in use
3. to check if a bitfield has been initialized (this is to safetly
handle cases where the bitfield is freed and re-allocated).
4. to check if two bitfields have the same bits set
Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'lib/linklist.h')
0 files changed, 0 insertions, 0 deletions
