X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Frtnetlink-link.h;h=c41612d1158f868ddd2693a05936228f9f0d1df9;hb=a4a2643672e4d2f68f8246e406749009a3f3211b;hp=9248b0ad4c3da45c5e5f2175c86ba8bde9ce6ee7;hpb=21d6e22eeec05a1c382178dc2eb840afe3b9cca6;p=openvswitch diff --git a/lib/rtnetlink-link.h b/lib/rtnetlink-link.h index 9248b0ad..c41612d1 100644 --- a/lib/rtnetlink-link.h +++ b/lib/rtnetlink-link.h @@ -17,6 +17,9 @@ #ifndef RTNETLINK_LINK_H #define RTNETLINK_LINK_H 1 +#include + +struct ofpbuf; struct rtnetlink_notifier; /* These functions are Linux specific, so they should be used directly only by @@ -45,6 +48,8 @@ typedef void rtnetlink_link_notify_func(const struct rtnetlink_link_change *change, void *aux); +bool rtnetlink_link_parse(struct ofpbuf *buf, + struct rtnetlink_link_change *change); int rtnetlink_link_notifier_register(struct rtnetlink_notifier *, rtnetlink_link_notify_func *, void *aux); void rtnetlink_link_notifier_unregister(struct rtnetlink_notifier *);