diff options
author | paul <paul> | 2002-12-13 21:03:13 +0000 |
---|---|---|
committer | paul <paul> | 2002-12-13 21:03:13 +0000 |
commit | 3342537bdb9558c7076f356aa101f1f9035d087a (patch) | |
tree | 9c8e95600884bec20f00925b1f802807103d1d81 /lib/if.h | |
parent | 3ff790a0f2236be0e77b50ef3d84244efe694160 (diff) | |
download | quagga-3342537bdb9558c7076f356aa101f1f9035d087a.tar.bz2 quagga-3342537bdb9558c7076f356aa101f1f9035d087a.tar.xz |
zebra link state detection supportpatch.z12269.linkstate
Diffstat (limited to 'lib/if.h')
-rw-r--r-- | lib/if.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -85,6 +85,7 @@ struct interface u_char status; #define ZEBRA_INTERFACE_ACTIVE (1 << 0) #define ZEBRA_INTERFACE_SUB (1 << 1) +#define ZEBRA_INTERFACE_LINKDETECTION (1 << 2) /* Interface flags. */ unsigned long flags; @@ -188,6 +189,8 @@ struct interface *if_lookup_address (struct in_addr); struct interface *if_get_by_name (char *); void if_delete (struct interface *); int if_is_up (struct interface *); +int if_is_running (struct interface *); +int if_is_operative (struct interface *); int if_is_loopback (struct interface *); int if_is_broadcast (struct interface *); int if_is_pointopoint (struct interface *); |