]> git.proxmox.com Git - mirror_frr.git/blobdiff - .clang-format
pbrd: initial fwmark support for pbr matches #4460
[mirror_frr.git] / .clang-format
index 2710d844e9c85ff1291d801fb3d978d2297419a0..4bd962747fa492853dc386e13b6154d252f6417b 100644 (file)
@@ -25,6 +25,9 @@ CommentPragmas: '\$(FRR|clippy)'
 ContinuationIndentWidth: 8
 ForEachMacros:
   # lib
+  - frr_each
+  - frr_each_safe
+  - frr_each_from
   - LIST_FOREACH
   - LIST_FOREACH_SAFE
   - SLIST_FOREACH
@@ -41,6 +44,12 @@ ForEachMacros:
   - RB_FOREACH_REVERSE
   - RB_FOREACH_REVERSE_SAFE
   - SPLAY_FOREACH
+  - FOR_ALL_INTERFACES
+  - FOR_ALL_INTERFACES_ADDRESSES
+  - JSON_FOREACH
+  # libyang
+  - LY_TREE_FOR
+  - LY_TREE_DFS_BEGIN
   # zebra
   - RE_DEST_FOREACH_ROUTE
   - RE_DEST_FOREACH_ROUTE_SAFE
@@ -55,3 +64,5 @@ ForEachMacros:
   - SUBGRP_FOREACH_ADJ_SAFE
   - AF_FOREACH
   - FOREACH_AFI_SAFI
+  # ospfd
+  - LSDB_LOOP