Lines Matching defs:data
19 /* For these data types, attribute length should be exactly the given
22 * to the user that the command is sending invalid data and needs to be fixed.
795 * @data: memory area
798 int nla_memcmp(const struct nlattr *nla, const void *data,
804 d = memcmp(nla_data(nla), data, size);
974 * @data: head of attribute payload
980 const void *data)
985 memcpy(nla_data(nla), data, attrlen);
994 * @data: head of attribute payload
1001 const void *data, int padattr)
1006 memcpy(nla_data(nla), data, attrlen);
1014 * @data: head of attribute payload
1019 void __nla_put_nohdr(struct sk_buff *skb, int attrlen, const void *data)
1024 memcpy(start, data, attrlen);
1033 * @data: head of attribute payload
1038 int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data)
1043 __nla_put(skb, attrtype, attrlen, data);
1053 * @data: head of attribute payload
1060 const void *data, int padattr)
1071 __nla_put_64bit(skb, attrtype, attrlen, data, padattr);
1080 * @data: head of attribute payload
1085 int nla_put_nohdr(struct sk_buff *skb, int attrlen, const void *data)
1090 __nla_put_nohdr(skb, attrlen, data);
1099 * @data: head of attribute payload
1104 int nla_append(struct sk_buff *skb, int attrlen, const void *data)
1109 skb_put_data(skb, data, attrlen);