Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 70) sorted by relevance

123

/hostap-latest/src/wps/
Dhttpread.c127 void httpread_destroy(struct httpread *h) in httpread_destroy() argument
129 wpa_printf(MSG_DEBUG, "httpread_destroy(%p)", h); in httpread_destroy()
130 if (!h) in httpread_destroy()
133 eloop_cancel_timeout(httpread_timeout_handler, NULL, h); in httpread_destroy()
134 eloop_unregister_sock(h->sd, EVENT_TYPE_READ); in httpread_destroy()
135 os_free(h->body); in httpread_destroy()
136 os_free(h->uri); in httpread_destroy()
137 os_memset(h, 0, sizeof(*h)); /* aid debugging */ in httpread_destroy()
138 h->sd = -1; /* aid debugging */ in httpread_destroy()
139 os_free(h); in httpread_destroy()
[all …]
Dwps_upnp_web.c990 char *h; in web_connection_parse_subscribe() local
1012 h = hdr; in web_connection_parse_subscribe()
1021 end = os_strchr(h, '\n'); in web_connection_parse_subscribe()
1025 h = end + 1; in web_connection_parse_subscribe()
1026 end = os_strchr(h, '\n'); in web_connection_parse_subscribe()
1035 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe()
1036 h += match_len; in web_connection_parse_subscribe()
1037 while (*h == ' ' || *h == '\t') in web_connection_parse_subscribe()
1038 h++; in web_connection_parse_subscribe()
1041 if (os_strncasecmp(h, match, match_len) != 0) { in web_connection_parse_subscribe()
[all …]
Dhttpread.h54 void httpread_destroy(struct httpread *h);
80 enum httpread_hdr_type httpread_hdr_type_get(struct httpread *h);
86 char *httpread_uri_get(struct httpread *h);
89 int httpread_reply_code_get(struct httpread *h);
93 int httpread_length_get(struct httpread *h);
99 void * httpread_data_get(struct httpread *h);
105 char * httpread_hdr_get(struct httpread *h);
115 char * httpread_hdr_line_get(struct httpread *h, const char *tag);
/hostap-latest/doc/
Dcode_structure.doxygen27 \ref driver_wrapper "Driver interface API" is defined in \ref driver.h and
44 \ref wpa_supplicant_i.h
54 \ref eloop.c and \ref eloop.h
58 \ref common.c and \ref common.h
61 \ref defs.h
64 \ref l2_packet.h, \ref l2_packet_linux.c, and \ref l2_packet_pcap.c
73 \ref pcsc_funcs.c and \ref pcsc_funcs.h
76 \ref priv_netlink.h
81 \ref version.h
87 \ref md5.c and \ref md5.h
[all …]
Dporting.doxygen22 prototypes in \ref common.h (the \verbatim #ifdef CONFIG_ANSI_C_EXTRA \endverbatim
27 definitions in \ref os.h to allow these to be replaced easily with a
29 available. In addition, \ref os.h defines couple of common platform
38 platform needs different versions of the functions, \ref os.h can be
43 \ref common.h defines number of helper macros for handling integers of
79 and RSN pre-authentication 0x88c7. \ref l2_packet.h defines the interfaces
112 signal). eloop.h defines the event loop interface. \ref eloop.c is an
153 \ref wpa_supplicant_i.h. In most cases, the entry point function should
/hostap-latest/tests/hwsim/
Dfst_module_aux.py200 h = self.get_instance()
201 return h.request(req)
205 h = self.get_instance()
207 return h.wait_event(events, timeout=timeout)
209 return h.wait_event(events)
649 h = self.get_instance()
650 status = h.get_status()
657 h = self.get_instance()
658 sta = h.get_sta(None)
669 h = self.get_global_instance()
[all …]
Drfkill.py66 for r, s, h in RFKill.list():
79 for r, s, h in l:
81 return (s, h)
149 for r, s, h in RFKill.list():
152 print("\tHard blocked: %s" % ("yes" if h else "no"))
Dtest_ap_pmf.py1586 h = "80000000" + addr + bssid + bssid + "0000"
1587 h += "c0a0260d27090600"+ "6400" + "1104"
1588 h += "0010746573742d626561636f6e2d70726f74"
1589 h += "010882848b960c121824"
1590 h += "03010"
1591 h += "1050400020000"
1592 h += "2a0104"
1593 h += "32043048606c"
1594 h += "30140100000fac040100000fac040100000fac06cc00"
1595 h += "3b025100"
[all …]
/hostap-latest/src/fst/
Dfst.c118 struct fst_ctrl_handle *h; in fst_global_deinit() local
126 while ((h = dl_list_first(&fst_global_ctrls_list, in fst_global_deinit()
129 fst_global_del_ctrl(h); in fst_global_deinit()
136 struct fst_ctrl_handle *h; in fst_global_add_ctrl() local
141 h = os_zalloc(sizeof(*h)); in fst_global_add_ctrl()
142 if (!h) in fst_global_add_ctrl()
146 os_free(h); in fst_global_add_ctrl()
150 h->ctrl = *ctrl; in fst_global_add_ctrl()
151 dl_list_add_tail(&fst_global_ctrls_list, &h->global_ctrls_lentry); in fst_global_add_ctrl()
153 return h; in fst_global_add_ctrl()
[all …]
/hostap-latest/wpa_supplicant/wpa_gui-qt4/
Dwpa_gui.pro34 HEADERS += wpamsg.h \
35 wpagui.h \
36 eventhistory.h \
37 scanresults.h \
38 scanresultsitem.h \
39 signalbar.h \
40 userdatarequest.h \
41 networkconfig.h \
42 addinterface.h \
43 peers.h \
[all …]
Dwpagui.ui513 <include location="global" >qtimer.h</include>
514 <include location="global" >qsocketnotifier.h</include>
515 <include location="local" >wpamsg.h</include>
516 <include location="local" >eventhistory.h</include>
517 <include location="local" >scanresults.h</include>
518 <include location="local" >peers.h</include>
/hostap-latest/src/utils/
Dedit_readline.c95 HIST_ENTRY *h; in readline_cmd_handler() local
98 h = previous_history(); in readline_cmd_handler()
99 if (h == NULL || os_strcmp(cmd, h->line) != 0) in readline_cmd_handler()
161 HIST_ENTRY *h; in edit_deinit() local
163 while ((h = current_history())) { in edit_deinit()
164 char *p = h->line; in edit_deinit()
168 h = remove_history(where_history()); in edit_deinit()
169 if (h) { in edit_deinit()
170 free(h->line); in edit_deinit()
171 free(h->data); in edit_deinit()
[all …]
Dedit.c178 struct edit_history *h, *match = NULL, *last = NULL; in history_add() local
184 dl_list_for_each(h, &history_list, struct edit_history, list) { in history_add()
185 if (os_strcmp(str, h->str) == 0) { in history_add()
186 match = h; in history_add()
189 last = h; in history_add()
194 dl_list_del(&h->list); in history_add()
195 dl_list_add(&history_list, &h->list); in history_add()
196 history_curr = h; in history_add()
206 h = os_zalloc(sizeof(*h) + len); in history_add()
207 if (h == NULL) in history_add()
[all …]
Dos_win32.c221 HANDLE h; in os_fdatasync() local
226 h = (HANDLE) _get_osfhandle(_fileno(stream)); in os_fdatasync()
227 if (h == INVALID_HANDLE_VALUE) in os_fdatasync()
230 if (!FlushFileBuffers(h)) in os_fdatasync()
Dbrowser.c158 WebKitHitTestResult *h, in view_cb_mouse_target_changed() argument
162 WebKitHitTestResultContext hc = webkit_hit_test_result_get_context(h); in view_cb_mouse_target_changed()
166 uri = webkit_hit_test_result_get_link_uri(h); in view_cb_mouse_target_changed()
168 uri = webkit_hit_test_result_get_image_uri(h); in view_cb_mouse_target_changed()
170 uri = webkit_hit_test_result_get_media_uri(h); in view_cb_mouse_target_changed()
/hostap-latest/wlantest/
Dwritepcap.c53 struct pcap_pkthdr h; in write_pcap_captured() local
58 os_memset(&h, 0, sizeof(h)); in write_pcap_captured()
60 h.ts = wt->write_pcap_time; in write_pcap_captured()
61 h.caplen = len; in write_pcap_captured()
62 h.len = len; in write_pcap_captured()
63 pcap_dump(wt->write_pcap_dumper, &h, buf); in write_pcap_captured()
72 struct pcap_pkthdr h; in write_pcap_decrypted() local
104 os_memset(&h, 0, sizeof(h)); in write_pcap_decrypted()
105 h.ts = wt->write_pcap_time; in write_pcap_decrypted()
106 h.caplen = len; in write_pcap_decrypted()
[all …]
Dreadpcap.c19 struct pcap_pkthdr h; in write_pcap_with_radiotap() local
34 os_memset(&h, 0, sizeof(h)); in write_pcap_with_radiotap()
35 h.ts = wt->write_pcap_time; in write_pcap_with_radiotap()
42 h.caplen = len; in write_pcap_with_radiotap()
43 h.len = len; in write_pcap_with_radiotap()
44 pcap_dump(wt->write_pcap_dumper, &h, buf); in write_pcap_with_radiotap()
/hostap-latest/src/crypto/
Dfips_prf_openssl.c34 context.h[0] = state[0]; in sha1_transform()
35 context.h[1] = state[1]; in sha1_transform()
36 context.h[2] = state[2]; in sha1_transform()
37 context.h[3] = state[3]; in sha1_transform()
38 context.h[4] = state[4]; in sha1_transform()
40 state[0] = context.h[0]; in sha1_transform()
41 state[1] = context.h[1]; in sha1_transform()
42 state[2] = context.h[2]; in sha1_transform()
43 state[3] = context.h[3]; in sha1_transform()
44 state[4] = context.h[4]; in sha1_transform()
Dsha256-internal.c103 #define RND(a,b,c,d,e,f,g,h,i) \ in sha256_compress() argument
104 t0 = h + Sigma1(e) + Ch(e, f, g) + K[i] + W[i]; \ in sha256_compress()
107 h = t0 + t1; in sha256_compress()
/hostap-latest/src/drivers/
Dnetlink.c26 struct nlmsghdr *h) in netlink_receive_link() argument
28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg)) in netlink_receive_link()
30 cb(netlink->cfg->ctx, NLMSG_DATA(h), in netlink_receive_link()
31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)), in netlink_receive_link()
32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg))); in netlink_receive_link()
43 struct nlmsghdr *h; in netlink_receive() local
57 h = (struct nlmsghdr *) buf; in netlink_receive()
58 while (NLMSG_OK(h, left)) { in netlink_receive()
59 switch (h->nlmsg_type) { in netlink_receive()
62 h); in netlink_receive()
[all …]
/hostap-latest/wpa_supplicant/
Dwin_if_list.c51 HANDLE h; in ndisuio_open() local
53 h = CreateFile(TEXT("\\\\.\\\\Ndisuio"), in ndisuio_open()
57 if (h == INVALID_HANDLE_VALUE) in ndisuio_open()
58 return h; in ndisuio_open()
61 if (!DeviceIoControl(h, IOCTL_NDISUIO_BIND_WAIT, NULL, 0, NULL, 0, in ndisuio_open()
65 CloseHandle(h); in ndisuio_open()
70 return h; in ndisuio_open()
/hostap-latest/src/ap/
Dvlan_full.c635 vlan_read_ifnames(struct nlmsghdr *h, size_t len, int del, in vlan_read_ifnames() argument
646 ifi = NLMSG_DATA(h); in vlan_read_ifnames()
650 attrlen = h->nlmsg_len - nlmsg_len; in vlan_read_ifnames()
703 struct nlmsghdr *h; in vlan_event_receive() local
716 h = (struct nlmsghdr *) buf; in vlan_event_receive()
717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
720 len = h->nlmsg_len; in vlan_event_receive()
721 plen = len - sizeof(*h); in vlan_event_receive()
729 switch (h->nlmsg_type) { in vlan_event_receive()
731 vlan_read_ifnames(h, plen, 0, hapd); in vlan_event_receive()
[all …]
/hostap-latest/src/pae/
Dieee802_1x_key.c38 const int h = 128; in aes_kdf() local
54 n = (ret_bits + h - 1) / h; in aes_kdf()
78 ret = ret + h / 8; in aes_kdf()
/hostap-latest/src/common/
Dwpa_ctrl.c321 struct hostent *h; in wpa_ctrl_open() local
405 h = gethostbyname2(name, AF_INET6); in wpa_ctrl_open()
407 h = gethostbyname(name); in wpa_ctrl_open()
411 if (h == NULL) { in wpa_ctrl_open()
421 os_memcpy(&ctrl->dest.sin6_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
424 os_memcpy(&ctrl->dest.sin_addr.s_addr, h->h_addr, h->h_length); in wpa_ctrl_open()
/hostap-latest/wpadebug/src/w1/fi/wpadebug/
DWpaWebViewActivity.java124 final SslErrorHandler h = handler; in onReceivedSslError() local
133 h.proceed(); in onReceivedSslError()
140 h.cancel(); in onReceivedSslError()

123