Lines Matching full:attribute
18 /* For these data types, attribute length should be exactly the given
20 * attribute length does not match the expected size a warning is emitted
85 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in validate_nla()
163 * @head: head of attribute stream
164 * @len: length of attribute stream
165 * @maxtype: maximum attribute type to be expected
169 * Validates all attributes in the specified attribute stream against the
228 * @maxtype: maximum attribute type to be expected
229 * @head: head of attribute stream
230 * @len: length of attribute stream
233 * Parses a stream of attributes and stores a pointer to each attribute in
234 * the tb array accessible via the attribute type. Attributes with a type
257 "Attribute failed policy validation"); in nla_parse()
277 * nla_find - Find a specific attribute in a stream of attributes
278 * @head: head of attribute stream
279 * @len: length of attribute stream
280 * @attrtype: type of attribute to look for
282 * Returns the first attribute in the stream matching the specified type.
298 * nla_strlcpy - Copy string attribute payload into a sized buffer
300 * @nla: attribute to copy the string from
329 * nla_strdup - Copy string attribute payload into a newly allocated buffer
330 * @nla: attribute to copy the string from
353 * nla_memcpy - Copy a netlink attribute into another memory area
355 * @src: netlink attribute to copy from
359 * attribute's payload. memcpy
376 * nla_memcmp - Compare an attribute with sized memory area
377 * @nla: netlink attribute
394 * nla_strcmp - Compare a string attribute against a string
395 * @nla: netlink string attribute
418 * __nla_reserve - reserve room for attribute on the skb
420 * @attrtype: attribute type
421 * @attrlen: length of attribute payload
423 * Adds a netlink attribute header to a socket buffer and reserves
427 * tailroom for the attribute header and payload.
444 * __nla_reserve_64bit - reserve room for attribute on the skb and align it
446 * @attrtype: attribute type
447 * @attrlen: length of attribute payload
448 * @padattr: attribute type for the padding
450 * Adds a netlink attribute header to a socket buffer and reserves
452 * attribute will have a 64-bit aligned nla_data() area.
455 * tailroom for the attribute header and payload.
468 * __nla_reserve_nohdr - reserve room for attribute without header
470 * @attrlen: length of attribute payload
472 * Reserves room for attribute payload without a header.
484 * nla_reserve - reserve room for attribute on the skb
486 * @attrtype: attribute type
487 * @attrlen: length of attribute payload
489 * Adds a netlink attribute header to a socket buffer and reserves
493 * the attribute header and payload.
505 * nla_reserve_64bit - reserve room for attribute on the skb and align it
507 * @attrtype: attribute type
508 * @attrlen: length of attribute payload
509 * @padattr: attribute type for the padding
511 * Adds a netlink attribute header to a socket buffer and reserves
513 * attribute will have a 64-bit aligned nla_data() area.
516 * the attribute header and payload.
535 * nla_reserve_nohdr - reserve room for attribute without header
537 * @attrlen: length of attribute payload
539 * Reserves room for attribute payload without a header.
542 * the attribute payload.
554 * __nla_put - Add a netlink attribute to a socket buffer
555 * @skb: socket buffer to add attribute to
556 * @attrtype: attribute type
557 * @attrlen: length of attribute payload
558 * @data: head of attribute payload
561 * tailroom for the attribute header and payload.
574 * __nla_put_64bit - Add a netlink attribute to a socket buffer and align it
575 * @skb: socket buffer to add attribute to
576 * @attrtype: attribute type
577 * @attrlen: length of attribute payload
578 * @data: head of attribute payload
579 * @padattr: attribute type for the padding
582 * tailroom for the attribute header and payload.
595 * __nla_put_nohdr - Add a netlink attribute without header
596 * @skb: socket buffer to add attribute to
597 * @attrlen: length of attribute payload
598 * @data: head of attribute payload
601 * tailroom for the attribute payload.
613 * nla_put - Add a netlink attribute to a socket buffer
614 * @skb: socket buffer to add attribute to
615 * @attrtype: attribute type
616 * @attrlen: length of attribute payload
617 * @data: head of attribute payload
620 * the attribute header and payload.
633 * nla_put_64bit - Add a netlink attribute to a socket buffer and align it
634 * @skb: socket buffer to add attribute to
635 * @attrtype: attribute type
636 * @attrlen: length of attribute payload
637 * @data: head of attribute payload
638 * @padattr: attribute type for the padding
641 * the attribute header and payload.
661 * nla_put_nohdr - Add a netlink attribute without header
662 * @skb: socket buffer to add attribute to
663 * @attrlen: length of attribute payload
664 * @data: head of attribute payload
667 * the attribute payload.
680 * nla_append - Add a netlink attribute without header or padding
681 * @skb: socket buffer to add attribute to
682 * @attrlen: length of attribute payload
683 * @data: head of attribute payload
686 * the attribute payload.