aboutsummaryrefslogtreecommitdiff
path: root/lib/rtnetlink-link.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2012-03-09 12:58:10 -0800
committerPravin B Shelar <pshelar@nicira.com>2012-03-09 12:58:10 -0800
commit44445cac40bec2b2f12e8baf7bbb7fcf32fcbb42 (patch)
tree421b70f128ea277ec30d24998ad9cdacaf2c9def /lib/rtnetlink-link.h
parent90a6637d5e7f5f83e3370e05b3716a24fc093fc7 (diff)
netdev-linux: Cache error code from ether-addr ioctl.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'lib/rtnetlink-link.h')
-rw-r--r--lib/rtnetlink-link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rtnetlink-link.h b/lib/rtnetlink-link.h
index cfdb24ba..7c64c94d 100644
--- a/lib/rtnetlink-link.h
+++ b/lib/rtnetlink-link.h
@@ -18,6 +18,8 @@
#define RTNETLINK_LINK_H 1
#include <stdbool.h>
+#include <stdint.h>
+#include <linux/if_ether.h>
struct ofpbuf;
struct nln_notifier;
@@ -38,6 +40,7 @@ struct rtnetlink_link_change {
const char *ifname; /* Name of network device. */
int master_ifindex; /* Ifindex of datapath master (0 if none). */
int mtu; /* Current MTU. */
+ uint8_t addr[ETH_ALEN];
unsigned int ifi_flags; /* Flags of network device. */
};