Lines Matching refs:nlattr
26 static int validate_nla(struct nlattr *nla, int maxtype,
101 int nla_validate(struct nlattr *head, int len, int maxtype,
104 struct nlattr *nla;
132 int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, int len,
135 struct nlattr *nla;
138 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1));
171 struct nlattr *nla_find(struct nlattr *head, int len, int attrtype)
173 struct nlattr *nla;
195 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize)
224 int nla_memcpy(void *dest, struct nlattr *src, int count)
239 int nla_memcmp(const struct nlattr *nla, const void *data,
255 int nla_strcmp(const struct nlattr *nla, const char *str)
278 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
280 struct nlattr *nla;
282 nla = (struct nlattr *) skb_put(skb, nla_total_size(attrlen));
323 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
362 struct nlattr *nla;