diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-02 01:36:36 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-03 05:26:36 +0100 |
commit | a3e5daee7205e8bffb44d914a74d38fe8ad0c986 (patch) | |
tree | c581dcec56ab5bcb077ab8841e659b29bbdac99e /zebra/connected.h | |
parent | fd7307bd4efb5739a949256d6836dc6535c877c9 (diff) | |
download | quagga-a3e5daee7205e8bffb44d914a74d38fe8ad0c986.tar.bz2 quagga-a3e5daee7205e8bffb44d914a74d38fe8ad0c986.tar.xz |
netlink: display scope value in debug
add functions to convert scope value from int to string and back. put
them to use to display address scope in debug output.
Diffstat (limited to 'zebra/connected.h')
-rw-r--r-- | zebra/connected.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/connected.h b/zebra/connected.h index 0f7c586b..d7934055 100644 --- a/zebra/connected.h +++ b/zebra/connected.h @@ -54,4 +54,9 @@ extern void connected_down_ipv6 (struct interface *ifp, struct connected *); #endif /* HAVE_IPV6 */ +#ifdef HAVE_NETLINK +extern const char *connected_scope_name (unsigned value); +extern int connected_scope_number (const char *name); +#endif /* HAVE_NETLINK */ + #endif /*_ZEBRA_CONNECTED_H */ |