summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorGhasem Naddaf <ghasem.naddaf@gmail.com>2019-10-29 19:02:15 +0100
committerGhasem Naddaf <ghasem.naddaf@gmail.com>2019-10-29 19:02:15 +0100
commit457ea8d4bcfce831f083dfc4499ec91a42bd8e40 (patch)
tree8c27f31116e408b512075ef222525dd84fa32847 /lib/if.h
parentMerge pull request #5197 from SumitAgarwal123/BFD_ADMIN_DOWN (diff)
downloadfrr-457ea8d4bcfce831f083dfc4499ec91a42bd8e40.tar.xz
frr-457ea8d4bcfce831f083dfc4499ec91a42bd8e40.zip
vrrpd: only count ipv4 addresses on check start
Signed-off-by: Ghasem Naddaf <ghasem.naddaf@gmail.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index 1ee6561e8..632229093 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -553,6 +553,7 @@ extern struct connected *connected_lookup_prefix(struct interface *,
struct prefix *);
extern struct connected *connected_lookup_prefix_exact(struct interface *,
struct prefix *);
+extern unsigned int connected_count_by_family(struct interface *, int family);
extern struct nbr_connected *nbr_connected_new(void);
extern void nbr_connected_free(struct nbr_connected *);
struct nbr_connected *nbr_connected_check(struct interface *, struct prefix *);