diff options
author | Christian Hopps <chopps@labn.net> | 2023-07-09 05:11:15 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2023-11-06 23:44:58 +0100 |
commit | a65cda16b28bc84b052636118823082de9600cfc (patch) | |
tree | 975a1abb64919cc9a9c201b8c50ef7602bd72483 /tools | |
parent | Merge pull request #14691 from LabNConsulting/fix-mgmt-msg-valgrind-errors (diff) | |
download | frr-a65cda16b28bc84b052636118823082de9600cfc.tar.xz frr-a65cda16b28bc84b052636118823082de9600cfc.zip |
mgmtd: simplify xpath registries
- move from client id indexed array of uints for register info
per client to a u64 bitmask.
- add bit walking FOREACH macro
Walk the client IDs whose bits are set in a mask.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkpatch.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl index d007c1d32..3e8a6b392 100755 --- a/tools/checkpatch.pl +++ b/tools/checkpatch.pl @@ -563,6 +563,7 @@ our $Iterators = qr{ SUBGRP_FOREACH_PEER|SUBGRP_FOREACH_PEER_SAFE| SUBGRP_FOREACH_ADJ|SUBGRP_FOREACH_ADJ_SAFE| AF_FOREACH|FOREACH_AFI_SAFI|FOREACH_SAFI| + FOREACH_BE_CLIENT_BITS|FOREACH_MGMTD_BE_CLIENT_ID| LSDB_LOOP }x; |