• Home
  • Raw
  • Download

Lines Matching refs:from

61 					    struct sockaddr_un *from,  in wpa_supplicant_ctrl_iface_attach()  argument
69 os_memcpy(&dst->addr, from, sizeof(struct sockaddr_un)); in wpa_supplicant_ctrl_iface_attach()
75 (u8 *) from->sun_path, fromlen - sizeof(from->sun_family)); in wpa_supplicant_ctrl_iface_attach()
81 struct sockaddr_un *from, in wpa_supplicant_ctrl_iface_detach() argument
89 os_memcmp(from->sun_path, dst->addr.sun_path, in wpa_supplicant_ctrl_iface_detach()
90 fromlen - sizeof(from->sun_family)) == 0) { in wpa_supplicant_ctrl_iface_detach()
97 (u8 *) from->sun_path, in wpa_supplicant_ctrl_iface_detach()
98 fromlen - sizeof(from->sun_family)); in wpa_supplicant_ctrl_iface_detach()
109 struct sockaddr_un *from, in wpa_supplicant_ctrl_iface_level() argument
120 os_memcmp(from->sun_path, dst->addr.sun_path, in wpa_supplicant_ctrl_iface_level()
121 fromlen - sizeof(from->sun_family)) == 0) { in wpa_supplicant_ctrl_iface_level()
123 "level", (u8 *) from->sun_path, in wpa_supplicant_ctrl_iface_level()
124 fromlen - sizeof(from->sun_family)); in wpa_supplicant_ctrl_iface_level()
142 struct sockaddr_un from; in wpa_supplicant_ctrl_iface_receive() local
143 socklen_t fromlen = sizeof(from); in wpa_supplicant_ctrl_iface_receive()
149 (struct sockaddr *) &from, &fromlen); in wpa_supplicant_ctrl_iface_receive()
157 if (wpa_supplicant_ctrl_iface_attach(priv, &from, fromlen)) in wpa_supplicant_ctrl_iface_receive()
164 if (wpa_supplicant_ctrl_iface_detach(priv, &from, fromlen)) in wpa_supplicant_ctrl_iface_receive()
169 if (wpa_supplicant_ctrl_iface_level(priv, &from, fromlen, in wpa_supplicant_ctrl_iface_receive()
180 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in wpa_supplicant_ctrl_iface_receive()
184 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from, in wpa_supplicant_ctrl_iface_receive()
187 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from, in wpa_supplicant_ctrl_iface_receive()
538 struct sockaddr_un from; in wpa_supplicant_ctrl_iface_wait() local
539 socklen_t fromlen = sizeof(from); in wpa_supplicant_ctrl_iface_wait()
547 (struct sockaddr *) &from, &fromlen); in wpa_supplicant_ctrl_iface_wait()
556 if (!wpa_supplicant_ctrl_iface_attach(priv, &from, in wpa_supplicant_ctrl_iface_wait()
559 (struct sockaddr *) &from, fromlen); in wpa_supplicant_ctrl_iface_wait()
564 (struct sockaddr *) &from, fromlen); in wpa_supplicant_ctrl_iface_wait()
569 (struct sockaddr *) &from, fromlen); in wpa_supplicant_ctrl_iface_wait()
589 struct sockaddr_un from; in wpa_supplicant_global_ctrl_iface_receive() local
590 socklen_t fromlen = sizeof(from); in wpa_supplicant_global_ctrl_iface_receive()
595 (struct sockaddr *) &from, &fromlen); in wpa_supplicant_global_ctrl_iface_receive()
606 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in wpa_supplicant_global_ctrl_iface_receive()
610 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from, in wpa_supplicant_global_ctrl_iface_receive()