2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-17 14:28:02 +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

@@ -29,7 +29,10 @@
static struct rtnetlink *rtn = NULL;
static struct rtnetlink_link_change rtn_change;
static bool
/* Parses a rtnetlink message 'buf' into 'change'. If 'buf' is unparseable,
* leaves 'change' untouched and returns false. Otherwise, populates 'change'
* and returns true. */
bool
rtnetlink_link_parse(struct ofpbuf *buf,
struct rtnetlink_link_change *change)
{