Lines Matching refs:nlattr
60 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype,
64 struct nlattr **tb, unsigned int depth);
66 static int validate_nla_bitfield32(const struct nlattr *nla,
89 static int nla_validate_array(const struct nlattr *head, int len, int maxtype,
94 const struct nlattr *entry;
170 const struct nlattr *nla,
283 const struct nlattr *nla,
318 const struct nlattr *nla,
344 const struct nlattr *nla,
380 static int validate_nla(const struct nlattr *nla, int maxtype,
582 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype,
586 struct nlattr **tb, unsigned int depth)
588 const struct nlattr *nla;
598 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1));
621 tb[type] = (struct nlattr *)nla;
651 int __nla_validate(const struct nlattr *head, int len, int maxtype,
705 int __nla_parse(struct nlattr **tb, int maxtype,
706 const struct nlattr *head, int len,
723 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype)
725 const struct nlattr *nla;
730 return (struct nlattr *)nla;
750 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize)
786 char *nla_strdup(const struct nlattr *nla, gfp_t flags)
814 int nla_memcpy(void *dest, const struct nlattr *src, int count)
832 int nla_memcmp(const struct nlattr *nla, const void *data,
849 int nla_strcmp(const struct nlattr *nla, const char *str)
880 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
882 struct nlattr *nla;
908 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype,
945 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
968 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen,
1016 struct nlattr *nla;
1037 struct nlattr *nla;