Lines Matching refs:nlattr

47 static int validate_nla_bitfield32(const struct nlattr *nla,  in validate_nla_bitfield32()
71 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
175 int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate()
179 const struct nlattr *nla; in nla_validate()
240 int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, in nla_parse()
244 const struct nlattr *nla; in nla_parse()
247 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse()
262 tb[type] = (struct nlattr *)nla; in nla_parse()
284 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
286 const struct nlattr *nla; in nla_find()
291 return (struct nlattr *)nla; in nla_find()
309 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy()
335 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
363 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy()
381 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp()
398 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp()
429 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve()
431 struct nlattr *nla; in __nla_reserve()
457 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit()
495 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve()
518 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, in nla_reserve_64bit()
566 struct nlattr *nla; in __nla_put()
587 struct nlattr *nla; in __nla_put_64bit()