git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netlink: Expose version of nl_attr_find for key and len.
[sliver-openvswitch.git]
/
lib
/
netlink.c
diff --git
a/lib/netlink.c
b/lib/netlink.c
index
ec35849
..
b4de3ed
100644
(file)
--- a/
lib/netlink.c
+++ b/
lib/netlink.c
@@
-615,7
+615,7
@@
nl_parse_nested(const struct nlattr *nla, const struct nl_policy policy[],
return nl_policy_parse(&buf, 0, policy, attrs, n_attrs);
}
-
static
const struct nlattr *
+const struct nlattr *
nl_attr_find__(const struct nlattr *attrs, size_t size, uint16_t type)
{
const struct nlattr *nla;