Home
last modified time | relevance | path

Searched refs:ifmt_word (Results 1 – 5 of 5) sorted by relevance

/freebsd/lib/libifconfig/
H A Dlibifconfig_media.c226 if (IFM_TYPE(media) == desc->ifmt_word) in get_toptype_ttos()
239 if (IFM_TYPE(media) == desc->ifmt_word) in ifconfig_media_get_type()
252 return (desc == NULL ? INVALID_IFMEDIA : desc->ifmt_word); in ifconfig_media_lookup_type()
272 if (IFM_SUBTYPE(media) == desc->ifmt_word) in ifconfig_media_get_subtype()
295 return (desc->ifmt_word); in ifconfig_media_lookup_subtype()
318 if (IFM_MODE(media) == desc->ifmt_word) in ifconfig_media_get_mode()
341 return (desc->ifmt_word); in ifconfig_media_lookup_mode()
367 if ((media & desc->ifmt_word) != 0) in ifconfig_media_get_options()
387 if ((media & desc->ifmt_word) != 0) { in ifconfig_media_get_options()
422 options[j] = opt->ifmt_word; in ifconfig_media_lookup_options()
/freebsd/sbin/etherswitchcfg/
H A Difmedia.c486 if (type == desc->ifmt_word) in get_media_subtype()
510 if (type == desc->ifmt_word) in get_media_mode()
539 if (type == desc->ifmt_word) in get_media_options()
570 return (desc->ifmt_word); in lookup_media_word()
580 if (IFM_TYPE(ifmw) == desc->ifmt_word) in get_toptype_desc()
593 if (IFM_TYPE(ifmw) == desc->ifmt_word) in get_toptype_ttos()
610 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word) in get_subtype_desc()
629 if (IFM_MODE(ifmw) == desc->ifmt_word) in get_mode_desc()
683 if (ifmw & desc->ifmt_word) { in print_media_word()
736 if (ifmw & desc->ifmt_word) { in print_media_word_ifconfig()
/freebsd/sys/net/
H A Dif_media.c445 if (IFM_TYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
455 if (IFM_MODE(ifmw) == desc->ifmt_word) { in ifmedia_printword()
467 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
471 if (IFM_SUBTYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
486 if (ifmw & desc->ifmt_word) { in ifmedia_printword()
498 if (ifmw & desc->ifmt_word) { in ifmedia_printword()
H A Dif_media.h422 int ifmt_word; /* word value; may be masked */ member
/freebsd/sbin/devd/
H A Ddevd.cc340 _type = media_types[i].ifmt_word; in media()