X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Frtnetlink-link.h;h=d0d9a7522bbd37aeb8da1010d60f1689bcc498e3;hb=28c5588e8e1a8d091c5d2275232c35f2968a97fa;hp=b6ddb2149eb136cc8a18417f4daf366a7c21bbc4;hpb=c37d4da4f0fd0190ea8fef97399df6d27ebf6ee2;p=sliver-openvswitch.git diff --git a/lib/rtnetlink-link.h b/lib/rtnetlink-link.h index b6ddb2149..d0d9a7522 100644 --- a/lib/rtnetlink-link.h +++ b/lib/rtnetlink-link.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,8 @@ #define RTNETLINK_LINK_H 1 #include +#include +#include struct ofpbuf; struct nln_notifier; @@ -37,6 +39,8 @@ struct rtnetlink_link_change { /* Extracted from Netlink attributes. */ 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. */ };