diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-20 12:16:49 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-20 12:16:49 -0700 |
commit | 8d95ee9f88945ee49932b1a9f7af5abe6048e6e6 (patch) | |
tree | f8e32626b815d715d6a82d96f848402d83da111b /zebra/interface.h | |
parent | 13807d02a1bd95c2eab32bfa2102e902c61dcb06 (diff) | |
download | quagga-8d95ee9f88945ee49932b1a9f7af5abe6048e6e6.tar.bz2 quagga-8d95ee9f88945ee49932b1a9f7af5abe6048e6e6.tar.xz |
Revert "Backout all changes related to using kernel for linkdetect"
This reverts commit a182091782d22218942466b062c5ef2406853491.
More changes that should NOT go into hollywood
Diffstat (limited to 'zebra/interface.h')
-rw-r--r-- | zebra/interface.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index 0a6b0365..114270e7 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -234,6 +234,23 @@ extern int interface_list_proc (void); extern int ifaddr_proc_ipv6 (void); #endif /* HAVE_PROC_NET_IF_INET6 */ +#ifdef HAVE_LINKDETECT +extern int if_linkdetect_on (const char *); +extern int if_linkdetect_off (const char *); +# ifdef HAVE_IPV6 +extern int if_linkdetect_ipv6_on (const char *); +extern int if_linkdetect_ipv6_off (const char *); +# endif +#else +#define if_linkdetect_on(name) +#define if_linkdetect_off(name) +# ifdef HAVE_IPV6 +#define if_linkdetect_ipv6_on(name) +#define if_linkdetect_ipv6_off(name) +# endif +#endif + + #ifdef BSDI extern int if_kvm_get_mtu (struct interface *); #endif /* BSDI */ |