]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/net/netlink.h
netlink: add nla_policy_len()
[net-next-2.6.git] / include / net / netlink.h
index 8a6150a3f4c74a5a6a150947c5e1ff6ec494eca9..eddb50289d6d12b8cb8a234c373f8574a0cb5562 100644 (file)
@@ -230,6 +230,7 @@ extern int          nla_validate(struct nlattr *head, int len, int maxtype,
 extern int             nla_parse(struct nlattr *tb[], int maxtype,
                                  struct nlattr *head, int len,
                                  const struct nla_policy *policy);
+extern int             nla_policy_len(const struct nla_policy *, int);
 extern struct nlattr * nla_find(struct nlattr *head, int len, int attrtype);
 extern size_t          nla_strlcpy(char *dst, const struct nlattr *nla,
                                    size_t dstsize);