Home
last modified time | relevance | path

Searched refs:ttos (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/lib/libifconfig/
H A Dlibifconfig_media.c227 return (ttos); in get_toptype_ttos()
262 if (ttos == NULL) { in ifconfig_media_get_subtype()
268 if (ttos->subtypes[i].alias) in ifconfig_media_get_subtype()
287 if (ttos == NULL) { in ifconfig_media_lookup_subtype()
308 if (ttos == NULL) { in ifconfig_media_get_mode()
314 if (ttos->modes[i].alias) in ifconfig_media_get_mode()
333 if (ttos == NULL) { in ifconfig_media_lookup_mode()
356 if (ttos == NULL) { in ifconfig_media_get_options()
363 if (ttos->options[i].alias) in ifconfig_media_get_options()
383 if (ttos->options[i].alias) in ifconfig_media_get_options()
[all …]
/freebsd-14.2/sbin/etherswitchcfg/
H A Difmedia.c596 return ttos; in get_toptype_ttos()
606 if (ttos->subtypes[i].alias) in get_subtype_desc()
625 if (ttos->modes[i].alias) in get_mode_desc()
627 for (desc = ttos->modes[i].desc; in get_mode_desc()
646 ttos = get_toptype_ttos(ifmw); in print_media_word()
672 desc = get_mode_desc(ifmw, ttos); in print_media_word()
679 if (ttos->options[i].alias) in print_media_word()
681 for (desc = ttos->options[i].desc; in print_media_word()
706 ttos = get_toptype_ttos(ifmw); in print_media_word_ifconfig()
726 desc = get_mode_desc(ifmw, ttos); in print_media_word_ifconfig()
[all …]
/freebsd-14.2/sys/net/
H A Dif_media.c439 const struct ifmedia_type_to_subtype *ttos; in ifmedia_printword() local
443 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in ifmedia_printword()
444 desc->ifmt_string != NULL; desc++, ttos++) in ifmedia_printword()
454 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++) in ifmedia_printword()
470 for (desc = ttos->subtypes; desc->ifmt_string != NULL; desc++) in ifmedia_printword()
497 for (desc = ttos->options; desc->ifmt_string != NULL; desc++) { in ifmedia_printword()