Lines Matching refs:attr_name
714 char attr_name[MAXLINKATTRLEN];
720 attr_name[0] = '\0';
742 if (attr_name[0] != '\0' && found_type) {
751 if (strcmp(attr_name, "linkid") == 0) {
756 } else if (strcmp(attr_name, "name") == 0) {
761 } else if (strcmp(attr_name, "class") == 0) {
766 } else if (strcmp(attr_name, "media") == 0) {
777 if (linkattr_set(&(linkp->ll_head), attr_name,
785 attr_name[0] = '\0';
787 } else if (attr_name[0] != '\0') {
789 * Non-zero length attr_name and found_type of false
806 * A zero length attr_name indicates we are looking
812 (void) snprintf(attr_name, MAXLINKATTRLEN, "%s", curr);