Lines Matching refs:attr_name
727 char attr_name[MAXLINKATTRLEN]; in parse_linkprops() local
733 attr_name[0] = '\0'; in parse_linkprops()
756 if (attr_name[0] != '\0' && found_type) { in parse_linkprops()
765 if (strcmp(attr_name, "linkid") == 0) { in parse_linkprops()
770 } else if (strcmp(attr_name, "name") == 0) { in parse_linkprops()
775 } else if (strcmp(attr_name, "class") == 0) { in parse_linkprops()
780 } else if (strcmp(attr_name, "media") == 0) { in parse_linkprops()
785 } else if (strcmp(attr_name, "zone") == 0) { in parse_linkprops()
800 } else if (strcmp(attr_name, "transient") == 0) { in parse_linkprops()
810 if (linkattr_set(&(linkp->ll_head), attr_name, in parse_linkprops()
818 attr_name[0] = '\0'; in parse_linkprops()
820 } else if (attr_name[0] != '\0') { in parse_linkprops()
845 (void) snprintf(attr_name, MAXLINKATTRLEN, "%s", curr); in parse_linkprops()