summaryrefslogtreecommitdiffstats
path: root/zebra/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 0cf66403..e07388cb 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -225,21 +225,20 @@ extern int if_subnet_add (struct interface *, struct connected *);
extern int if_subnet_delete (struct interface *, struct connected *);
#ifdef HAVE_PROC_NET_DEV
-extern void ifstat_update_proc (void);
+extern void ifstat_update_proc (void); /* see if_proc.c */
+extern int interface_list_proc (void); /* see if_proc.c */
#endif /* HAVE_PROC_NET_DEV */
+
+#if defined(HAVE_IPV6) && defined(HAVE_PROC_NET_IF_INET6)
+extern int ifaddr_proc_ipv6 (void); /* see if_proc.c */
+#endif /* HAVE_PROC_NET_IF_INET6 */
+
#ifdef HAVE_NET_RT_IFLIST
extern void ifstat_update_sysctl (void);
-
#endif /* HAVE_NET_RT_IFLIST */
-#ifdef HAVE_PROC_NET_DEV
-extern int interface_list_proc (void);
-#endif /* HAVE_PROC_NET_DEV */
-#ifdef HAVE_PROC_NET_IF_INET6
-extern int ifaddr_proc_ipv6 (void);
-#endif /* HAVE_PROC_NET_IF_INET6 */
#ifdef BSDI
-extern int if_kvm_get_mtu (struct interface *);
+extern int if_kvm_get_mtu (struct interface *); /* see mtu_kvm.c */
#endif /* BSDI */
#endif /* _ZEBRA_INTERFACE_H */