summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2025-03-26 07:54:23 -0400
committerGitHub <noreply@github.com>2025-03-26 07:54:23 -0400
commit38fd34f3637f8f2e7ba936646c85770c999e6844 (patch)
tree631844a8d7c43ccabc61e3e1807a9bb533c233a1 /lib/if.h
parent03d0a274187ec44d91e3b11c27eabae7be79f888 (diff)
parenta1d3b2b04ee9520002f21796c79c91e90f395c2b (diff)
Merge pull request #18482 from donaldsharp/eigrp_typesafe
Eigrp typesafe
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index 897f2be239..fce6705c23 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -309,6 +309,8 @@ struct interface {
QOBJ_FIELDS;
};
+extern int if_cmp_func(const struct interface *a, const struct interface *b);
+
RB_HEAD(if_name_head, interface);
RB_PROTOTYPE(if_name_head, interface, name_entry, if_cmp_func)
RB_HEAD(if_index_head, interface);