]> git.puffer.fish Git - matthieu/frr.git/commit
mgmtd: simplify xpath registries
authorChristian Hopps <chopps@labn.net>
Sun, 9 Jul 2023 03:11:15 +0000 (23:11 -0400)
committerChristian Hopps <chopps@labn.net>
Mon, 6 Nov 2023 22:44:58 +0000 (17:44 -0500)
commita65cda16b28bc84b052636118823082de9600cfc
tree975a1abb64919cc9a9c201b8c50ef7602bd72483
parente1b2381f40132650f1c0a2285432c0d00aef7383
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>
.clang-format
lib/frrstr.c
lib/frrstr.h
lib/mgmt_be_client.c
lib/mgmt_be_client.h
mgmtd/mgmt_be_adapter.c
mgmtd/mgmt_be_adapter.h
mgmtd/mgmt_txn.c
mgmtd/mgmt_vty.c
tools/checkpatch.pl