2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-21 14:49:41 +00:00

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.
This commit is contained in:
Ethan Jackson
2010-12-21 16:26:21 -08:00
parent 21d6e22eee
commit ea83a2fcd0
14 changed files with 566 additions and 13 deletions

View File

@@ -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 *);