Searched refs:link_modes (Results 1 – 2 of 2) sorted by relevance
1135 static struct trans_tbl link_modes[] = { variable1142 return __type2str(st, buf, len, link_modes, ARRAY_SIZE(link_modes)); in rtnl_link_mode2str()1147 return __str2type(name, link_modes, ARRAY_SIZE(link_modes)); in rtnl_link_str2mode()
171 static const char *link_modes[] = { variable179 if (mode >= sizeof(link_modes) / sizeof(link_modes[0])) in print_linkmode()182 fprintf(f, "mode %s ", link_modes[mode]); in print_linkmode()