docs: def nla_put_data(msg, attrtype, data):
      """Add abstract data as unspecific attribute to Netlink message.
  
      https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L527
  
      Equivalent to nla_put() except that the length of the payload is derived from the bytearray data object.
  
      Positional arguments:
      msg -- Netlink message (nl_msg class instance).
      attrtype -- attribute type (integer).
      data -- data to be used as attribute payload (bytearray).
  
      Returns:
      0 on success or a negative error code.
      """
      return nla_put(msg, attrtype, len(data), data)