/freebsd-11-stable/etc/rc.d/ |
H A D | ipfw_netflow | 62 msg netflow: setdlt {iface=0 dlt=12}
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | neighbor_db.c | 194 (hapd->iface->drv_flags & WPA_DRIVER_FLAGS_AP_UAPSD)) 209 if (ieee80211_freq_to_channel_ext(hapd->iface->freq, 224 ieee80211_freq_to_chan(hapd->iface->freq + 244 wpabuf_put_u8(nr, ieee80211_get_phy_type(hapd->iface->freq, ht, vht));
|
H A D | dpp_hostapd.c | 43 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd); 196 (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { 200 hapd->dpp_auth->neg_freq, hapd->iface->freq); 269 if (freq != (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { 273 freq, hapd->iface->freq); 408 peer_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); 418 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, 464 hapd->iface [all...] |
H A D | ieee802_11.c | 92 if (hapd->iface->current_rates == NULL) 96 num = hapd->iface->num_rates; 108 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num; 111 *pos = hapd->iface->current_rates[i].rate / 5; 112 if (hapd->iface->current_rates[i].flags & HOSTAPD_RATE_BASIC) 136 if (hapd->iface->current_rates == NULL) 139 num = hapd->iface->num_rates; 150 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8; 155 *pos = hapd->iface->current_rates[i].rate / 5; 156 if (hapd->iface 5132 struct hostapd_iface *iface = hapd->iface; local 5162 struct hostapd_iface *iface = hapd->iface; local 5188 struct hostapd_iface *iface = hapd->iface; local [all...] |
H A D | hs20.c | 145 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, 180 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, 226 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr,
|
H A D | wmm.c | 74 struct hostapd_hw_modes *mode = hapd->iface->current_mode; 83 if (chan->freq != hapd->iface->freq) 96 if (os_memcmp(acp, hapd->iface->prev_wmm, 98 os_memcpy(hapd->iface->prev_wmm, acp, 130 (hapd->iface->drv_flags & WPA_DRIVER_FLAGS_AP_UAPSD))
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipftest.c | 70 char *datain, *iface, *ifname, *logout; local 84 iface = NULL; 202 while ((i = (*r->r_readip)(m, &iface, &dir)) > 0) { 204 if ((iface == NULL) || (*iface == '\0')) 205 iface = ifname; 208 ifp = get_unit(iface, IP_V(ip)); 294 if (iface != ifname) { 295 free(iface); 296 iface [all...] |
/freebsd-11-stable/usr.sbin/usbconfig/ |
H A D | dump.c | 284 struct libusb20_interface *iface) 289 idesc = &iface->desc; 291 dump_extra(&iface->extra, " " " " " "); 293 for (z = 0; z != iface->num_endpoints; z++) { 295 dump_endpoint(pdev, iface->endpoints + z); 283 dump_iface(struct libusb20_device *pdev, struct libusb20_interface *iface) argument
|
/freebsd-11-stable/tools/tools/usbtest/ |
H A D | usb_modem_test.c | 439 uint8_t iface; local 450 find_usb_endpoints(pdev, 255, 255, 255, 0, &iface, &in_ep, &out_ep, 0); 452 find_usb_endpoints(pdev, 2, 2, 1, 0, &iface, &in_ep, &out_ep, 1); 459 printf("Attaching to: %s @ iface %d\n", 460 libusb20_dev_get_desc(pdev), iface); 467 if (libusb20_dev_detach_kernel_driver(pdev, iface)) { 485 p->usb_iface = iface;
|
H A D | usb_msc_test.c | 951 struct libusb20_interface *iface; local 971 iface = (pcfg->interface + x); 973 if ((iface->desc.bInterfaceClass == class) && 974 (iface->desc.bInterfaceSubClass == subclass || 976 (iface->desc.bInterfaceProtocol == protocol || 983 iface = (pcfg->interface + x); 987 for (z = 0; z != iface->num_endpoints; z++) { 988 ep = iface->endpoints + z; 1013 uint8_t iface; local 1027 find_usb_endpoints(pdev, 8, 6, 0x50, 0, &iface, [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | ipcp.c | 99 #include "iface.h" 525 struct iface *iface = ipcp->fsm.bundle->iface; local 536 for (n = 0; n < iface->addrs; n++) { 537 if (!ncpaddr_getip4(&iface->addr[n].peer, &peer)) 544 if (n == iface->addrs) 572 for (n = 0; n < iface->addrs; n++) { 573 ncprange_getaddr(&iface->addr[n].ifa, &ipaddr); 579 if (n == iface 983 struct iface *iface = bundle->iface; local [all...] |
H A D | Makefile | 9 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
|
H A D | ether.c | 96 #include "iface.h" 464 const char *iface, *provider; local 477 iface = p->name.full + PPPOE_NODE_TYPE_LEN + 1; 479 provider = strchr(iface, ':'); 481 ifacelen = provider - iface; 485 ifacelen = strlen(iface); 495 * | <iface> | dev->cs 503 * | <iface> |(tunN)<---->(tunN)| <unnamed> | 525 sprintf(path, "%.*s:", (int)ifacelen, iface);
|
/freebsd-11-stable/contrib/netbsd-tests/net/if_tun/ |
H A D | t_tun.sh | 79 local iface=$4 85 atf_check -s exit:0 -o match:" $iface" -e ignore -x \
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | wps_upnp_ssdp.c | 126 struct upnp_wps_device_interface *iface; local 129 iface = dl_list_first(&sm->interfaces, 131 if (!iface) 133 uuid_bin2str(iface->wps->uuid, uuid_string, sizeof(uuid_string)); 578 struct upnp_wps_device_interface *iface; local 579 iface = dl_list_first( 583 if (!iface) 586 uuid_bin2str(iface->wps->uuid, uuid_string,
|
/freebsd-11-stable/sys/mips/nlm/dev/net/ |
H A D | nae.c | 1265 int iface = port & 0x3; local 1270 SGMII_NET_IFACE_CTRL(nblock, iface)); 1272 SGMII_NET_IFACE_CTRL(nblock, iface), 1276 SGMII_MAC_CONF1(nblock, iface)); 1278 SGMII_MAC_CONF1(nblock, iface), 1302 int iface = port & 0x3; local 1307 SGMII_MAC_CONF1(nblock, iface)); 1309 SGMII_MAC_CONF1(nblock, iface), 1314 SGMII_NET_IFACE_CTRL(nblock, iface)); 1316 SGMII_NET_IFACE_CTRL(nblock, iface), 1361 int iface, iface_ctrl_reg, iface_ctrl3_reg, conf1_reg, conf2_reg; local [all...] |
H A D | xaui.c | 139 nlm_nae_setup_rx_mode_xaui(uint64_t base, int nblock, int iface, int port_type, argument 154 nlm_nae_setup_mac_addr_xaui(uint64_t base, int nblock, int iface, argument 176 nlm_nae_setup_rx_mode_xaui(base, nblock, iface,
|
/freebsd-11-stable/contrib/wpa/src/fst/ |
H A D | fst_ctrl_iface.c | 563 struct fst_iface *iface = NULL; local 576 iface = fst_group_get_iface_by_name(g, ifname); 577 if (iface) 580 if (!iface) 583 mbies = fst_iface_get_peer_mb_ie(iface, peer_addr); 660 static int print_band(unsigned num, struct fst_iface *iface, const u8 *addr, argument 668 fst_iface_get_channel_info(iface, &hw_mode, &channel); 673 num, fst_iface_get_name(iface)); 674 wpabuf = fst_iface_get_peer_mb_ie(iface, addr); 684 num, fst_iface_get_group_id(iface)); [all...] |
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_network_io.h | 890 * @param iface Address of the interface to use. If NULL is passed, the 897 apr_sockaddr_t *iface, 905 * @param iface Address of the interface to use. If NULL is passed, the 912 apr_sockaddr_t *iface, 937 * @param iface Address of the interface to use for Multicast 940 apr_sockaddr_t *iface);
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_generic.c | 767 struct usb_interface *iface; local 782 iface = usbd_get_iface(udev, ugd->ugd_iface_index); 783 if ((iface == NULL) || (iface->idesc == NULL)) { 789 if ((iface->subdev != NULL) && 790 device_is_attached(iface->subdev) && 791 (ptr = device_get_nameunit(iface->subdev)) && 792 (desc = device_get_desc(iface->subdev))) { 1748 struct usb_interface *iface; local 1750 iface 2122 struct usb_interface *iface; local [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant.c | 679 "P2P: GO(iface)=%p members=%u CLI(iface)=%p persistent(ssid)=%p", 2130 struct wpa_interface iface; local 2147 os_memset(&iface, 0, sizeof(iface)); 2148 iface.ifname = wpa_s->pending_interface_name; 2149 iface.driver = wpa_s->driver->name; 2154 iface.ctrl_interface = wpa_s->parent->conf->ctrl_interface; 2156 iface.ctrl_interface = wpa_s->conf->ctrl_interface; 2157 iface 3797 struct wpa_interface iface; local 7609 struct wpa_supplicant *iface; local 7631 struct wpa_supplicant *iface; local 7657 struct wpa_supplicant *iface; local 7702 struct wpa_supplicant *iface; local 8385 struct wpa_supplicant *iface; local 8529 struct wpa_supplicant *iface; local 8960 struct wpa_supplicant *iface; local [all...] |
H A D | wpa_supplicant.c | 5103 struct wpa_supplicant *iface = wpa_s->global->ifaces; local 5106 while (rn && iface) { 5107 radio = iface->radio; 5115 iface = iface->next; 5530 const struct wpa_interface *iface) 5534 driver = iface->driver; 5614 const struct wpa_interface *iface) 5621 "'%s' ctrl_interface '%s' bridge '%s'", iface->ifname, 5622 iface 5529 wpas_init_driver(struct wpa_supplicant *wpa_s, const struct wpa_interface *iface) argument 5613 wpa_supplicant_init_iface(struct wpa_supplicant *wpa_s, const struct wpa_interface *iface) argument 5978 struct wpa_supplicant *iface, *prev; local 6069 struct wpa_interface *iface, *miface; local 6097 struct wpa_interface *iface; local 6138 wpa_supplicant_add_iface(struct wpa_global *global, struct wpa_interface *iface, struct wpa_supplicant *parent) argument [all...] |
/freebsd-11-stable/sys/dev/usb/net/ |
H A D | uhso.c | 565 id = usbd_get_interface_descriptor(uaa->iface); 726 struct usb_interface *iface; local 732 iface = usbd_get_iface(udev, 0); 733 if (iface == NULL) 735 id = iface->idesc; 890 struct usb_interface *iface; local 901 iface = usbd_get_iface(sc->sc_udev, index); 904 error = uhso_attach_ifnet(sc, iface, type); 915 if (iface->idesc->bNumEndpoints < 3) { 924 error = uhso_attach_muxserial(sc, iface, typ 1034 uhso_attach_muxserial(struct uhso_softc *sc, struct usb_interface *iface, int type) argument 1265 uhso_attach_bulkserial(struct uhso_softc *sc, struct usb_interface *iface, int type) argument 1552 uhso_attach_ifnet(struct uhso_softc *sc, struct usb_interface *iface, int type) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/drivers/ |
H A D | driver_hostap.c | 40 char iface[IFNAMSIZ + 1]; member in struct:hostap_driver_data 235 drv->iface) >= (int) sizeof(ifr.ifr_name)) { 260 return linux_get_ifhwaddr(drv->sock, drv->iface, own_addr); 355 if (os_snprintf(ifname, IFNAMSIZ, "%sap", drv->iface) >= IFNAMSIZ) { 384 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 498 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 556 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 593 drv->iface, MAC2STR(addr)); 917 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 978 memcpy(drv->iface, param [all...] |
H A D | driver_atheros.c | 70 char iface[IFNAMSIZ + 1]; member in struct:atheros_driver_data 193 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 217 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 236 __func__, drv->iface, op, 250 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 257 __func__, drv->iface, op, athr_get_param_name(op), 828 os_strlcpy(iwr.ifr_name, drv->iface, sizeof(iwr.ifr_name)); 851 __func__, drv->iface, strerror(errno)); 987 drv->sock_raw = l2_packet_init(drv->iface, NULL, ETH_P_80211_RAW, 1412 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSI [all...] |