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, in validate_nla_bitfield32()
85 static int nla_validate_array(const struct nlattr *head, int len, int maxtype, in nla_validate_array()
90 const struct nlattr *entry; in nla_validate_array()
166 const struct nlattr *nla, in nla_validate_range_unsigned()
279 const struct nlattr *nla, in nla_validate_int_range_signed()
314 const struct nlattr *nla, in nla_validate_int_range()
340 const struct nlattr *nla, in nla_validate_mask()
376 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
578 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, in __nla_validate_parse()
582 struct nlattr **tb, unsigned int depth) in __nla_validate_parse()
584 const struct nlattr *nla; in __nla_validate_parse()
594 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in __nla_validate_parse()
617 tb[type] = (struct nlattr *)nla; in __nla_validate_parse()
647 int __nla_validate(const struct nlattr *head, int len, int maxtype, in __nla_validate()
701 int __nla_parse(struct nlattr **tb, int maxtype, in __nla_parse()
702 const struct nlattr *head, int len, in __nla_parse()
719 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
721 const struct nlattr *nla; in nla_find()
726 return (struct nlattr *)nla; in nla_find()
746 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy()
782 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
810 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy()
828 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp()
845 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp()
876 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve()
878 struct nlattr *nla; in __nla_reserve()
904 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit()
941 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve()
964 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, in nla_reserve_64bit()
1012 struct nlattr *nla; in __nla_put()
1033 struct nlattr *nla; in __nla_put_64bit()