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