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:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user