/external/dhcpcd/ |
H A D | ipv4ll.c | 88 struct interface *iface = arg; local 91 delete_timeout(NULL, iface); 92 iface->state->probes = 0; 93 iface->state->claims = 0; 94 if (iface->addr.s_addr) { 95 iface->state->conflicts = 0; 96 if (IN_LINKLOCAL(htonl(iface->addr.s_addr))) { 97 send_arp_announce(iface); 102 if (iface->state->offer == NULL) 105 addr = iface 125 struct interface *iface = arg; local [all...] |
H A D | duid.h | 33 size_t get_duid(unsigned char *duid, const struct interface *iface);
|
H A D | arp.c | 48 send_arp(const struct interface *iface, int op, in_addr_t sip, in_addr_t tip) argument 56 ar.ar_hrd = htons(iface->family); 58 ar.ar_hln = iface->hwlen; 63 memcpy(p, iface->hwaddr, iface->hwlen); 64 p += iface->hwlen; 68 retval = iface->hwlen; 74 retval = send_raw_packet(iface, ETHERTYPE_ARP, arp_buffer, len); 79 handle_arp_failure(struct interface *iface) argument 84 if ((iface 107 struct interface *iface = arg; local 203 struct interface *iface = arg; local 250 struct interface *iface = arg; local 305 start_arping(struct interface *iface) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | ap_list.c | 32 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) argument 36 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || 37 iface->conf->channel != ap->channel) 53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) argument 57 s = iface->ap_hash[STA_HASH(ap)]; 64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument 66 if (iface->ap_list) { 67 ap->prev = iface->ap_list->prev; 68 iface->ap_list->prev = ap; 71 ap->next = iface 76 ap_ap_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument 90 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) argument 97 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) argument 119 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) argument 129 hostapd_free_aps(struct hostapd_iface *iface) argument 145 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument 169 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) argument 254 struct hostapd_iface *iface = eloop_ctx; local 307 ap_list_init(struct hostapd_iface *iface) argument 314 ap_list_deinit(struct hostapd_iface *iface) argument [all...] |
H A D | acs.h | 15 enum hostapd_chan_status acs_init(struct hostapd_iface *iface); 16 int hostapd_acs_completed(struct hostapd_iface *iface); 20 static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface) argument
|
H A D | hw_features.c | 48 int hostapd_get_hw_features(struct hostapd_iface *iface) argument 50 struct hostapd_data *hapd = iface->bss[0]; 66 iface->hw_flags = flags; 68 hostapd_free_hw_features(iface->hw_features, iface->num_hw_features); 69 iface->hw_features = modes; 70 iface->num_hw_features = num_modes; 105 int hostapd_prepare_rates(struct hostapd_iface *iface, argument 114 if (iface->conf->basic_rates) 115 basic_rates = iface 185 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) argument 250 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) argument 287 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument 358 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument 417 ieee80211n_check_scan(struct hostapd_iface *iface) argument 454 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) argument 494 ieee80211n_check_40mhz(struct hostapd_iface *iface) argument 519 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) argument 619 hostapd_check_ht_capab(struct hostapd_iface *iface) argument 638 hostapd_is_usable_chan(struct hostapd_iface *iface, int channel, int primary) argument 666 hostapd_is_usable_chans(struct hostapd_iface *iface) argument 680 hostapd_check_chans(struct hostapd_iface *iface) argument 705 hostapd_notify_bad_chans(struct hostapd_iface *iface) argument 721 hostapd_acs_completed(struct hostapd_iface *iface) argument 759 hostapd_select_hw_mode(struct hostapd_iface *iface) argument [all...] |
H A D | beacon.h | 25 void ieee802_11_set_beacons(struct hostapd_iface *iface); 26 void ieee802_11_update_beacons(struct hostapd_iface *iface);
|
H A D | hw_features.h | 23 int hostapd_get_hw_features(struct hostapd_iface *iface); 24 int hostapd_select_hw_mode(struct hostapd_iface *iface); 28 int hostapd_check_ht_capab(struct hostapd_iface *iface); 29 int hostapd_prepare_rates(struct hostapd_iface *iface, 38 static inline int hostapd_get_hw_features(struct hostapd_iface *iface) argument 43 static inline int hostapd_select_hw_mode(struct hostapd_iface *iface) argument 58 static inline int hostapd_check_ht_capab(struct hostapd_iface *iface) argument 63 static inline int hostapd_prepare_rates(struct hostapd_iface *iface, argument
|
H A D | acs.c | 243 static int acs_request_scan(struct hostapd_iface *iface); 261 static void acs_cleanup(struct hostapd_iface *iface) argument 266 for (i = 0; i < iface->current_mode->num_channels; i++) { 267 chan = &iface->current_mode->channels[i]; 277 iface->chans_surveyed = 0; 278 iface->acs_num_completed_scans = 0; 282 void acs_fail(struct hostapd_iface *iface) argument 285 acs_cleanup(iface); 323 acs_survey_chan_interference_factor(struct hostapd_iface *iface, argument 341 iface 401 acs_surveys_are_sufficient(struct hostapd_iface *iface) argument 427 acs_survey_all_chans_intereference_factor( struct hostapd_iface *iface) argument 450 acs_find_chan(struct hostapd_iface *iface, int freq) argument 477 acs_find_ideal_chan(struct hostapd_iface *iface) argument 588 acs_adjust_vht_center_freq(struct hostapd_iface *iface) argument 610 acs_study_survey_based(struct hostapd_iface *iface) argument 629 acs_study_options(struct hostapd_iface *iface) argument 644 acs_study(struct hostapd_iface *iface) argument 688 acs_scan_complete(struct hostapd_iface *iface) argument 718 acs_request_scan(struct hostapd_iface *iface) argument 757 acs_init(struct hostapd_iface *iface) argument [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | ap_list.c | 32 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) argument 36 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || 37 iface->conf->channel != ap->channel) 53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) argument 57 s = iface->ap_hash[STA_HASH(ap)]; 64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument 66 if (iface->ap_list) { 67 ap->prev = iface->ap_list->prev; 68 iface->ap_list->prev = ap; 71 ap->next = iface 76 ap_ap_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument 90 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) argument 97 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) argument 119 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) argument 129 hostapd_free_aps(struct hostapd_iface *iface) argument 145 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument 169 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) argument 254 struct hostapd_iface *iface = eloop_ctx; local 307 ap_list_init(struct hostapd_iface *iface) argument 314 ap_list_deinit(struct hostapd_iface *iface) argument [all...] |
H A D | acs.h | 15 enum hostapd_chan_status acs_init(struct hostapd_iface *iface); 16 int hostapd_acs_completed(struct hostapd_iface *iface); 20 static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface) argument
|
H A D | hw_features.c | 48 int hostapd_get_hw_features(struct hostapd_iface *iface) argument 50 struct hostapd_data *hapd = iface->bss[0]; 66 iface->hw_flags = flags; 68 hostapd_free_hw_features(iface->hw_features, iface->num_hw_features); 69 iface->hw_features = modes; 70 iface->num_hw_features = num_modes; 105 int hostapd_prepare_rates(struct hostapd_iface *iface, argument 114 if (iface->conf->basic_rates) 115 basic_rates = iface 185 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) argument 250 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) argument 287 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument 358 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument 417 ieee80211n_check_scan(struct hostapd_iface *iface) argument 454 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) argument 494 ieee80211n_check_40mhz(struct hostapd_iface *iface) argument 519 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) argument 619 hostapd_check_ht_capab(struct hostapd_iface *iface) argument 638 hostapd_is_usable_chan(struct hostapd_iface *iface, int channel, int primary) argument 666 hostapd_is_usable_chans(struct hostapd_iface *iface) argument 680 hostapd_check_chans(struct hostapd_iface *iface) argument 705 hostapd_notify_bad_chans(struct hostapd_iface *iface) argument 721 hostapd_acs_completed(struct hostapd_iface *iface) argument 759 hostapd_select_hw_mode(struct hostapd_iface *iface) argument [all...] |
H A D | beacon.h | 25 void ieee802_11_set_beacons(struct hostapd_iface *iface); 26 void ieee802_11_update_beacons(struct hostapd_iface *iface);
|
H A D | hw_features.h | 23 int hostapd_get_hw_features(struct hostapd_iface *iface); 24 int hostapd_select_hw_mode(struct hostapd_iface *iface); 28 int hostapd_check_ht_capab(struct hostapd_iface *iface); 29 int hostapd_prepare_rates(struct hostapd_iface *iface, 38 static inline int hostapd_get_hw_features(struct hostapd_iface *iface) argument 43 static inline int hostapd_select_hw_mode(struct hostapd_iface *iface) argument 58 static inline int hostapd_check_ht_capab(struct hostapd_iface *iface) argument 63 static inline int hostapd_prepare_rates(struct hostapd_iface *iface, argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ap_list.c | 32 static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap) argument 36 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || 37 iface->conf->channel != ap->channel) 53 static struct ap_info * ap_get_ap(struct hostapd_iface *iface, const u8 *ap) argument 57 s = iface->ap_hash[STA_HASH(ap)]; 64 static void ap_ap_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument 66 if (iface->ap_list) { 67 ap->prev = iface->ap_list->prev; 68 iface->ap_list->prev = ap; 71 ap->next = iface 76 ap_ap_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument 90 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) argument 97 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) argument 119 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) argument 129 hostapd_free_aps(struct hostapd_iface *iface) argument 145 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument 169 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) argument 254 struct hostapd_iface *iface = eloop_ctx; local 307 ap_list_init(struct hostapd_iface *iface) argument 314 ap_list_deinit(struct hostapd_iface *iface) argument [all...] |
H A D | acs.h | 15 enum hostapd_chan_status acs_init(struct hostapd_iface *iface); 16 int hostapd_acs_completed(struct hostapd_iface *iface); 20 static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface) argument
|
H A D | hw_features.c | 48 int hostapd_get_hw_features(struct hostapd_iface *iface) argument 50 struct hostapd_data *hapd = iface->bss[0]; 66 iface->hw_flags = flags; 68 hostapd_free_hw_features(iface->hw_features, iface->num_hw_features); 69 iface->hw_features = modes; 70 iface->num_hw_features = num_modes; 105 int hostapd_prepare_rates(struct hostapd_iface *iface, argument 114 if (iface->conf->basic_rates) 115 basic_rates = iface 185 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) argument 250 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) argument 287 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument 358 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument 417 ieee80211n_check_scan(struct hostapd_iface *iface) argument 454 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) argument 494 ieee80211n_check_40mhz(struct hostapd_iface *iface) argument 519 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) argument 619 hostapd_check_ht_capab(struct hostapd_iface *iface) argument 638 hostapd_is_usable_chan(struct hostapd_iface *iface, int channel, int primary) argument 666 hostapd_is_usable_chans(struct hostapd_iface *iface) argument 680 hostapd_check_chans(struct hostapd_iface *iface) argument 705 hostapd_notify_bad_chans(struct hostapd_iface *iface) argument 721 hostapd_acs_completed(struct hostapd_iface *iface) argument 759 hostapd_select_hw_mode(struct hostapd_iface *iface) argument [all...] |
H A D | beacon.h | 25 void ieee802_11_set_beacons(struct hostapd_iface *iface); 26 void ieee802_11_update_beacons(struct hostapd_iface *iface);
|
H A D | hw_features.h | 23 int hostapd_get_hw_features(struct hostapd_iface *iface); 24 int hostapd_select_hw_mode(struct hostapd_iface *iface); 28 int hostapd_check_ht_capab(struct hostapd_iface *iface); 29 int hostapd_prepare_rates(struct hostapd_iface *iface, 38 static inline int hostapd_get_hw_features(struct hostapd_iface *iface) argument 43 static inline int hostapd_select_hw_mode(struct hostapd_iface *iface) argument 58 static inline int hostapd_check_ht_capab(struct hostapd_iface *iface) argument 63 static inline int hostapd_prepare_rates(struct hostapd_iface *iface, argument
|
/external/wpa_supplicant_8/hostapd/ |
H A D | dump_state.h | 12 int handle_dump_state_iface(struct hostapd_iface *iface, void *ctx);
|
/external/libsepol/src/ |
H A D | iface_record.c | 56 const sepol_iface_t * iface, 60 if (sepol_iface_key_create(handle, iface->name, key_ptr) < 0) { 62 "interface %s", iface->name); 74 int sepol_iface_compare(const sepol_iface_t * iface, argument 78 return strcmp(iface->name, key->name); 81 int sepol_iface_compare2(const sepol_iface_t * iface, argument 85 return strcmp(iface->name, iface2->name); 89 int sepol_iface_create(sepol_handle_t * handle, sepol_iface_t ** iface) argument 104 *iface = tmp_iface; 112 const char *sepol_iface_get_name(const sepol_iface_t * iface) 221 sepol_iface_free(sepol_iface_t * iface) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpa_priv.c | 43 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, argument 46 if (iface->drv_priv) { 48 if (iface->driver->deinit) 49 iface->driver->deinit(iface->drv_priv); 50 iface->drv_priv = NULL; 51 iface->wpas_registered = 0; 54 if (iface->l2) { 57 l2_packet_deinit(iface->l2); 58 iface 83 wpa_priv_cmd_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 95 wpa_priv_cmd_scan(struct wpa_priv_interface *iface, char *buf, size_t len) argument 115 wpa_priv_get_scan_results2(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 161 wpa_priv_cmd_get_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 175 wpa_priv_cmd_associate(struct wpa_priv_interface *iface, void *buf, size_t len) argument 221 wpa_priv_cmd_get_bssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 242 wpa_priv_cmd_get_ssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 268 wpa_priv_cmd_set_key(struct wpa_priv_interface *iface, void *buf, size_t len) argument 296 wpa_priv_cmd_get_capa(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 320 struct wpa_priv_interface *iface = ctx; local 341 wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument 394 wpa_priv_cmd_l2_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 404 wpa_priv_cmd_l2_notify_auth_start(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument 412 wpa_priv_cmd_l2_send(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument 444 wpa_priv_cmd_set_country(struct wpa_priv_interface *iface, char *buf) argument 457 struct wpa_priv_interface *iface = eloop_ctx; local 534 wpa_priv_interface_deinit(struct wpa_priv_interface *iface) argument 560 struct wpa_priv_interface *iface; local 673 wpa_priv_send_event(struct wpa_priv_interface *iface, int event, const void *data, size_t data_len) argument 699 wpa_priv_send_assoc(struct wpa_priv_interface *iface, int event, union wpa_event_data *data) argument 760 wpa_priv_send_interface_status(struct wpa_priv_interface *iface, union wpa_event_data *data) argument 792 wpa_priv_send_ft_response(struct wpa_priv_interface *iface, union wpa_event_data *data) argument 823 struct wpa_priv_interface *iface = ctx; local 886 struct wpa_priv_interface *iface = ctx; local 958 struct wpa_priv_interface *interfaces = NULL, *iface; local [all...] |
H A D | main_none.c | 16 struct wpa_interface iface; local 28 memset(&iface, 0, sizeof(iface)); 31 if (wpa_supplicant_add_iface(global, &iface) == NULL)
|
/external/libppp/src/ |
H A D | iface.h | 26 * $FreeBSD: src/usr.sbin/ppp/iface.h,v 1.8.26.1 2010/12/21 17:10:29 kensmith Exp $ 37 struct iface { struct 56 extern struct iface *iface_Create(const char *name); 57 extern void iface_Clear(struct iface *, struct ncp *, int, int); 58 extern int iface_Add(struct iface *, struct ncp *, const struct ncprange *, 60 extern int iface_Delete(struct iface *, struct ncp *, const struct ncpaddr *); 64 extern void iface_Destroy(struct iface *);
|
/external/wpa_supplicant_8/hostapd/logwatch/ |
H A D | hostapd | 29 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};
|