netdev-linux: Fix stats for ovs internal device.
[openvswitch] / lib / netlink.h
index e226277a5862d57ae30a163f0f337d91cf46546f..7eced42f42a660f178ccdb28548240c00179e70c 100644 (file)
@@ -187,6 +187,8 @@ struct nl_policy
 #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);