projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't specify program name in passive connection man page fragments.
[openvswitch]
/
lib
/
netlink.h
diff --git
a/lib/netlink.h
b/lib/netlink.h
index b7a87c6c39aa0e675abd5d84c7019e1e481d71d7..7eced42f42a660f178ccdb28548240c00179e70c 100644
(file)
--- a/
lib/netlink.h
+++ b/
lib/netlink.h
@@
-184,6
+184,11
@@
struct nl_policy
bool optional;
};
bool optional;
};
+#define NL_POLICY_FOR(TYPE) \
+ .type = NL_A_UNSPEC, .min_len = sizeof(TYPE), .max_len = sizeof(TYPE)
+
+bool nl_attr_validate(const struct nlattr *, const struct nl_policy *);
+
bool nl_policy_parse(const struct ofpbuf *, size_t offset,
const struct nl_policy[],
struct nlattr *[], size_t n_attrs);
bool nl_policy_parse(const struct ofpbuf *, size_t offset,
const struct nl_policy[],
struct nlattr *[], size_t n_attrs);