projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Generalize facet_put__() so that it is more useful.
[openvswitch]
/
lib
/
rtnetlink-link.c
diff --git
a/lib/rtnetlink-link.c
b/lib/rtnetlink-link.c
index ffd615bfaf2e79a44088fea5c61f3c5cfd67a0db..ad83a1d2797741ae405bbfabd3561603098beccd 100644
(file)
--- a/
lib/rtnetlink-link.c
+++ b/
lib/rtnetlink-link.c
@@
-29,7
+29,10
@@
static struct rtnetlink *rtn = NULL;
static struct rtnetlink_link_change rtn_change;
static struct rtnetlink *rtn = NULL;
static struct rtnetlink_link_change rtn_change;
-static bool
+/* Parses a rtnetlink message 'buf' into 'change'. If 'buf' is unparseable,
+ * leaves 'change' untouched and returns false. Otherwise, populates 'change'
+ * and returns true. */
+bool
rtnetlink_link_parse(struct ofpbuf *buf,
struct rtnetlink_link_change *change)
{
rtnetlink_link_parse(struct ofpbuf *buf,
struct rtnetlink_link_change *change)
{