Searched refs:interfaces (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/contrib/wpa/hostapd/
H A Dmain.c181 wpa_drivers[i]->global_init(iface->interfaces);
257 * interfaces. No actual driver operations are started.
260 hostapd_interface_init(struct hapd_interfaces *interfaces, const char *if_name, argument
267 iface = hostapd_init(interfaces, config_fname);
276 iface->interfaces = interfaces;
323 struct hapd_interfaces *interfaces = signal_ctx; local
326 hostapd_for_each_interface(interfaces, handle_reload_iface, NULL);
337 static int hostapd_global_init(struct hapd_interfaces *interfaces, argument
355 interfaces
513 hostapd_get_global_ctrl_iface(struct hapd_interfaces *interfaces, const char *path) argument
543 hostapd_get_ctrl_iface_group(struct hapd_interfaces *interfaces, const char *group) argument
631 struct hapd_interfaces *interfaces = eloop_ctx; local
641 struct hapd_interfaces interfaces; local
[all...]
H A Dctrl_iface.c3296 res = dpp_bootstrap_gen(hapd->iface->interfaces->dpp, buf + 18);
3305 if (dpp_bootstrap_remove(hapd->iface->interfaces->dpp,
3311 uri = dpp_bootstrap_get_uri(hapd->iface->interfaces->dpp,
3321 reply_len = dpp_bootstrap_info(hapd->iface->interfaces->dpp,
3334 res = dpp_configurator_add(hapd->iface->interfaces->dpp,
3344 if (dpp_configurator_remove(hapd->iface->interfaces->dpp,
3352 hapd->iface->interfaces->dpp,
3637 hapd->iface->interfaces->ctrl_iface_group &&
3639 hapd->iface->interfaces->ctrl_iface_group) < 0) {
3720 hapd->iface->interfaces
3802 hostapd_ctrl_iface_add(struct hapd_interfaces *interfaces, char *buf) argument
3813 hostapd_ctrl_iface_remove(struct hapd_interfaces *interfaces, char *buf) argument
3824 hostapd_global_ctrl_iface_attach(struct hapd_interfaces *interfaces, struct sockaddr_storage *from, socklen_t fromlen, char *input) argument
3833 hostapd_global_ctrl_iface_detach(struct hapd_interfaces *interfaces, struct sockaddr_storage *from, socklen_t fromlen) argument
3841 hostapd_ctrl_iface_flush(struct hapd_interfaces *interfaces) argument
3864 hostapd_global_ctrl_iface_fst_attach(struct hapd_interfaces *interfaces, const char *cmd) argument
3892 hostapd_global_ctrl_iface_fst_detach(struct hapd_interfaces *interfaces, const char *cmd) argument
3916 hostapd_interfaces_get_hapd(struct hapd_interfaces *interfaces, const char *ifname) argument
4001 hostapd_global_ctrl_iface_interfaces(struct hapd_interfaces *interfaces, const char *input, char *reply, int reply_size) argument
4046 hostapd_global_ctrl_iface_dup_network(struct hapd_interfaces *interfaces, char *cmd) argument
4090 hostapd_global_ctrl_iface_ifname(struct hapd_interfaces *interfaces, const char *ifname, char *buf, char *reply, int reply_size, struct sockaddr_storage *from, socklen_t fromlen) argument
4117 void *interfaces = eloop_ctx; local
4486 hostapd_global_ctrl_iface_deinit(struct hapd_interfaces *interfaces) argument
[all...]
H A Dhostapd_cli.c948 struct dl_list *interfaces)
953 if (!ctrl || !interfaces)
963 cli_txt_list_add(interfaces, dent->d_name);
981 printf("Available interfaces:\n");
1011 DEFINE_DL_LIST(interfaces);
1015 hostapd_cli_get_interfaces(ctrl_conn, &interfaces);
1016 res = cli_txt_list_array(&interfaces);
1017 cli_txt_list_flush(&interfaces);
1586 "[ifname] = show interfaces/select interface" },
947 hostapd_cli_get_interfaces(struct wpa_ctrl *ctrl, struct dl_list *interfaces) argument
/freebsd-11-stable/etc/rc.d/
H A Dbridge52 eval interfaces=\$autobridge_${bridge}
53 if [ -n "${interfaces}" ]; then
54 for i in ${interfaces}; do
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dutils.c92 if (hapd->iface->interfaces &&
93 hapd->iface->interfaces->for_each_interface)
94 hapd->iface->interfaces->for_each_interface(
95 hapd->iface->interfaces, prune_associations, &data);
H A Deth_p_oui.c94 struct hapd_interfaces *interfaces; local
104 interfaces = hapd->iface->interfaces;
106 dl_list_for_each(iface, &interfaces->eth_p_oui, struct eth_p_oui_iface,
128 dl_list_add_tail(&interfaces->eth_p_oui, &iface->list);
H A Dhostapd.c69 int hostapd_for_each_interface(struct hapd_interfaces *interfaces, argument
76 for (i = 0; i < interfaces->count; i++) {
77 ret = cb(interfaces->iface[i], ctx);
204 struct hapd_interfaces *interfaces = iface->interfaces; local
217 if (iface->interfaces == NULL ||
218 iface->interfaces->config_read_cb == NULL)
220 newconf = iface->interfaces->config_read_cb(iface->config_fname);
238 hostapd_remove_iface(interfaces, hapd->conf->iface);
239 iface = hostapd_init(interfaces, fnam
2099 struct hapd_interfaces *interfaces = iface->interfaces; local
2338 hostapd_init(struct hapd_interfaces *interfaces, const char *config_file) argument
2392 ifname_in_use(struct hapd_interfaces *interfaces, const char *ifname) argument
2421 hostapd_interface_init_bss(struct hapd_interfaces *interfaces, const char *phy, const char *config_fname, int debug) argument
2681 hostapd_iface_alloc(struct hapd_interfaces *interfaces) argument
2705 hostapd_config_alloc(struct hapd_interfaces *interfaces, const char *ifname, const char *ctrl_iface, const char *driver) argument
2793 hostapd_add_iface(struct hapd_interfaces *interfaces, char *buf) argument
2999 hostapd_remove_iface(struct hapd_interfaces *interfaces, char *buf) argument
3537 hostapd_get_iface(struct hapd_interfaces *interfaces, const char *ifname) argument
[all...]
H A Dhostapd.h48 int (*for_each_interface)(struct hapd_interfaces *interfaces,
418 struct hapd_interfaces *interfaces; member in struct:hostapd_iface
456 * interfaces that need to be started together (synchronously).
460 /* Ready to start but waiting for other interfaces to become ready. */
572 int hostapd_for_each_interface(struct hapd_interfaces *interfaces,
586 struct hostapd_iface * hostapd_init(struct hapd_interfaces *interfaces,
589 hostapd_interface_init_bss(struct hapd_interfaces *interfaces, const char *phy,
647 struct hostapd_data * hostapd_get_iface(struct hapd_interfaces *interfaces,
H A Dvlan_full.c32 int s; /* socket on which to listen for new/removed interfaces. */
54 struct hapd_interfaces *interfaces; local
56 interfaces = hapd->iface->interfaces;
57 dynamic_ifaces = &interfaces->vlan_priv;
90 struct hapd_interfaces *interfaces; local
93 interfaces = hapd->iface->interfaces;
94 dynamic_ifaces = &interfaces->vlan_priv;
H A Dwpa_auth_glue.c486 if (hapd->iface->interfaces == NULL ||
487 hapd->iface->interfaces->for_each_interface == NULL)
491 return hapd->iface->interfaces->for_each_interface(
492 hapd->iface->interfaces, wpa_auth_iface_iter, &data);
607 if (proto == ETH_P_RRB && hapd->iface->interfaces &&
608 hapd->iface->interfaces->for_each_interface) {
615 res = hapd->iface->interfaces->for_each_interface(
616 hapd->iface->interfaces, hostapd_wpa_auth_ft_iter,
765 if (hapd->iface->interfaces &&
766 hapd->iface->interfaces
[all...]
H A Ddpp_hostapd.c43 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd);
408 peer_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos));
418 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp,
469 if (dpp_set_configurator(hapd->iface->interfaces->dpp, hapd->msg_ctx,
531 if (!hapd->iface->interfaces->dpp)
559 dpp_bootstrap_find_pair(hapd->iface->interfaces->dpp, i_bootstrap,
563 if (dpp_relay_rx_action(hapd->iface->interfaces->dpp,
590 if (dpp_set_configurator(hapd->iface->interfaces->dpp, hapd->msg_ctx,
1278 bi = dpp_pkex_finish(hapd->iface->interfaces->dpp, pkex, src, freq);
1309 bi = dpp_pkex_finish(hapd->iface->interfaces
[all...]
H A Dwps_hostapd.c87 if (iface->interfaces == NULL ||
88 iface->interfaces->for_each_interface == NULL)
90 return iface->interfaces->for_each_interface(iface->interfaces,
277 if (iface->interfaces == NULL ||
278 iface->interfaces->reload_config(iface) < 0) {
941 if (iface->interfaces == NULL ||
942 iface->interfaces->for_each_interface == NULL)
945 iface->interfaces->for_each_interface(iface->interfaces, get_uuid_c
[all...]
H A Dbeacon.c691 struct hapd_interfaces *interfaces = iface->interfaces; local
694 for (i = 0; i < interfaces->count; i++) {
697 iface = interfaces->iface[i];
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_introspect.c20 struct interfaces { struct
27 static struct interfaces * add_interface(struct dl_list *list,
30 struct interfaces *iface;
32 dl_list_for_each(iface, list, struct interfaces, list) { argument
37 iface = os_zalloc(sizeof(struct interfaces));
100 struct interfaces *iface;
115 struct interfaces *iface;
130 struct interfaces *iface;
141 * extract_interfaces - Extract interfaces from methods, signals and props
143 * @obj_dsc: Description of object from which interfaces wil
163 dl_list_for_each_safe(iface, n, list, struct interfaces, list) argument
[all...]
/freebsd-11-stable/sys/nfs/
H A Dbootp_subr.c176 STAILQ_HEAD(, bootpc_ifcontext) interfaces;
294 * In order to have multiple active interfaces with address 0.0.0.0
296 * mask to /8 on all interfaces, and temporarily set it to /0 when
448 STAILQ_INSERT_TAIL(&gctx->interfaces, ifctx, next);
667 STAILQ_FOREACH(ifctx, &gctx->interfaces, next) {
675 STAILQ_FOREACH(ifctx, &gctx->interfaces, next) {
796 STAILQ_FOREACH(ifctx, &gctx->interfaces, next) {
819 STAILQ_FOREACH(ifctx, &gctx->interfaces, next) {
895 STAILQ_FOREACH(ifctx, &gctx->interfaces, next)
918 STAILQ_FOREACH(ifctx, &gctx->interfaces, nex
[all...]
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_upnp_i.h117 * multiple wireless interfaces sharing the same UPnP device instance. Each
124 struct dl_list interfaces; /* struct upnp_wps_device_interface */ member in struct:upnp_wps_device_sm
H A Dwps_upnp.c566 dl_list_for_each(iface, &s->sm->interfaces,
1111 dl_list_for_each(iface, &sm->interfaces,
1140 if (dl_list_len(&sm->interfaces) == 1) {
1160 if (dl_list_empty(&sm->interfaces)) {
1217 dl_list_init(&sm->interfaces);
1221 dl_list_add(&sm->interfaces, &iface->list);
1250 dl_list_for_each(iface, &sm->interfaces,
H A Dwps_upnp_web.c318 iface = dl_list_first(&sm->interfaces,
431 iface = dl_list_first(&sm->interfaces,
501 iface = dl_list_first(&sm->interfaces,
653 dl_list_for_each(iface, &sm->interfaces,
720 dl_list_for_each(iface, &sm->interfaces,
H A Dwps_upnp_ssdp.c129 iface = dl_list_first(&sm->interfaces,
580 &sm->interfaces,
/freebsd-11-stable/contrib/apr-util/
H A Dapr-util.spec19 contains additional utility interfaces for APR; including support
20 for XML, LDAP, database interfaces, URI parsing and more.
/freebsd-11-stable/contrib/openresolv/
H A Dresolvconf.in62 IFACEDIR="$VARDIR/interfaces"
92 -i [\$PATTERN] Show interfaces that have supplied DNS information
93 optionally from interfaces that match the specified
95 -l [\$PATTERN] Show DNS information, optionally from interfaces
102 -f Ignore non existent interfaces
146 # Public interfaces override private ones.
455 # Only list interfaces which we really have
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c52 struct wpa_priv_interface *interfaces; member in struct:wpa_priv_global
1107 for (iface = global->interfaces; iface; iface = iface->next) {
1213 global.interfaces = NULL;
1255 iface->next = global.interfaces;
1256 global.interfaces = iface;
1268 iface = global.interfaces;
/freebsd-11-stable/share/mk/
H A Dbsd.test.mk64 # Pull in the definitions of all supported test interfaces.
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_nl80211.h29 struct dl_list interfaces; member in struct:nl80211_global
/freebsd-11-stable/sbin/pfctl/
H A Dparse.y4983 expand_altq(struct pf_altq *a, struct node_if *interfaces,
4994 FREE_LIST(struct node_if, interfaces);
5000 LOOP_THROUGH(struct node_if, interface, interfaces,
5086 FREE_LIST(struct node_if, interfaces);
5094 expand_queue(struct pf_altq *a, struct node_if *interfaces,
5114 LOOP_THROUGH(struct node_if, interface, interfaces,
5222 FREE_LIST(struct node_if, interfaces);
5237 struct node_if *interfaces, struct node_host *rpool_hosts,
5265 LOOP_THROUGH(struct node_if, interface, interfaces,
5401 FREE_LIST(struct node_if, interfaces);
[all...]

Completed in 351 milliseconds

12