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()
171 const struct nlattr *nla, in nla_validate_range_unsigned()
288 const struct nlattr *nla, in nla_validate_int_range_signed()
326 const struct nlattr *nla, in nla_validate_int_range()
354 const struct nlattr *nla, in nla_validate_mask()
393 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
604 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, in __nla_validate_parse()
608 struct nlattr **tb, unsigned int depth) in __nla_validate_parse()
610 const struct nlattr *nla; in __nla_validate_parse()
620 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in __nla_validate_parse()
643 tb[type] = (struct nlattr *)nla; in __nla_validate_parse()
673 int __nla_validate(const struct nlattr *head, int len, int maxtype, in __nla_validate()
727 int __nla_parse(struct nlattr **tb, int maxtype, in __nla_parse()
728 const struct nlattr *head, int len, in __nla_parse()
745 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
747 const struct nlattr *nla; in nla_find()
752 return (struct nlattr *)nla; in nla_find()
772 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy()
808 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
836 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy()
854 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp()
871 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp()
902 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve()
904 struct nlattr *nla; in __nla_reserve()
930 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit()
967 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve()
990 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, in nla_reserve_64bit()
1038 struct nlattr *nla; in __nla_put()
1059 struct nlattr *nla; in __nla_put_64bit()