Lines Matching refs:nlattr
30 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
122 int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate()
125 const struct nlattr *nla; in nla_validate()
182 int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, in nla_parse()
185 const struct nlattr *nla; in nla_parse()
188 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse()
200 tb[type] = (struct nlattr *)nla; in nla_parse()
222 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
224 const struct nlattr *nla; in nla_find()
229 return (struct nlattr *)nla; in nla_find()
247 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy()
277 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy()
295 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp()
312 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp()
343 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve()
345 struct nlattr *nla; in __nla_reserve()
347 nla = (struct nlattr *) skb_put(skb, nla_total_size(attrlen)); in __nla_reserve()
390 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve()
431 struct nlattr *nla; in __nla_put()