/* Extracted from Netlink attributes. */
const char *ifname; /* Name of network device. */
int master_ifindex; /* Ifindex of datapath master (0 if none). */
+ unsigned int ifi_flags; /* Flags of network device. */
};
/* Function called to report that a netdev has changed. 'change' describes the
bool rtnetlink_link_parse(struct ofpbuf *buf,
struct rtnetlink_link_change *change);
-int rtnetlink_link_notifier_register(struct nln_notifier*,
- rtnetlink_link_notify_func *, void *aux);
-void rtnetlink_link_notifier_unregister(struct nln_notifier *);
+struct nln_notifier *
+rtnetlink_link_notifier_create(rtnetlink_link_notify_func *, void *aux);
+void rtnetlink_link_notifier_destroy(struct nln_notifier *);
void rtnetlink_link_run(void);
void rtnetlink_link_wait(void);
#endif /* rtnetlink-link.h */