summaryrefslogtreecommitdiffstats
path: root/zebra/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/ioctl.h')
-rw-r--r--zebra/ioctl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/zebra/ioctl.h b/zebra/ioctl.h
index fee9b725..1c4142de 100644
--- a/zebra/ioctl.h
+++ b/zebra/ioctl.h
@@ -23,6 +23,14 @@
#ifndef _ZEBRA_IOCTL_H
#define _ZEBRA_IOCTL_H
+/* There are (as at 17-Apr-2010) the following ioctl methods:
+ *
+ * * ioctl.c
+ * * ioctl_solaris.c
+ *
+ * one of which is selected at "configure" time, see: IOCTL_METHOD
+ */
+
/* Prototypes. */
extern void ifreq_set_name (struct ifreq *, struct interface *);
extern int if_ioctl (u_long, caddr_t);
@@ -40,10 +48,10 @@ extern void if_get_mtu (struct interface *);
#ifdef HAVE_IPV6
extern int if_prefix_add_ipv6 (struct interface *, struct connected *);
extern int if_prefix_delete_ipv6 (struct interface *, struct connected *);
+extern int if_ioctl_ipv6(u_long, caddr_t);
#endif /* HAVE_IPV6 */
#ifdef SOLARIS_IPV6
-extern int if_ioctl_ipv6(u_long, caddr_t);
extern struct connected *if_lookup_linklocal( struct interface *);
#define AF_IOCTL(af, request, buffer) \