Lines Matching refs:nlattr

47 static int validate_nla_bitfield32(const struct nlattr *nla,  in validate_nla_bitfield32()
70 static int nla_validate_array(const struct nlattr *head, int len, int maxtype, in nla_validate_array()
75 const struct nlattr *entry; in nla_validate_array()
100 const struct nlattr *nla, in nla_validate_int_range()
157 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla()
357 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, in __nla_validate_parse()
361 struct nlattr **tb) in __nla_validate_parse()
363 const struct nlattr *nla; in __nla_validate_parse()
367 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in __nla_validate_parse()
389 tb[type] = (struct nlattr *)nla; in __nla_validate_parse()
419 int __nla_validate(const struct nlattr *head, int len, int maxtype, in __nla_validate()
473 int __nla_parse(struct nlattr **tb, int maxtype, in __nla_parse()
474 const struct nlattr *head, int len, in __nla_parse()
491 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
493 const struct nlattr *nla; in nla_find()
498 return (struct nlattr *)nla; in nla_find()
516 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy()
542 char *nla_strdup(const struct nlattr *nla, gfp_t flags) in nla_strdup()
570 int nla_memcpy(void *dest, const struct nlattr *src, int count) in nla_memcpy()
588 int nla_memcmp(const struct nlattr *nla, const void *data, in nla_memcmp()
605 int nla_strcmp(const struct nlattr *nla, const char *str) in nla_strcmp()
636 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve()
638 struct nlattr *nla; in __nla_reserve()
664 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit()
702 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve()
725 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, in nla_reserve_64bit()
773 struct nlattr *nla; in __nla_put()
794 struct nlattr *nla; in __nla_put_64bit()