vendor_attribute
const struct vendor_attribute *attr;
attr = (const struct vendor_attribute *)*data;
struct vendor_attribute *attr;