Home
last modified time | relevance | path

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

123

/freebsd/tools/tools/ifinfo/
H A Difinfo.c52 static const char *iftype(int);
208 printf("\ttype: %s\n", iftype(ifmd->ifmd_data.ifi_type)); in printit()
305 iftype(int type) in iftype() function
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtime-event.c793 enum nl80211_iftype iftype; in __iwl_mvm_remove_time_event() local
803 iftype = te_data->vif->type; in __iwl_mvm_remove_time_event()
822 if ((p2p_aux && iftype == NL80211_IFTYPE_P2P_DEVICE) || in __iwl_mvm_remove_time_event()
842 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in __iwl_mvm_remove_time_event()
1271 int iftype = vif->type; in iwl_mvm_stop_roc() local
1275 if (p2p_aux || (roc_ver >= 3 && iftype != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_stop_roc()
1285 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in iwl_mvm_stop_roc()
1310 iftype = te_data->vif->type; in iwl_mvm_stop_roc()
1311 if (iftype == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
1322 if (p2p_aux || iftype != NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
H A Dsta.h469 int iwl_mvm_find_free_sta_id(struct iwl_mvm *mvm, enum nl80211_iftype iftype);
545 u32 qmask, enum nl80211_iftype iftype,
/freebsd/sys/dev/mlx/
H A Dmlx_pci.c83 int iftype; member
144 sc->mlx_iftype = m->iftype; in mlx_pci_attach()
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dp2p.c813 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan()
2117 enum brcmf_fil_p2p_if_types iftype) argument
2128 if_request.type = cpu_to_le16((u16)iftype);
2284 enum brcmf_fil_p2p_if_types iftype; local
2296 iftype = BRCMF_FIL_P2P_IF_CLIENT;
2299 iftype = BRCMF_FIL_P2P_IF_GO;
2324 p2p_intf_addr, iftype);
2362 if (iftype == BRCMF_FIL_P2P_IF_GO) {
2385 enum nl80211_iftype iftype; local
2392 iftype = vif->wdev.iftype;
[all …]
H A Dcfg80211.c323 u8 iftype; /* type of interface created */ member
332 u8 iftype; /* type of interface created */ member
560 params.iftype_num[pos->wdev.iftype]++; in brcmf_vif_change_validate()
578 params.iftype_num[pos->wdev.iftype]++; in brcmf_vif_add_validate()
626 if ((wdev->iftype == NL80211_IFTYPE_ADHOC) || in brcmf_cfg80211_update_proto_addr_mode()
627 (wdev->iftype == NL80211_IFTYPE_AP) || in brcmf_cfg80211_update_proto_addr_mode()
628 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) in brcmf_cfg80211_update_proto_addr_mode()
697 iface_v2.iftype = WL_INTERFACE_CREATE_STA; in brcmf_cfg80211_request_sta_if()
729 iface_v3.iftype = WL_INTERFACE_CREATE_STA; in brcmf_cfg80211_request_sta_if()
792 iface_v2.iftype = WL_INTERFACE_CREATE_AP; in brcmf_cfg80211_request_ap_if()
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-sita.c57 uint32_t iftype; /* the type of interface (DLT values) */ member
426 static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 iftype) { in translate_IOP_to_pcap_name() argument
440 iface->iftype = iftype; /* remember the interface type of this interface */ in translate_IOP_to_pcap_name()
450 switch (iftype) { in translate_IOP_to_pcap_name()
460 switch (iftype) { in translate_IOP_to_pcap_name()
470 switch (iftype) { in translate_IOP_to_pcap_name()
850 *linktype = p->iftype; in acn_open_live()
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dcfg80211.h1050 enum nl80211_iftype iftype; member
1181 enum nl80211_iftype iftype; member
2052 enum nl80211_iftype iftype) in cfg80211_reg_can_beacon() argument
2082 enum nl80211_iftype iftype) in ieee80211_get_sband_iftype_data() argument
2089 if (iftype_data->types_mask & BIT(iftype)) in ieee80211_get_sband_iftype_data()
2098 enum nl80211_iftype iftype) in ieee80211_get_he_iftype_cap() argument
2103 iftype_data = ieee80211_get_sband_iftype_data(band, iftype); in ieee80211_get_he_iftype_cap()
2116 enum nl80211_iftype iftype) in ieee80211_get_eht_iftype_cap() argument
2121 iftype_data = ieee80211_get_sband_iftype_data(band, iftype); in ieee80211_get_eht_iftype_cap()
2156 cfg80211_get_iftype_ext_capa(struct wiphy *wiphy, enum nl80211_iftype iftype) in cfg80211_get_iftype_ext_capa() argument
[all …]
H A Dmac80211.h2393 enum nl80211_iftype iftype) in ieee80211_data_to_8023() argument
2579 enum nl80211_iftype iftype; in ieee80211_get_he_iftype_cap_vif() local
2581 iftype = ieee80211_vif_type_p2p(vif); in ieee80211_get_he_iftype_cap_vif()
2582 return (ieee80211_get_he_iftype_cap(band, iftype)); in ieee80211_get_he_iftype_cap_vif()
2589 enum nl80211_iftype iftype; in ieee80211_get_eht_iftype_cap_vif() local
2591 iftype = ieee80211_vif_type_p2p(vif); in ieee80211_get_eht_iftype_cap_vif()
2592 return (ieee80211_get_eht_iftype_cap(band, iftype)); in ieee80211_get_eht_iftype_cap_vif()
/freebsd/usr.sbin/moused/moused/
H A Dmoused.c808 r->dev.path, r_if(r->dev.iftype), in main()
813 printf("%s\n", r_if(r->dev.iftype)); in main()
1018 b_size = rifs[r->dev.iftype].p_size; in moused()
1074 flags = r->dev.iftype == DEVICE_IF_EVDEV ? in moused()
1856 enum device_if iftype; in r_init() local
1869 iftype = r_identify_if(fd); in r_init()
1870 switch (iftype) { in r_init()
1884 r_if(iftype), path); in r_init()
1909 dev.iftype = iftype; in r_init()
1911 switch (iftype) { in r_init()
[all …]
H A Dutil.h77 enum device_if iftype; member
/freebsd/usr.sbin/moused/msconvd/
H A Dmsconvd.c597 rodent.portname, r_if(rodent.hw.iftype), in main()
602 printf("%s\n", r_if(rodent.hw.iftype)); in main()
610 rodent.portname, r_if(rodent.hw.iftype), in main()
801 uisetup.id.bustype = r_bustype(rodent.hw.iftype); in r_uinput_register()
970 rodent.hw.iftype = MOUSE_IF_UNKNOWN; in r_identify()
1016 rodent.hw.iftype = MOUSE_IF_SERIAL; in r_identify()
1047 r_if(int iftype) in r_if() argument
1050 return (gettokenname(rifs, iftype)); in r_if()
1054 r_bustype(int iftype) in r_bustype() argument
1056 return (gettokenval2(rifs, iftype)); in r_bustype()
[all …]
/freebsd/sbin/ifconfig/
H A Difconfig_netlink.c209 convert_iftype(ifType iftype) in convert_iftype() argument
211 switch (iftype) { in convert_iftype()
217 return (iftype); in convert_iftype()
H A Difconfig.h295 ifType convert_iftype(ifType iftype);
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dinit.c77 .iftype = NL80211_IFTYPE_AP,
86 .iftype = NL80211_IFTYPE_STATION,
1388 enum nl80211_iftype iftype) in mt7996_init_he_caps() argument
1425 switch (iftype) { in mt7996_init_he_caps()
1487 mt7996_set_stream_he_txbf_caps(phy, he_cap, iftype, band); in mt7996_init_he_caps()
1517 enum nl80211_iftype iftype) in mt7996_init_eht_caps() argument
1618 if (iftype != NL80211_IFTYPE_AP) in mt7996_init_eht_caps()
1649 struct ieee80211_sband_iftype_data *data = phy->iftype[band]; in __mt7996_set_stream_he_eht_caps()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211.h122 enum nl80211_iftype iftype; member
310 const char *ifname, enum nl80211_iftype iftype,
H A Ddriver_nl80211_capa.c859 capa->iftype = nla_get_u32(tb1[NL80211_ATTR_IFTYPE]); in wiphy_info_extended_capab()
862 nl80211_iftype_str(capa->iftype)); in wiphy_info_extended_capab()
1908 enum nl80211_iftype iftype; in phy_info_iftype_copy() local
1915 iftype = NL80211_IFTYPE_STATION; in phy_info_iftype_copy()
1918 iftype = NL80211_IFTYPE_ADHOC; in phy_info_iftype_copy()
1921 iftype = NL80211_IFTYPE_AP; in phy_info_iftype_copy()
1924 iftype = NL80211_IFTYPE_MESH_POINT; in phy_info_iftype_copy()
1930 if (!nla_get_flag(tb_flags[iftype])) in phy_info_iftype_copy()
/freebsd/sys/dev/pccard/
H A Dpccardvarp.h63 int iftype; member
/freebsd/sys/sys/
H A Dmouse.h83 int iftype; /* MOUSE_IF_XXX */ member
/freebsd/tests/sys/net/routing/
H A Dtest_routing_l3.py105 gw_link = SaHelper.link_sa(ifindex=tun_ifindex, iftype=IFT_ETHER)
/freebsd/sys/dev/syscons/
H A Dsysmouse.c149 hw->iftype = MOUSE_IF_SYSMOUSE; in smdev_ioctl()
/freebsd/tests/atf_python/sys/net/
H A Drtsock.py221 def link_sa(ifindex: int = 0, iftype: int = 0) -> bytes:
222 sa = SockaddrDl(sizeof(SockaddrDl), socket.AF_LINK, c_ushort(ifindex), iftype)
H A Dvnet.py62 self.iftype = self.IFT_LOOP
64 self.iftype = self.IFT_ETHER
/freebsd/sys/contrib/dev/rtw89/
H A Dcore.c235 .iftype = NL80211_IFTYPE_STATION,
5167 enum nl80211_iftype iftype, in rtw89_init_he_cap() argument
5194 if (iftype == NL80211_IFTYPE_STATION) in rtw89_init_he_cap()
5199 if (iftype == NL80211_IFTYPE_AP) in rtw89_init_he_cap()
5203 if (iftype == NL80211_IFTYPE_STATION) in rtw89_init_he_cap()
5222 if (iftype == NL80211_IFTYPE_STATION) in rtw89_init_he_cap()
5225 if (iftype == NL80211_IFTYPE_AP) in rtw89_init_he_cap()
5253 if (iftype == NL80211_IFTYPE_STATION) in rtw89_init_he_cap()
5277 enum nl80211_iftype iftype, in rtw89_init_eht_cap() argument
5375 enum nl80211_iftype iftype; in rtw89_init_he_eht_cap() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dinit.c1201 data = phy->iftype[NL80211_BAND_2GHZ]; in mt7915_set_stream_he_caps()
1209 data = phy->iftype[NL80211_BAND_5GHZ]; in mt7915_set_stream_he_caps()
1217 data = phy->iftype[NL80211_BAND_6GHZ]; in mt7915_set_stream_he_caps()

123