summaryrefslogtreecommitdiff
path: root/zebra/connected.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/connected.h')
-rw-r--r--zebra/connected.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/zebra/connected.h b/zebra/connected.h
index 75b6e05bda..faba30b0d5 100644
--- a/zebra/connected.h
+++ b/zebra/connected.h
@@ -35,11 +35,12 @@ extern struct connected *connected_check_ptp(struct interface *ifp,
union prefixconstptr d);
extern void connected_add_ipv4(struct interface *ifp, int flags,
- struct in_addr *addr, uint8_t prefixlen,
- struct in_addr *broad, const char *label);
+ struct in_addr *addr, uint16_t prefixlen,
+ struct in_addr *broad, const char *label,
+ uint32_t metric);
extern void connected_delete_ipv4(struct interface *ifp, int flags,
- struct in_addr *addr, uint8_t prefixlen,
+ struct in_addr *addr, uint16_t prefixlen,
struct in_addr *broad);
extern void connected_delete_ipv4_unnumbered(struct connected *ifc);
@@ -49,10 +50,11 @@ extern void connected_down(struct interface *ifp, struct connected *ifc);
extern void connected_add_ipv6(struct interface *ifp, int flags,
struct in6_addr *address, struct in6_addr *broad,
- uint8_t prefixlen, const char *label);
+ uint16_t prefixlen, const char *label,
+ uint32_t metric);
extern void connected_delete_ipv6(struct interface *ifp,
struct in6_addr *address,
- struct in6_addr *broad, uint8_t prefixlen);
+ struct in6_addr *broad, uint16_t prefixlen);
extern int connected_is_unnumbered(struct interface *);