Searched refs:ifmt_string (Results 1 – 5 of 5) sorted by relevance
/freebsd/sbin/etherswitchcfg/ |
H A D | ifmedia.c | 485 desc->ifmt_string != NULL; desc++, ttos++) in get_media_subtype() 488 if (desc->ifmt_string == NULL) in get_media_subtype() 509 desc->ifmt_string != NULL; desc++, ttos++) in get_media_mode() 512 if (desc->ifmt_string == NULL) in get_media_mode() 538 desc->ifmt_string != NULL; desc++, ttos++) in get_media_options() 541 if (desc->ifmt_string == NULL) in get_media_options() 568 for (; desc->ifmt_string != NULL; desc++) in lookup_media_word() 569 if (strcasecmp(desc->ifmt_string, val) == 0) in lookup_media_word() 579 for (desc = ifm_type_descriptions; desc->ifmt_string != NULL; desc++) in get_toptype_desc() 592 desc->ifmt_string != NULL; desc++, ttos++) in get_toptype_ttos() [all …]
|
/freebsd/sys/net/ |
H A D | if_media.c | 444 desc->ifmt_string != NULL; desc++, ttos++) in ifmedia_printword() 447 if (desc->ifmt_string == NULL) { in ifmedia_printword() 451 printf("%s", desc->ifmt_string); in ifmedia_printword() 454 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++) in ifmedia_printword() 456 if (desc->ifmt_string != NULL) in ifmedia_printword() 457 printf(" mode %s", desc->ifmt_string); in ifmedia_printword() 466 desc->ifmt_string != NULL; desc++) in ifmedia_printword() 470 for (desc = ttos->subtypes; desc->ifmt_string != NULL; desc++) in ifmedia_printword() 473 if (desc->ifmt_string == NULL) { in ifmedia_printword() 479 printf(" %s", desc->ifmt_string); in ifmedia_printword() [all …]
|
H A D | if_media.h | 423 const char *ifmt_string; /* description */ member
|
/freebsd/lib/libifconfig/ |
H A D | libifconfig_media.c | 133 for (; desc->ifmt_string != NULL; ++desc) in lookup_media_desc() 134 if (strcasecmp(desc->ifmt_string, name) == 0) in lookup_media_desc() 225 desc->ifmt_string != NULL; desc++, ttos++) { in get_toptype_ttos() 238 for (desc = ifm_type_descriptions; desc->ifmt_string != NULL; ++desc) { in ifconfig_media_get_type() 240 return (desc->ifmt_string); in ifconfig_media_get_type() 271 desc->ifmt_string != NULL; ++desc) { in ifconfig_media_get_subtype() 273 return (desc->ifmt_string); in ifconfig_media_get_subtype() 317 desc->ifmt_string != NULL; ++desc) { in ifconfig_media_get_mode() 319 return (desc->ifmt_string); in ifconfig_media_get_mode() 366 desc->ifmt_string != NULL; ++desc) { in ifconfig_media_get_options() [all …]
|
/freebsd/sbin/devd/ |
H A D | devd.cc | 338 for (int i = 0; media_types[i].ifmt_string != NULL; ++i) in media() 339 if (strcasecmp(type, media_types[i].ifmt_string) == 0) { in media()
|