Lines Matching defs:type
215 * the current media type and the top-level type.
262 * We are primarily concerned with the top-level type.
264 * for the top-level type in the first "supported type"
268 * interface will be the same top-level type..)
538 get_media_subtype(int type, const char *val)
544 /* Find the top-level interface type. */
547 if (type == desc->ifmt_word)
550 errx(1, "unknown media type 0x%x", type);
562 get_media_mode(int type, const char *val)
568 /* Find the top-level interface type. */
571 if (type == desc->ifmt_word)
574 errx(1, "unknown media mode 0x%x", type);
585 get_media_options(int type, const char *val)
597 /* Find the top-level interface type. */
600 if (type == desc->ifmt_word)
603 errx(1, "unknown media type 0x%x", type);
705 /* Find the top-level interface type. */
709 printf("<unknown type>");
716 * Don't print the top-level type; it's not like we can
765 /* Find the top-level interface type. */
769 printf("<unknown type>");
774 * Don't print the top-level type; it's not like we can