projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rtnetlink: Extend rtnetlink to support RTNLGRP_IPV4_IFADDR and
[cascardo/ovs.git]
/
lib
/
vlandev.c
diff --git
a/lib/vlandev.c
b/lib/vlandev.c
index
99c99de
..
d2a3191
100644
(file)
--- a/
lib/vlandev.c
+++ b/
lib/vlandev.c
@@
-162,7
+162,7
@@
vlandev_get_name(const char *real_dev_name, int vid)
/* The Linux vlandev implementation. */
#ifdef __linux__
/* The Linux vlandev implementation. */
#ifdef __linux__
-#include "rtnetlink
-link
.h"
+#include "rtnetlink.h"
#include <linux/if_vlan.h>
#include <linux/sockios.h>
#include "netdev-linux.h"
#include <linux/if_vlan.h>
#include <linux/sockios.h>
#include "netdev-linux.h"
@@
-171,7
+171,7
@@
static struct nln_notifier *vlan_cache_notifier;
static bool cache_valid;
static void
static bool cache_valid;
static void
-vlan_cache_cb(const struct rtnetlink_
link_
change *change OVS_UNUSED,
+vlan_cache_cb(const struct rtnetlink_change *change OVS_UNUSED,
void *aux OVS_UNUSED)
{
cache_valid = false;
void *aux OVS_UNUSED)
{
cache_valid = false;
@@
-185,8
+185,8
@@
vlandev_linux_refresh(void)
FILE *stream;
if (!vlan_cache_notifier) {
FILE *stream;
if (!vlan_cache_notifier) {
- vlan_cache_notifier = rtnetlink_
link_
notifier_create(vlan_cache_cb,
-
NULL);
+ vlan_cache_notifier = rtnetlink_notifier_create(vlan_cache_cb,
+ NULL);
if (!vlan_cache_notifier) {
return EINVAL;
}
if (!vlan_cache_notifier) {
return EINVAL;
}