Home
last modified time | relevance | path

Searched refs:iftype (Results 1 – 24 of 24) sorted by relevance

/freebsd-12.1/tools/tools/ifinfo/
H A Difinfo.c51 static const char *iftype(int);
167 printf("\ttype: %s\n", iftype(ifmd->ifmd_data.ifi_type)); in printit()
264 iftype(int type) in iftype() function
/freebsd-12.1/sys/dev/cx/
H A Dcxddk.c827 void cx_set_port (cx_chan_t *c, int iftype) in cx_set_port() argument
832 if ((c->board->if0type != 0) == (iftype != 0)) in cx_set_port()
834 c->board->if0type = iftype; in cx_set_port()
842 if ((c->board->if8type != 0) == (iftype != 0)) in cx_set_port()
844 c->board->if8type = iftype; in cx_set_port()
864 int iftype; in cx_get_port() local
869 iftype = c->board->if0type; break; in cx_get_port()
871 iftype = c->board->if8type; break; in cx_get_port()
876 if (iftype) in cx_get_port()
H A Dcxddk.h441 void cx_set_port (cx_chan_t *c, int iftype);
/freebsd-12.1/sys/dev/mlx/
H A Dmlx_pci.c86 int iftype; member
147 sc->mlx_iftype = m->iftype; in mlx_pci_attach()
/freebsd-12.1/contrib/libpcap/
H A Dpcap-sita.c59 uint32_t iftype; /* the type of interface (DLT values) */ member
420 static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 iftype) { in translate_IOP_to_pcap_name() argument
435 iface->iftype = iftype; /* remember the interface type of this interface */ in translate_IOP_to_pcap_name()
448 switch (iftype) { in translate_IOP_to_pcap_name()
458 switch (iftype) { in translate_IOP_to_pcap_name()
468 switch (iftype) { in translate_IOP_to_pcap_name()
851 *linktype = p->iftype; in acn_open_live()
/freebsd-12.1/contrib/wpa/src/drivers/
H A Ddriver_nl80211.h109 enum nl80211_iftype iftype; member
234 const char *ifname, enum nl80211_iftype iftype,
H A Ddriver_nl80211_capa.c578 capa->iftype = nla_get_u32(tb1[NL80211_ATTR_IFTYPE]); in wiphy_info_extended_capab()
581 nl80211_iftype_str(capa->iftype)); in wiphy_info_extended_capab()
1558 enum nl80211_iftype iftype; in phy_info_iftype_copy() local
1563 iftype = NL80211_IFTYPE_STATION; in phy_info_iftype_copy()
1566 iftype = NL80211_IFTYPE_ADHOC; in phy_info_iftype_copy()
1569 iftype = NL80211_IFTYPE_AP; in phy_info_iftype_copy()
1572 iftype = NL80211_IFTYPE_MESH_POINT; in phy_info_iftype_copy()
1578 if (!nla_get_flag(tb_flags[iftype])) in phy_info_iftype_copy()
/freebsd-12.1/sys/dev/pccard/
H A Dpccardvarp.h66 int iftype; member
H A Dpccard_cis.c563 switch (cfe->iftype) { in pccard_print_cis()
1000 cfe->iftype = reg & PCCARD_TPCE_IF_IFTYPE; in pccard_parse_cis_tuple()
H A Dpccard.c503 if (cfe->iftype != PCCARD_IFTYPE_IO) in pccard_function_init()
/freebsd-12.1/sys/sys/
H A Dmouse.h85 int iftype; /* MOUSE_IF_XXX */ member
/freebsd-12.1/usr.sbin/moused/
H A Dmoused.c908 rodent.portname, r_if(rodent.hw.iftype), in main()
913 printf("%s\n", r_if(rodent.hw.iftype)); in main()
921 rodent.portname, r_if(rodent.hw.iftype), in main()
1505 rodent.hw.iftype = MOUSE_IF_UNKNOWN; in r_identify()
1554 rodent.hw.iftype = MOUSE_IF_SERIAL; in r_identify()
1587 r_if(int iftype) in r_if() argument
1590 return (gettokenname(rifs, iftype)); in r_if()
1770 if (rodent.hw.iftype == MOUSE_IF_SYSMOUSE) in r_init()
/freebsd-12.1/sys/dev/syscons/
H A Dsysmouse.c144 hw->iftype = MOUSE_IF_SYSMOUSE; in smdev_ioctl()
/freebsd-12.1/contrib/tcpdump/
H A Dprint-sflow.c237 uint8_t iftype[4]; member
312 EXTRACT_32BITS(sflow_gen_counter->iftype), in print_sflow_counter_generic()
/freebsd-12.1/sys/dev/vt/
H A Dvt_sysmouse.c373 hw->iftype = MOUSE_IF_SYSMOUSE; in sysmouse_ioctl()
/freebsd-12.1/sys/dev/adb/
H A Dadb_mouse.c165 sc->hw.iftype = MOUSE_IF_UNKNOWN; in adb_mouse_attach()
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant.c5498 enum wpa_driver_if_type iftype; in wpas_p2p_connect() local
5602 iftype = WPA_IF_P2P_GROUP; in wpas_p2p_connect()
5604 iftype = WPA_IF_P2P_GO; in wpas_p2p_connect()
5605 if (wpas_p2p_add_group_interface(wpa_s, iftype) < 0) { in wpas_p2p_connect()
9014 enum wpa_driver_if_type iftype; in wpas_p2p_nfc_tag_enabled() local
9016 iftype = WPA_IF_P2P_GROUP; in wpas_p2p_nfc_tag_enabled()
9018 iftype = WPA_IF_P2P_GO; in wpas_p2p_nfc_tag_enabled()
9019 if (wpas_p2p_add_group_interface(wpa_s, iftype) < 0) { in wpas_p2p_nfc_tag_enabled()
/freebsd-12.1/sys/dev/usb/input/
H A Dums.c801 sc->sc_hw.iftype = MOUSE_IF_USB; in ums_reset()
H A Dwsp.c798 sc->sc_hw.iftype = MOUSE_IF_USB; in wsp_attach()
H A Datp.c2272 sc->sc_hw.iftype = MOUSE_IF_USB; in atp_attach()
/freebsd-12.1/sys/compat/ndis/
H A Dsubr_ndis.c492 flags, iftype) in NdisMSetAttributesEx() argument
497 ndis_interface_type iftype;
/freebsd-12.1/sys/dev/cyapa/
H A Dcyapa.c527 sc->hw.iftype = MOUSE_IF_PS2; in cyapa_attach()
/freebsd-12.1/sys/dev/atkbdc/
H A Dpsm.c527 int iftype; member
1555 sc->hw.iftype = MOUSE_IF_PS2;
2620 ((old_mousehw_t *)addr)->iftype = sc->hw.iftype;
/freebsd-12.1/sys/net/
H A Dif.c2334 link_init_sdl(struct ifnet *ifp, struct sockaddr *paddr, u_char iftype) in link_init_sdl() argument
2343 sdl->sdl_type = iftype; in link_init_sdl()