attr_lookup
if ((a = attr_lookup(flags, type, data, len, h)) == NULL)
static struct attr *attr_lookup(uint8_t, uint8_t, void *, uint16_t, uint64_t);