aboutsummaryrefslogtreecommitdiff
path: root/lib/rtnetlink-link.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2010-12-21 16:26:21 -0800
committerEthan Jackson <ethan@nicira.com>2011-01-04 12:35:59 -0800
commitea83a2fcd0d31246ece7bdea4c54e162f432e81c (patch)
tree57bafdf295a0a29b3ead9b1b3b39ed71fa859847 /lib/rtnetlink-link.h
parent21d6e22eeec05a1c382178dc2eb840afe3b9cca6 (diff)
lib: Show tunnel egress interface in ovsdb
This commit parses rtnetlink address notifications from the kernel in order to display the egress interface of tunnels in the database. Bug #4103.
Diffstat (limited to 'lib/rtnetlink-link.h')
-rw-r--r--lib/rtnetlink-link.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rtnetlink-link.h b/lib/rtnetlink-link.h
index 9248b0ad..c41612d1 100644
--- a/lib/rtnetlink-link.h
+++ b/lib/rtnetlink-link.h
@@ -17,6 +17,9 @@
#ifndef RTNETLINK_LINK_H
#define RTNETLINK_LINK_H 1
+#include <stdbool.h>
+
+struct ofpbuf;
struct rtnetlink_notifier;
/* These functions are Linux specific, so they should be used directly only by
@@ -45,6 +48,8 @@ typedef
void rtnetlink_link_notify_func(const struct rtnetlink_link_change *change,
void *aux);
+bool rtnetlink_link_parse(struct ofpbuf *buf,
+ struct rtnetlink_link_change *change);
int rtnetlink_link_notifier_register(struct rtnetlink_notifier *,
rtnetlink_link_notify_func *, void *aux);
void rtnetlink_link_notifier_unregister(struct rtnetlink_notifier *);