]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/ioctl.h
bgpd: Rework BGP dampening to be per AFI/SAFI
[mirror_frr.git] / zebra / ioctl.h
index 2a8ea779092839c5b5308a8316e3c0b7967b683e..03f3911d526eb61510309b85fc9249f49866cc62 100644 (file)
 #ifndef _ZEBRA_IOCTL_H
 #define _ZEBRA_IOCTL_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Prototypes. */
 extern void ifreq_set_name(struct ifreq *, struct interface *);
 extern int if_ioctl(unsigned long, caddr_t);
@@ -31,15 +35,9 @@ extern int if_set_flags(struct interface *, uint64_t);
 extern int if_unset_flags(struct interface *, uint64_t);
 extern void if_get_flags(struct interface *);
 
-extern int if_set_prefix(struct interface *, struct connected *);
-extern int if_unset_prefix(struct interface *, struct connected *);
-
 extern void if_get_metric(struct interface *);
 extern void if_get_mtu(struct interface *);
 
-extern int if_prefix_add_ipv6(struct interface *, struct connected *);
-extern int if_prefix_delete_ipv6(struct interface *, struct connected *);
-
 #ifdef SOLARIS_IPV6
 extern int if_ioctl_ipv6(unsigned long, caddr_t);
 extern struct connected *if_lookup_linklocal(struct interface *);
@@ -53,4 +51,8 @@ extern struct connected *if_lookup_linklocal(struct interface *);
 
 #endif /* SOLARIS_IPV6 */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _ZEBRA_IOCTL_H */