diff options
author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-03-25 14:17:34 +0100 |
---|---|---|
committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-08-05 15:46:12 +0200 |
commit | 89fbf168c22501f518c7532e0d4c97cf0e3f119c (patch) | |
tree | 9bc6937088c461b73ccb42257486225218ce71b3 /lib/linklist.c | |
parent | bgpd: pull the multihoming code out to a separate file (diff) | |
download | frr-89fbf168c22501f518c7532e0d4c97cf0e3f119c.tar.xz frr-89fbf168c22501f518c7532e0d4c97cf0e3f119c.zip |
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.c')
0 files changed, 0 insertions, 0 deletions