summaryrefslogtreecommitdiffstats
path: root/nest/iface.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-03-26 20:00:45 +0200
committerPavel Machek <pavel@ucw.cz>2000-03-26 20:00:45 +0200
commit697711be2cf6b5da140b8c12c301affa53488021 (patch)
tree4af82ac70bfa924e1906782829276d6cbe12d4f4 /nest/iface.h
parent9ee07ca53fd94ad72b7cb2776cc15f13a026a910 (diff)
downloadbird-697711be2cf6b5da140b8c12c301affa53488021.tar
bird-697711be2cf6b5da140b8c12c301affa53488021.zip
if_connected is usefull outside of neighbour cache.
Diffstat (limited to 'nest/iface.h')
-rw-r--r--nest/iface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h
index e8e4e73..8540a4d 100644
--- a/nest/iface.h
+++ b/nest/iface.h
@@ -121,6 +121,8 @@ void neigh_if_up(struct iface *);
void neigh_if_down(struct iface *);
void neigh_init(struct pool *);
+extern int if_connected(ip_addr *a, struct iface *i) /* -1=error, 1=match, 0=no match */
+
/*
* Interface Pattern Lists
*/