Lines Matching refs:nlattr
55 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype,
59 struct nlattr **tb, unsigned int depth);
61 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32()
84 static int nla_validate_array(const struct nlattr *head, int len, int maxtype, in nla_validate_array()
89 const struct nlattr *entry; in nla_validate_array()
163 const struct nlattr *nla, in nla_validate_range_unsigned()
268 const struct nlattr *nla, in nla_validate_int_range_signed()
303 const struct nlattr *nla, in nla_validate_int_range()
327 const struct nlattr *nla, in nla_validate_mask()
357 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
558 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, in __nla_validate_parse()
562 struct nlattr **tb, unsigned int depth) in __nla_validate_parse()
564 const struct nlattr *nla; in __nla_validate_parse()
574 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in __nla_validate_parse()
596 tb[type] = (struct nlattr *)nla; in __nla_validate_parse()
626 int __nla_validate(const struct nlattr *head, int len, int maxtype, in __nla_validate()
680 int __nla_parse(struct nlattr **tb, int maxtype, in __nla_parse()
681 const struct nlattr *head, int len, in __nla_parse()
698 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
700 const struct nlattr *nla; in nla_find()
705 return (struct nlattr *)nla; in nla_find()
723 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy()
749 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
777 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy()
795 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp()
812 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp()
843 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve()
845 struct nlattr *nla; in __nla_reserve()
871 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit()
908 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve()
931 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, in nla_reserve_64bit()
979 struct nlattr *nla; in __nla_put()
1000 struct nlattr *nla; in __nla_put_64bit()