Lines Matching refs:nlattr

56 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype,
60 struct nlattr **tb, unsigned int depth);
62 static int validate_nla_bitfield32(const struct nlattr *nla,
85 static int nla_validate_array(const struct nlattr *head, int len, int maxtype,
90 const struct nlattr *entry;
164 const struct nlattr *nla,
269 const struct nlattr *nla,
304 const struct nlattr *nla,
328 const struct nlattr *nla,
358 static int validate_nla(const struct nlattr *nla, int maxtype,
560 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype,
564 struct nlattr **tb, unsigned int depth)
566 const struct nlattr *nla;
576 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1));
599 tb[type] = (struct nlattr *)nla;
629 int __nla_validate(const struct nlattr *head, int len, int maxtype,
683 int __nla_parse(struct nlattr **tb, int maxtype,
684 const struct nlattr *head, int len,
701 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype)
703 const struct nlattr *nla;
708 return (struct nlattr *)nla;
726 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize)
752 char *nla_strdup(const struct nlattr *nla, gfp_t flags)
780 int nla_memcpy(void *dest, const struct nlattr *src, int count)
798 int nla_memcmp(const struct nlattr *nla, const void *data,
815 int nla_strcmp(const struct nlattr *nla, const char *str)
846 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
848 struct nlattr *nla;
874 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype,
911 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
934 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen,
982 struct nlattr *nla;
1003 struct nlattr *nla;