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

1234567891011>>

/external/dhcpcd/
H A Dipv4ll.c88 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 Dduid.h33 size_t get_duid(unsigned char *duid, const struct interface *iface);
H A Darp.c48 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 Dap_list.c32 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 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_iter_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument
103 ap_ap_iter_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument
118 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) argument
125 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) argument
147 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) argument
158 hostapd_free_aps(struct hostapd_iface *iface) argument
174 ap_ap_for_each(struct hostapd_iface *iface, int (*func)(struct ap_info *s, void *data), void *data) argument
193 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument
218 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) argument
313 struct hostapd_iface *iface = eloop_ctx; local
366 ap_list_init(struct hostapd_iface *iface) argument
373 ap_list_deinit(struct hostapd_iface *iface) argument
[all...]
H A Dbeacon.h25 void ieee802_11_set_beacons(struct hostapd_iface *iface);
26 void ieee802_11_update_beacons(struct hostapd_iface *iface);
H A Dhw_features.h23 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 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;
104 int hostapd_prepare_rates(struct hostapd_iface *iface, argument
113 if (iface->conf->basic_rates)
114 basic_rates = iface
182 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) argument
247 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) argument
284 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
355 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
414 ieee80211n_check_scan(struct hostapd_iface *iface) argument
452 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) argument
492 ieee80211n_check_40mhz(struct hostapd_iface *iface) argument
517 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) argument
617 hostapd_check_ht_capab(struct hostapd_iface *iface) argument
644 hostapd_select_hw_mode(struct hostapd_iface *iface) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dap_list.c32 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 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_iter_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument
103 ap_ap_iter_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument
118 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) argument
125 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) argument
147 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) argument
158 hostapd_free_aps(struct hostapd_iface *iface) argument
174 ap_ap_for_each(struct hostapd_iface *iface, int (*func)(struct ap_info *s, void *data), void *data) argument
193 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument
218 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) argument
313 struct hostapd_iface *iface = eloop_ctx; local
366 ap_list_init(struct hostapd_iface *iface) argument
373 ap_list_deinit(struct hostapd_iface *iface) argument
[all...]
H A Dbeacon.h25 void ieee802_11_set_beacons(struct hostapd_iface *iface);
26 void ieee802_11_update_beacons(struct hostapd_iface *iface);
H A Dhw_features.h23 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 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;
104 int hostapd_prepare_rates(struct hostapd_iface *iface, argument
113 if (iface->conf->basic_rates)
114 basic_rates = iface
182 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) argument
247 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) argument
284 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
355 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
414 ieee80211n_check_scan(struct hostapd_iface *iface) argument
452 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) argument
492 ieee80211n_check_40mhz(struct hostapd_iface *iface) argument
517 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) argument
617 hostapd_check_ht_capab(struct hostapd_iface *iface) argument
644 hostapd_select_hw_mode(struct hostapd_iface *iface) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dap_list.c32 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 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_iter_list_add(struct hostapd_iface *iface, struct ap_info *ap) argument
103 ap_ap_iter_list_del(struct hostapd_iface *iface, struct ap_info *ap) argument
118 ap_ap_hash_add(struct hostapd_iface *iface, struct ap_info *ap) argument
125 ap_ap_hash_del(struct hostapd_iface *iface, struct ap_info *ap) argument
147 ap_free_ap(struct hostapd_iface *iface, struct ap_info *ap) argument
158 hostapd_free_aps(struct hostapd_iface *iface) argument
174 ap_ap_for_each(struct hostapd_iface *iface, int (*func)(struct ap_info *s, void *data), void *data) argument
193 ap_ap_add(struct hostapd_iface *iface, const u8 *addr) argument
218 ap_list_process_beacon(struct hostapd_iface *iface, const struct ieee80211_mgmt *mgmt, struct ieee802_11_elems *elems, struct hostapd_frame_info *fi) argument
313 struct hostapd_iface *iface = eloop_ctx; local
366 ap_list_init(struct hostapd_iface *iface) argument
373 ap_list_deinit(struct hostapd_iface *iface) argument
[all...]
H A Dbeacon.h25 void ieee802_11_set_beacons(struct hostapd_iface *iface);
26 void ieee802_11_update_beacons(struct hostapd_iface *iface);
H A Dhw_features.h23 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 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;
104 int hostapd_prepare_rates(struct hostapd_iface *iface, argument
113 if (iface->conf->basic_rates)
114 basic_rates = iface
182 ieee80211n_allowed_ht40_channel_pair(struct hostapd_iface *iface) argument
247 ieee80211n_switch_pri_sec(struct hostapd_iface *iface) argument
284 ieee80211n_check_40mhz_5g(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
355 ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface, struct wpa_scan_results *scan_res) argument
414 ieee80211n_check_scan(struct hostapd_iface *iface) argument
452 ieee80211n_scan_channels_2g4(struct hostapd_iface *iface, struct wpa_driver_scan_params *params) argument
492 ieee80211n_check_40mhz(struct hostapd_iface *iface) argument
517 ieee80211n_supported_ht_capab(struct hostapd_iface *iface) argument
617 hostapd_check_ht_capab(struct hostapd_iface *iface) argument
644 hostapd_select_hw_mode(struct hostapd_iface *iface) argument
[all...]
/external/wpa_supplicant_8/hostapd/
H A Ddump_state.h12 int handle_dump_state_iface(struct hostapd_iface *iface, void *ctx);
/external/wpa_supplicant_6/wpa_supplicant/
H A Dwpa_priv.c57 static void wpa_priv_cmd_register(struct wpa_priv_interface *iface, argument
60 if (iface->drv_priv) {
62 if (iface->driver->set_wpa)
63 iface->driver->set_wpa(iface->drv_priv, 0);
64 if (iface->driver->deinit)
65 iface->driver->deinit(iface->drv_priv);
66 iface->drv_priv = NULL;
67 iface
102 wpa_priv_cmd_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
116 wpa_priv_cmd_set_wpa(struct wpa_priv_interface *iface, char *buf, size_t len) argument
127 wpa_priv_cmd_scan(struct wpa_priv_interface *iface, char *buf, size_t len) argument
139 wpa_priv_get_scan_results2(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
185 wpa_priv_send_old_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
283 wpa_priv_cmd_get_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
299 wpa_priv_cmd_associate(struct wpa_priv_interface *iface, void *buf, size_t len) argument
345 wpa_priv_cmd_get_bssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
366 wpa_priv_cmd_get_ssid(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
392 wpa_priv_cmd_set_key(struct wpa_priv_interface *iface, void *buf, size_t len) argument
419 wpa_priv_cmd_get_capa(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
443 struct wpa_priv_interface *iface = ctx; local
464 wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument
517 wpa_priv_cmd_l2_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
527 wpa_priv_cmd_l2_notify_auth_start(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
535 wpa_priv_cmd_l2_send(struct wpa_priv_interface *iface, struct sockaddr_un *from, void *buf, size_t len) argument
567 wpa_priv_cmd_set_mode(struct wpa_priv_interface *iface, void *buf, size_t len) argument
578 wpa_priv_cmd_set_country(struct wpa_priv_interface *iface, char *buf) argument
591 struct wpa_priv_interface *iface = eloop_ctx; local
674 wpa_priv_interface_deinit(struct wpa_priv_interface *iface) argument
700 struct wpa_priv_interface *iface; local
815 wpa_priv_send_event(struct wpa_priv_interface *iface, int event, const void *data, size_t data_len) argument
841 wpa_priv_send_assoc(struct wpa_priv_interface *iface, int event, union wpa_event_data *data) argument
902 wpa_priv_send_interface_status(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
934 wpa_priv_send_ft_response(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
965 struct wpa_priv_interface *iface = ctx; local
1028 struct wpa_priv_interface *iface = ctx; local
1073 struct wpa_priv_interface *iface = ctx; local
1146 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_symbian.cpp24 struct wpa_interface iface; local
36 memset(&iface, 0, sizeof(iface));
39 if (wpa_supplicant_add_iface(global, &iface) == NULL)
/external/mesa3d/src/pixelflinger2/
H A Dpixelflinger2.cpp32 static void DepthRangef(GGLInterface * iface, GLclampf zNear, GLclampf zFar) argument
34 GGL_GET_CONTEXT(ctx, iface);
39 static void Viewport(GGLInterface * iface, GLint x, GLint y, GLsizei width, GLsizei height) argument
41 GGL_GET_CONTEXT(ctx, iface);
48 static void CullFace(GGLInterface * iface, GLenum mode) argument
50 GGL_GET_CONTEXT(ctx, iface);
57 static void FrontFace(GGLInterface * iface, GLenum mode) argument
59 GGL_GET_CONTEXT(ctx, iface);
66 static void BlendColor(GGLInterface * iface, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
68 GGL_GET_CONTEXT(ctx, iface);
76 BlendEquationSeparate(GGLInterface * iface, GLenum modeRGB, GLenum modeAlpha) argument
115 BlendFuncSeparate(GGLInterface * iface, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) argument
146 EnableDisable(GGLInterface * iface, GLenum cap, GLboolean enable) argument
186 InitializeGGLState(GGLInterface * iface) argument
249 UninitializeGGLState(GGLInterface * iface) argument
271 DestroyGGLInterface(GGLInterface * iface) argument
[all...]
/external/libsepol/src/
H A Diface_record.c56 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 Dwpa_priv.c43 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
675 wpa_priv_send_event(struct wpa_priv_interface *iface, int event, const void *data, size_t data_len) argument
701 wpa_priv_send_assoc(struct wpa_priv_interface *iface, int event, union wpa_event_data *data) argument
762 wpa_priv_send_interface_status(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
794 wpa_priv_send_ft_response(struct wpa_priv_interface *iface, union wpa_event_data *data) argument
825 struct wpa_priv_interface *iface = ctx; local
888 struct wpa_priv_interface *iface = ctx; local
960 struct wpa_priv_interface *interfaces = NULL, *iface; local
[all...]
H A Dmain_none.c16 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 Diface.h26 * $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 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};

Completed in 324 milliseconds

1234567891011>>