diff options
Diffstat (limited to 'zebra/connected.h')
| -rw-r--r-- | zebra/connected.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/zebra/connected.h b/zebra/connected.h index eaf79fe9aa..d10a092984 100644 --- a/zebra/connected.h +++ b/zebra/connected.h @@ -23,7 +23,10 @@ #define _ZEBRA_CONNECTED_H extern struct connected *connected_check(struct interface *ifp, - struct prefix *p); + union prefixconstptr p); +extern struct connected *connected_check_ptp(struct interface *ifp, + union prefixconstptr p, + union prefixconstptr d); extern void connected_add_ipv4(struct interface *ifp, int flags, struct in_addr *addr, u_char prefixlen, @@ -35,18 +38,14 @@ extern void connected_delete_ipv4(struct interface *ifp, int flags, extern void connected_delete_ipv4_unnumbered(struct connected *ifc); -extern void connected_up_ipv4(struct interface *, struct connected *); -extern void connected_down_ipv4(struct interface *, struct connected *); +extern void connected_up(struct interface *ifp, struct connected *ifc); +extern void connected_down(struct interface *ifp, struct connected *ifc); extern void connected_add_ipv6(struct interface *ifp, int flags, struct in6_addr *address, u_char prefixlen, - struct in6_addr *broad, const char *label); + const char *label); extern void connected_delete_ipv6(struct interface *ifp, - struct in6_addr *address, u_char prefixlen, - struct in6_addr *broad); - -extern void connected_up_ipv6(struct interface *, struct connected *); -extern void connected_down_ipv6(struct interface *ifp, struct connected *); + struct in6_addr *address, u_char prefixlen); extern int connected_is_unnumbered(struct interface *); |
