Searched refs:iface (Results 1 - 25 of 180) sorted by relevance

12345678

/freebsd-9.3-release/usr.sbin/ppp/
H A Diface.h37 struct iface { struct
57 extern struct iface *iface_Create(const char *name);
58 extern void iface_Clear(struct iface *, struct ncp *, int, int);
59 extern int iface_Name(struct iface *, const char *);
61 extern int iface_Add(struct iface *, struct ncp *, const struct ncprange *,
63 extern int iface_Delete(struct iface *, struct ncp *, const struct ncpaddr *);
67 extern void iface_Free(struct iface *);
68 extern void iface_Destroy(struct iface *);
H A Diface.c84 #include "iface.h"
91 struct iface *
101 struct iface *iface; local
139 iface = NULL;
142 while (ptr < end && iface == NULL) {
148 iface = (struct iface *)malloc(sizeof *iface);
149 if (iface
374 iface_Name(struct iface *iface, const char *name) argument
410 struct iface *iface; local
472 iface_Clear(struct iface *iface, struct ncp *ncp, int family, int how) argument
529 iface_Add(struct iface *iface, struct ncp *ncp, const struct ncprange *ifa, const struct ncpaddr *peer, int how) argument
615 iface_Delete(struct iface *iface, struct ncp *ncp, const struct ncpaddr *del) argument
708 iface_Free(struct iface *iface) argument
717 iface_Destroy(struct iface *iface) argument
763 struct iface *iface = arg->bundle->iface, *current; local
[all...]
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dap_list.c38 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) argument
42 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G ||
43 iface->conf->channel != ap->channel)
59 struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) argument
63 s = iface->ap_hash[STA_HASH(ap)];
70 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument
72 if (iface->ap_list) {
73 ap->prev = iface->ap_list->prev;
74 iface->ap_list->prev = ap;
77 ap->next = iface
82 ap_ap_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument
96 ap_ap_iter_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument
109 ap_ap_iter_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument
124 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) argument
131 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) argument
153 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) argument
164 hostapd_free_aps(struct hostapd_iface *iface) argument
180 ap_ap_for_each(struct hostapd_iface *iface, int (*func)(struct ap_info *s, void *data), void *data) argument
199 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument
224 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) argument
333 struct hostapd_iface *iface = eloop_ctx; local
386 ap_list_init(struct hostapd_iface *iface) argument
393 ap_list_deinit(struct hostapd_iface *iface) argument
[all...]
H A Dhw_features.h22 int hostapd_get_hw_features(struct hostapd_iface *iface);
23 int hostapd_select_hw_mode(struct hostapd_iface *iface);
27 int hostapd_check_ht_capab(struct hostapd_iface *iface);
35 static inline int hostapd_get_hw_features(struct hostapd_iface *iface) argument
40 static inline int hostapd_select_hw_mode(struct hostapd_iface *iface) argument
55 static inline int hostapd_check_ht_capab(struct hostapd_iface *iface) argument
H A Dap_list.h57 struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *sta);
58 int ap_ap_for_each(struct hostapd_iface *iface,
60 void ap_list_process_beacon(struct hostapd_iface *iface,
65 int ap_list_init(struct hostapd_iface *iface);
66 void ap_list_deinit(struct hostapd_iface *iface);
68 static inline int ap_list_init(struct hostapd_iface *iface) argument
73 static inline void ap_list_deinit(struct hostapd_iface *iface) argument
H A Dhw_features.c47 int hostapd_get_hw_features(struct hostapd_iface *iface) argument
49 struct hostapd_data *hapd = iface->bss[0];
65 iface->hw_flags = flags;
67 hostapd_free_hw_features(iface->hw_features, iface->num_hw_features);
68 iface->hw_features = modes;
69 iface->num_hw_features = num_modes;
135 os_free(hapd->iface->current_rates);
136 hapd->iface->num_rates = 0;
138 hapd->iface
177 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) argument
242 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) argument
279 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
350 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
423 ieee80211n_check_scan(struct hostapd_iface *iface) argument
459 ieee80211n_check_40mhz(struct hostapd_iface *iface) argument
481 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) argument
584 hostapd_check_ht_capab(struct hostapd_iface *iface) argument
609 hostapd_select_hw_mode(struct hostapd_iface *iface) argument
[all...]
H A Dieee802_11_ht.c33 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode)
42 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params;
43 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set,
71 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode);
97 int hostapd_ht_operation_update(struct hostapd_iface *iface) argument
102 if (!iface->conf->ieee80211n || iface->conf->ht_op_mode_fixed)
106 __func__, iface->ht_op_mode);
108 if (!(iface->ht_op_mode & HT_INFO_OPERATION_MODE_NON_GF_DEVS_PRESENT)
109 && iface
[all...]
H A Dhostapd.c41 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
46 int hostapd_reload_config(struct hostapd_iface *iface) argument
48 struct hostapd_data *hapd = iface->bss[0];
52 if (iface->config_read_cb == NULL)
54 newconf = iface->config_read_cb(iface->config_fname);
62 for (j = 0; j < iface->num_bss; j++)
63 hostapd_flush_old_stations(iface->bss[j]);
74 iface->conf = newconf;
82 hapd->drv.set_drv_ieee8021x(hapd, hapd->conf->iface,
248 hostapd_cleanup_iface_pre(struct hostapd_iface *iface) argument
260 hostapd_cleanup_iface(struct hostapd_iface *iface) argument
276 hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) argument
342 hostapd_validate_bssid_configuration(struct hostapd_iface *iface) argument
618 hostapd_tx_queue_params(struct hostapd_iface *iface) argument
640 setup_interface(struct hostapd_iface *iface) argument
690 hostapd_setup_interface_complete(struct hostapd_iface *iface, int err) argument
773 hostapd_setup_interface(struct hostapd_iface *iface) argument
821 hostapd_interface_deinit(struct hostapd_iface *iface) argument
838 hostapd_interface_free(struct hostapd_iface *iface) argument
[all...]
H A Dbeacon.h25 void ieee802_11_set_beacons(struct hostapd_iface *iface);
31 static inline void ieee802_11_set_beacons(struct hostapd_iface *iface) argument
H A Diapp.h23 struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
34 const char *iface)
33 iapp_init(struct hostapd_data *hapd, const char *iface) argument
H A Dutils.c51 static int prune_associations(struct hostapd_iface *iface, void *ctx) argument
58 for (j = 0; j < iface->num_bss; j++) {
59 ohapd = iface->bss[j];
85 if (hapd->iface->for_each_interface)
86 hapd->iface->for_each_interface(hapd->iface->interfaces,
/freebsd-9.3-release/contrib/wpa/hostapd/
H A Ddump_state.h18 int handle_dump_state_iface(struct hostapd_iface *iface, void *ctx);
H A Dmain.c42 struct hostapd_iface **iface; member in struct:hapd_interfaces
47 int (*cb)(struct hostapd_iface *iface,
54 ret = cb(interfaces->iface[i], ctx);
117 hapd->conf->iface, MAC2STR(addr),
121 hapd->conf->iface, module_str ? " " : "",
229 static int hostapd_driver_init(struct hostapd_iface *iface) argument
233 struct hostapd_data *hapd = iface->bss[0];
248 params.ifname = hapd->conf->iface;
254 params.num_bridge = hapd->iface->num_bss;
255 params.bridge = os_zalloc(hapd->iface
46 hostapd_for_each_interface(struct hapd_interfaces *interfaces, int (*cb)(struct hostapd_iface *iface, void *ctx), void *ctx) argument
279 hostapd_interface_deinit_free(struct hostapd_iface *iface) argument
298 struct hostapd_iface *iface; local
334 handle_reload_iface(struct hostapd_iface *iface, void *ctx) argument
[all...]
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c49 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, argument
52 if (iface->drv_priv) {
54 if (iface->driver->deinit)
55 iface->driver->deinit(iface->drv_priv);
56 iface->drv_priv = NULL;
57 iface->wpas_registered = 0;
60 if (iface->l2) {
63 l2_packet_deinit(iface->l2);
64 iface
89 wpa_priv_cmd_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
101 wpa_priv_cmd_scan(struct wpa_priv_interface *iface, char *buf, size_t len) argument
121 wpa_priv_get_scan_results2(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
167 wpa_priv_cmd_get_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
181 wpa_priv_cmd_associate(struct wpa_priv_interface *iface, void *buf, size_t len) argument
227 wpa_priv_cmd_get_bssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
248 wpa_priv_cmd_get_ssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
274 wpa_priv_cmd_set_key(struct wpa_priv_interface *iface, void *buf, size_t len) argument
302 wpa_priv_cmd_get_capa(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
326 struct wpa_priv_interface *iface = ctx; local
347 wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument
400 wpa_priv_cmd_l2_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
410 wpa_priv_cmd_l2_notify_auth_start(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
418 wpa_priv_cmd_l2_send(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument
450 wpa_priv_cmd_set_country(struct wpa_priv_interface *iface, char *buf) argument
463 struct wpa_priv_interface *iface = eloop_ctx; local
540 wpa_priv_interface_deinit(struct wpa_priv_interface *iface) argument
566 struct wpa_priv_interface *iface; local
681 wpa_priv_send_event(struct wpa_priv_interface *iface, int event, const void *data, size_t data_len) argument
707 wpa_priv_send_assoc(struct wpa_priv_interface *iface, int event, union wpa_event_data *data) argument
768 wpa_priv_send_interface_status(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
800 wpa_priv_send_ft_response(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
831 struct wpa_priv_interface *iface = ctx; local
894 struct wpa_priv_interface *iface = ctx; local
966 struct wpa_priv_interface *interfaces = NULL, *iface; local
[all...]
H A Dmain_none.c22 struct wpa_interface iface; local
34 memset(&iface, 0, sizeof(iface));
37 if (wpa_supplicant_add_iface(global, &iface) == NULL)
H A Dmain.c127 struct wpa_interface *ifaces, *iface; local
138 iface = ifaces = os_zalloc(sizeof(struct wpa_interface));
151 iface->bridge_ifname = optarg;
157 iface->confname = optarg;
160 iface->ctrl_interface = optarg;
163 iface->driver = optarg;
188 iface->ifname = optarg;
204 iface->driver_param = optarg;
235 iface = os_realloc(ifaces, iface_count *
237 if (iface
[all...]
/freebsd-9.3-release/share/examples/netgraph/
H A Draw10 ngctl mkpeer ${CARD}: iface rawdata inet
/freebsd-9.3-release/contrib/wpa/hostapd/logwatch/
H A Dhostapd29 if (my ($iface,$mac,$layer,$details) = ($line =~ /(.*?): STA (.*?) (.*?): (.*?)$/i)) {
34 $hostapd{$iface}->{$mac}->{$layer}->{$details}++;
41 foreach my $iface (sort keys %hostapd) {
42 print "Interface $iface:\n";
43 foreach my $mac (sort keys %{$hostapd{$iface}}) {
45 foreach my $layer (sort keys %{$hostapd{$iface}->{$mac}}) {
47 foreach my $details (sort keys %{$hostapd{$iface}->{$mac}->{$layer}}) {
49 my $count = $hostapd{$iface}->{$mac}->{$layer}->{$details};
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_introspect.c36 struct interfaces *iface; local
38 dl_list_for_each(iface, list, struct interfaces, list) {
39 if (os_strcmp(iface->dbus_interface, dbus_interface) == 0)
40 return iface; /* already in the list */
43 iface = os_zalloc(sizeof(struct interfaces));
44 if (!iface)
46 iface->xml = wpabuf_alloc(3000);
47 if (iface->xml == NULL) {
48 os_free(iface);
51 wpabuf_printf(iface
103 struct interfaces *iface; local
117 struct interfaces *iface; local
131 struct interfaces *iface; local
161 struct interfaces *iface, *n; local
[all...]
/freebsd-9.3-release/share/examples/ppp/
H A Dppp.linkdown.sample30 # to keep the interface aliases to a minimum (see ``enable iface-alias''
34 iface clear
/freebsd-9.3-release/contrib/ipfilter/
H A Dmkfilters94 ($iface = $_) =~ s/^([a-zA-Z]+\d+).*/$1/;
95 $ifaces{$iface} = $iface;
100 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$1/;
101 ($ppp{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$2/;
103 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+).*/$1/;
109 $netmask{$iface} = $mask;
112 ($bcast{$iface} = $_) =~ s/.*broadcast ([^ ]+).*/$1/;
/freebsd-9.3-release/tools/tools/net80211/w00t/libw00t/
H A Dw00t.h36 int open_tx(char *iface);
37 int open_rx(char *iface);
38 int open_rxtx(char *iface, int *rx, int *tx);
47 int open_tap(char *iface);
48 int set_iface_mac(char *iface, char *mac);
/freebsd-9.3-release/contrib/ipfilter/iplang/
H A Diplang.h8 typedef struct iface { struct
13 struct iface *if_next;
19 struct iface *snd_if;
/freebsd-9.3-release/etc/rc.d/
H A Dbridge49 iface=$2
54 if glob_int $iface $i ; then
55 ifconfig $bridge $cmd $iface > /dev/null 2>&1
/freebsd-9.3-release/tools/tools/iwi/
H A Diwistats.c111 get_statistics(const char *iface) argument
119 if (sscanf(iface, "iwi%u", &ifaceno) != 1)
120 errx(EX_DATAERR, "Invalid interface name '%s'", iface);

Completed in 117 milliseconds

12345678