• Home
  • Raw
  • Download

Lines Matching full:attribute

19 /* For these data types, attribute length should be exactly the given
21 * attribute length does not match the expected size a warning is emitted
210 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in nla_validate_range_unsigned()
214 "invalid attribute length"); in nla_validate_range_unsigned()
227 "binary attribute size out of range"); in nla_validate_range_unsigned()
401 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in validate_nla()
405 "invalid attribute length"); in validate_nla()
497 * error message/attribute pointer in validate_nla()
504 /* a nested array attribute is allowed to be empty; if its not, in validate_nla()
520 * error message/attribute pointer in validate_nla()
530 "Unsupported attribute"); in validate_nla()
578 "Attribute failed policy validation"); in validate_nla()
606 "Unknown attribute type"); in __nla_validate_parse()
637 * @head: head of attribute stream
638 * @len: length of attribute stream
639 * @maxtype: maximum attribute type to be expected
644 * Validates all attributes in the specified attribute stream against the
692 * @maxtype: maximum attribute type to be expected
693 * @head: head of attribute stream
694 * @len: length of attribute stream
699 * Parses a stream of attributes and stores a pointer to each attribute in
700 * the tb array accessible via the attribute type.
716 * nla_find - Find a specific attribute in a stream of attributes
717 * @head: head of attribute stream
718 * @len: length of attribute stream
719 * @attrtype: type of attribute to look for
721 * Returns the first attribute in the stream matching the specified type.
737 * nla_strscpy - Copy string attribute payload into a sized buffer
739 * @nla: Attribute to copy the string from.
780 * nla_strdup - Copy string attribute payload into a newly allocated buffer
781 * @nla: attribute to copy the string from
804 * nla_memcpy - Copy a netlink attribute into another memory area
806 * @src: netlink attribute to copy from
810 * attribute's payload. memcpy
827 * nla_memcmp - Compare an attribute with sized memory area
828 * @nla: netlink attribute
845 * nla_strcmp - Compare a string attribute against a string
846 * @nla: netlink string attribute
869 * __nla_reserve - reserve room for attribute on the skb
871 * @attrtype: attribute type
872 * @attrlen: length of attribute payload
874 * Adds a netlink attribute header to a socket buffer and reserves
878 * tailroom for the attribute header and payload.
895 * __nla_reserve_64bit - reserve room for attribute on the skb and align it
897 * @attrtype: attribute type
898 * @attrlen: length of attribute payload
899 * @padattr: attribute type for the padding
901 * Adds a netlink attribute header to a socket buffer and reserves
903 * attribute will have a 64-bit aligned nla_data() area.
906 * tailroom for the attribute header and payload.
918 * __nla_reserve_nohdr - reserve room for attribute without header
920 * @attrlen: length of attribute payload
922 * Reserves room for attribute payload without a header.
934 * nla_reserve - reserve room for attribute on the skb
936 * @attrtype: attribute type
937 * @attrlen: length of attribute payload
939 * Adds a netlink attribute header to a socket buffer and reserves
943 * the attribute header and payload.
955 * nla_reserve_64bit - reserve room for attribute on the skb and align it
957 * @attrtype: attribute type
958 * @attrlen: length of attribute payload
959 * @padattr: attribute type for the padding
961 * Adds a netlink attribute header to a socket buffer and reserves
963 * attribute will have a 64-bit aligned nla_data() area.
966 * the attribute header and payload.
985 * nla_reserve_nohdr - reserve room for attribute without header
987 * @attrlen: length of attribute payload
989 * Reserves room for attribute payload without a header.
992 * the attribute payload.
1004 * __nla_put - Add a netlink attribute to a socket buffer
1005 * @skb: socket buffer to add attribute to
1006 * @attrtype: attribute type
1007 * @attrlen: length of attribute payload
1008 * @data: head of attribute payload
1011 * tailroom for the attribute header and payload.
1024 * __nla_put_64bit - Add a netlink attribute to a socket buffer and align it
1025 * @skb: socket buffer to add attribute to
1026 * @attrtype: attribute type
1027 * @attrlen: length of attribute payload
1028 * @data: head of attribute payload
1029 * @padattr: attribute type for the padding
1032 * tailroom for the attribute header and payload.
1045 * __nla_put_nohdr - Add a netlink attribute without header
1046 * @skb: socket buffer to add attribute to
1047 * @attrlen: length of attribute payload
1048 * @data: head of attribute payload
1051 * tailroom for the attribute payload.
1063 * nla_put - Add a netlink attribute to a socket buffer
1064 * @skb: socket buffer to add attribute to
1065 * @attrtype: attribute type
1066 * @attrlen: length of attribute payload
1067 * @data: head of attribute payload
1070 * the attribute header and payload.
1083 * nla_put_64bit - Add a netlink attribute to a socket buffer and align it
1084 * @skb: socket buffer to add attribute to
1085 * @attrtype: attribute type
1086 * @attrlen: length of attribute payload
1087 * @data: head of attribute payload
1088 * @padattr: attribute type for the padding
1091 * the attribute header and payload.
1111 * nla_put_nohdr - Add a netlink attribute without header
1112 * @skb: socket buffer to add attribute to
1113 * @attrlen: length of attribute payload
1114 * @data: head of attribute payload
1117 * the attribute payload.
1130 * nla_append - Add a netlink attribute without header or padding
1131 * @skb: socket buffer to add attribute to
1132 * @attrlen: length of attribute payload
1133 * @data: head of attribute payload
1136 * the attribute payload.