Home
last modified time | relevance | path

Searched refs:fromlen (Results 1 – 16 of 16) sorted by relevance

/hostap-3.7.0/src/common/
Dctrl_iface_common.c144 socklen_t fromlen, const char *input) in ctrl_iface_attach() argument
150 if (!sockaddr_compare(from, fromlen, in ctrl_iface_attach()
159 os_memcpy(&dst->addr, from, fromlen); in ctrl_iface_attach()
160 dst->addrlen = fromlen; in ctrl_iface_attach()
165 sockaddr_print(MSG_DEBUG, "CTRL_IFACE monitor attached", from, fromlen); in ctrl_iface_attach()
171 socklen_t fromlen) in ctrl_iface_detach() argument
176 if (!sockaddr_compare(from, fromlen, in ctrl_iface_detach()
179 from, fromlen); in ctrl_iface_detach()
191 socklen_t fromlen, const char *level) in ctrl_iface_level() argument
198 if (!sockaddr_compare(from, fromlen, in ctrl_iface_level()
[all …]
Dctrl_iface_common.h36 socklen_t fromlen, const char *input);
38 socklen_t fromlen);
40 socklen_t fromlen, const char *level);
/hostap-3.7.0/wpa_supplicant/
Dwpa_priv.c57 struct sockaddr_un *from, socklen_t fromlen) in wpa_priv_cmd_register() argument
109 os_memcpy(&iface->drv_addr, from, fromlen); in wpa_priv_cmd_register()
110 iface->drv_addr_len = fromlen; in wpa_priv_cmd_register()
183 socklen_t fromlen) in wpa_priv_get_scan_results2() argument
214 sendto(iface->fd, buf, pos - buf, 0, (struct sockaddr *) from, fromlen); in wpa_priv_get_scan_results2()
223 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_get_scan_results2()
229 socklen_t fromlen) in wpa_priv_cmd_get_scan_results() argument
235 wpa_priv_get_scan_results2(iface, from, fromlen); in wpa_priv_cmd_get_scan_results()
237 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_scan_results()
342 struct sockaddr_un *from, socklen_t fromlen) in wpa_priv_cmd_get_bssid() argument
[all …]
Dctrl_iface_udp.c82 socklen_t fromlen) in wpa_supplicant_ctrl_iface_attach() argument
93 dst->addrlen = fromlen; in wpa_supplicant_ctrl_iface_attach()
115 socklen_t fromlen) argument
159 socklen_t fromlen, argument
231 socklen_t fromlen = sizeof(from); local
241 (struct sockaddr *) &from, &fromlen);
320 &from, fromlen))
328 &from, fromlen))
333 if (wpa_supplicant_ctrl_iface_level(priv, &from, fromlen,
346 fromlen);
[all …]
Dctrl_iface_unix.c104 socklen_t fromlen, int global) in wpa_supplicant_ctrl_iface_attach() argument
106 return ctrl_iface_attach(ctrl_dst, from, fromlen, NULL); in wpa_supplicant_ctrl_iface_attach()
112 socklen_t fromlen) in wpa_supplicant_ctrl_iface_detach() argument
114 return ctrl_iface_detach(ctrl_dst, from, fromlen); in wpa_supplicant_ctrl_iface_detach()
120 socklen_t fromlen, in wpa_supplicant_ctrl_iface_level() argument
125 return ctrl_iface_level(&priv->ctrl_dst, from, fromlen, level); in wpa_supplicant_ctrl_iface_level()
137 socklen_t fromlen = sizeof(from); in wpa_supplicant_ctrl_iface_receive() local
146 (struct sockaddr *) &from, &fromlen); in wpa_supplicant_ctrl_iface_receive()
162 fromlen, 0)) in wpa_supplicant_ctrl_iface_receive()
170 fromlen)) in wpa_supplicant_ctrl_iface_receive()
[all …]
/hostap-3.7.0/src/l2_packet/
Dl2_packet_linux.c154 socklen_t fromlen; in l2_packet_receive() local
157 fromlen = sizeof(ll); in l2_packet_receive()
159 &fromlen); in l2_packet_receive()
225 socklen_t fromlen; in l2_packet_receive_br() local
232 fromlen = sizeof(ll); in l2_packet_receive_br()
234 &fromlen); in l2_packet_receive_br()
Dl2_packet_zephyr.c82 socklen_t fromlen; in l2_packet_receive() local
86 fromlen = sizeof(ll); in l2_packet_receive()
88 &fromlen); in l2_packet_receive()
Dl2_packet_privsep.c100 socklen_t fromlen = sizeof(from); in l2_packet_receive() local
104 &fromlen); in l2_packet_receive()
/hostap-3.7.0/src/drivers/
Dnetlink.c42 socklen_t fromlen; in netlink_receive() local
47 fromlen = sizeof(from); in netlink_receive()
49 (struct sockaddr *) &from, &fromlen); in netlink_receive()
Ddriver_privsep.c526 socklen_t fromlen = sizeof(from); in wpa_driver_privsep_receive() local
533 (struct sockaddr *) &from, &fromlen); in wpa_driver_privsep_receive()
Ddriver_nl80211.c7588 socklen_t fromlen = sizeof(lladdr); in handle_eapol() local
7591 (struct sockaddr *)&lladdr, &fromlen); in handle_eapol()
/hostap-3.7.0/src/radius/
Dradius_server.c1239 struct sockaddr *from, socklen_t fromlen, in radius_server_reject() argument
1344 struct sockaddr *from, socklen_t fromlen, in radius_server_request() argument
1375 radius_server_reject(data, client, msg, from, fromlen, in radius_server_request()
1383 radius_server_reject(data, client, msg, from, fromlen, in radius_server_request()
1402 (struct sockaddr *) from, fromlen); in radius_server_request()
1458 sess->last_fromlen = fromlen; in radius_server_request()
1459 os_memcpy(&sess->last_from, from, fromlen); in radius_server_request()
1513 (struct sockaddr *) from, fromlen); in radius_server_request()
1665 socklen_t fromlen; in radius_server_receive_auth() local
1677 fromlen = sizeof(from); in radius_server_receive_auth()
[all …]
Dradius_das.c394 socklen_t fromlen; in radius_das_receive() local
403 fromlen = sizeof(from); in radius_das_receive()
405 (struct sockaddr *) &from.ss, &fromlen); in radius_das_receive()
499 (struct sockaddr *) &from.ss, fromlen); in radius_das_receive()
/hostap-3.7.0/hostapd/
Dctrl_iface.c88 socklen_t fromlen, const char *input) in hostapd_ctrl_iface_attach() argument
90 return ctrl_iface_attach(&hapd->ctrl_dst, from, fromlen, input); in hostapd_ctrl_iface_attach()
96 socklen_t fromlen) in hostapd_ctrl_iface_detach() argument
98 return ctrl_iface_detach(&hapd->ctrl_dst, from, fromlen); in hostapd_ctrl_iface_detach()
104 socklen_t fromlen, in hostapd_ctrl_iface_level() argument
107 return ctrl_iface_level(&hapd->ctrl_dst, from, fromlen, level); in hostapd_ctrl_iface_level()
3509 socklen_t fromlen) in hostapd_ctrl_iface_receive_process() argument
3571 if (hostapd_ctrl_iface_attach(hapd, from, fromlen, NULL)) in hostapd_ctrl_iface_receive_process()
3574 if (hostapd_ctrl_iface_attach(hapd, from, fromlen, buf + 7)) in hostapd_ctrl_iface_receive_process()
3577 if (hostapd_ctrl_iface_detach(hapd, from, fromlen)) in hostapd_ctrl_iface_receive_process()
[all …]
Dhlr_auc_gw.c889 socklen_t fromlen; in process() local
892 fromlen = sizeof(from); in process()
894 &fromlen); in process()
922 fromlen) < 0) in process()
/hostap-3.7.0/src/ap/
Dvlan_full.c702 socklen_t fromlen; in vlan_event_receive() local
706 fromlen = sizeof(from); in vlan_event_receive()
708 (struct sockaddr *) &from, &fromlen); in vlan_event_receive()