Lines Matching full:attribute

27  *  @attr_id: Attribute ID
28 * @string: Pointer to string to be stored in attribute
31 * the attribute buffer. It will return success if provided with a valid
64 /* record attribute header, update message length */ in fm10k_tlv_attr_put_null_string()
76 * fm10k_tlv_attr_get_null_string - Get null terminated string from attribute
77 * @attr: Pointer to attribute
80 * This function pulls the string back out of the attribute and will place
102 * fm10k_tlv_attr_put_mac_vlan - Store MAC/VLAN attribute in message
104 * @attr_id: Attribute ID
109 * in the attribute buffer. It will return success if provided with a
124 /* record attribute header, update message length */ in fm10k_tlv_attr_put_mac_vlan()
140 * fm10k_tlv_attr_get_mac_vlan - Get MAC/VLAN stored in attribute
141 * @attr: Pointer to attribute
145 * This function pulls the MAC address back out of the attribute and will
165 * @attr_id: Attribute ID
167 * This function will simply add an attribute header, the fact
168 * that the header is here means the attribute value is true, else
178 /* record attribute header */ in fm10k_tlv_attr_put_bool()
188 * fm10k_tlv_attr_put_value - Store integer value attribute in message
190 * @attr_id: Attribute ID
195 * in a message attribute. The function will return success provided
216 /* record attribute header, update message length */ in fm10k_tlv_attr_put_value()
228 * fm10k_tlv_attr_get_value - Get integer value stored in attribute
229 * @attr: Pointer to attribute
236 * attribute length.
262 * @attr_id: Attribute ID
267 * attribute. The function will return success provided that all pointers
287 /* record attribute header, update message length */ in fm10k_tlv_attr_put_le_struct()
299 * fm10k_tlv_attr_get_le_struct - Get little endian struct form attribute
300 * @attr: Pointer to attribute
307 * attribute length.
332 * @attr_id: Attribute ID
388 * fm10k_tlv_attr_validate - Validate attribute metadata
389 * @attr: Pointer to attribute
390 * @tlv_attr: Type and length info for attribute
395 * return FM10K_ERR_PARAM if any attribute is malformed, otherwise
404 /* verify this is an attribute and not a message */ in fm10k_tlv_attr_validate()
416 /* move to start of attribute data */ in fm10k_tlv_attr_validate()
451 /* attribute id is mapped to bad value */ in fm10k_tlv_attr_validate()
459 * fm10k_tlv_attr_parse - Parses stream of attribute data
460 * @attr: Pointer to attribute list
467 * FM10K_NOT_IMPLEMENTED for any attribute that is outside of the array
493 /* no attributes to parse, just raw data, message becomes attribute */ in fm10k_tlv_attr_parse()
499 /* move to start of attribute data */ in fm10k_tlv_attr_parse()
520 /* move to next attribute */ in fm10k_tlv_attr_parse()
556 /* verify this is a message and not an attribute */ in fm10k_tlv_msg_parse()
638 * This function is meant to load a message buffer with attribute data
674 * This function is meant to load a message buffer with all attribute types
675 * including a nested attribute.