summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-07-09 05:11:15 +0200
committerChristian Hopps <chopps@labn.net>2023-11-06 23:44:58 +0100
commita65cda16b28bc84b052636118823082de9600cfc (patch)
tree975a1abb64919cc9a9c201b8c50ef7602bd72483 /tools
parentMerge pull request #14691 from LabNConsulting/fix-mgmt-msg-valgrind-errors (diff)
downloadfrr-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-xtools/checkpatch.pl1
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;