Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/common/
Dctrl_iface_common.c117 socklen_t fromlen) in ctrl_iface_attach() argument
124 os_memcpy(&dst->addr, from, fromlen); in ctrl_iface_attach()
125 dst->addrlen = fromlen; in ctrl_iface_attach()
129 sockaddr_print(MSG_DEBUG, "CTRL_IFACE monitor attached", from, fromlen); in ctrl_iface_attach()
135 socklen_t fromlen) in ctrl_iface_detach() argument
140 if (!sockaddr_compare(from, fromlen, in ctrl_iface_detach()
143 from, fromlen); in ctrl_iface_detach()
155 socklen_t fromlen, const char *level) in ctrl_iface_level() argument
162 if (!sockaddr_compare(from, fromlen, in ctrl_iface_level()
166 from, fromlen); in ctrl_iface_level()
Dctrl_iface_common.h32 socklen_t fromlen);
34 socklen_t fromlen);
36 socklen_t fromlen, const char *level);
/external/openssh/
Dcanohost.c51 socklen_t fromlen; in get_remote_hostname() local
56 fromlen = sizeof(from); in get_remote_hostname()
58 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_remote_hostname()
66 ipv64_normalise_mapped(&from, &fromlen); in get_remote_hostname()
69 fromlen = sizeof(struct sockaddr_in6); in get_remote_hostname()
71 if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), in get_remote_hostname()
80 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), in get_remote_hostname()
375 socklen_t fromlen; in get_sock_port() local
380 fromlen = sizeof(from); in get_sock_port()
383 if (getsockname(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port()
[all …]
Dsession.c749 socklen_t fromlen; in do_pre_login() local
758 fromlen = sizeof(from); in do_pre_login()
761 (struct sockaddr *)&from, &fromlen) < 0) { in do_pre_login()
769 (struct sockaddr *)&from, fromlen); in do_pre_login()
857 socklen_t fromlen; in do_login() local
867 fromlen = sizeof(from); in do_login()
870 (struct sockaddr *)&from, &fromlen) < 0) { in do_login()
881 (struct sockaddr *)&from, fromlen); in do_login()
Dloginrec.c1664 socklen_t fromlen = sizeof(from); in record_failed_login() local
1703 (struct sockaddr *)&from, &fromlen) == 0) { in record_failed_login()
1704 ipv64_normalise_mapped(&from, &fromlen); in record_failed_login()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c83 socklen_t fromlen) in wpa_supplicant_ctrl_iface_attach() argument
94 dst->addrlen = fromlen; in wpa_supplicant_ctrl_iface_attach()
116 socklen_t fromlen) argument
160 socklen_t fromlen, argument
232 socklen_t fromlen = sizeof(from); local
239 (struct sockaddr *) &from, &fromlen);
306 &from, fromlen))
314 &from, fromlen))
319 if (wpa_supplicant_ctrl_iface_level(priv, &from, fromlen,
332 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); 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
143 (struct sockaddr *) &from, &fromlen); in wpa_supplicant_ctrl_iface_receive()
153 fromlen, 0)) in wpa_supplicant_ctrl_iface_receive()
161 fromlen)) in wpa_supplicant_ctrl_iface_receive()
[all …]
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_posix.cc194 socklen_t fromlen = sizeof(sockaddrfrom); in HasIncoming() local
197 socklen_t fromlen = sizeof(from); in HasIncoming() local
202 reinterpret_cast<sockaddr*>(&sockaddrfrom), &fromlen); in HasIncoming()
203 memcpy(&from, &sockaddrfrom, fromlen); in HasIncoming()
207 reinterpret_cast<sockaddr*>(&from), &fromlen); in HasIncoming()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c131 socklen_t fromlen; in l2_packet_receive() local
134 fromlen = sizeof(ll); in l2_packet_receive()
136 &fromlen); in l2_packet_receive()
199 socklen_t fromlen; in l2_packet_receive_br() local
206 fromlen = sizeof(ll); in l2_packet_receive_br()
208 &fromlen); in l2_packet_receive_br()
Dl2_packet_privsep.c100 socklen_t fromlen = sizeof(from); in l2_packet_receive() local
104 &fromlen); in l2_packet_receive()
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c76 socklen_t fromlen) in hostapd_ctrl_iface_attach() argument
78 return ctrl_iface_attach(&hapd->ctrl_dst, from, fromlen); in hostapd_ctrl_iface_attach()
84 socklen_t fromlen) in hostapd_ctrl_iface_detach() argument
86 return ctrl_iface_detach(&hapd->ctrl_dst, from, fromlen); in hostapd_ctrl_iface_detach()
92 socklen_t fromlen, in hostapd_ctrl_iface_level() argument
95 return ctrl_iface_level(&hapd->ctrl_dst, from, fromlen, level); in hostapd_ctrl_iface_level()
2078 socklen_t fromlen) in hostapd_ctrl_iface_receive_process() argument
2138 if (hostapd_ctrl_iface_attach(hapd, from, fromlen)) in hostapd_ctrl_iface_receive_process()
2141 if (hostapd_ctrl_iface_detach(hapd, from, fromlen)) in hostapd_ctrl_iface_receive_process()
2144 if (hostapd_ctrl_iface_level(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()
/external/wpa_supplicant_8/src/radius/
Dradius_das.c199 socklen_t fromlen; in radius_das_receive() local
208 fromlen = sizeof(from); in radius_das_receive()
210 (struct sockaddr *) &from.ss, &fromlen); in radius_das_receive()
313 (struct sockaddr *) &from.ss, fromlen); in radius_das_receive()
Dradius_server.c930 struct sockaddr *from, socklen_t fromlen, in radius_server_reject() argument
990 struct sockaddr *from, socklen_t fromlen, in radius_server_request() argument
1021 radius_server_reject(data, client, msg, from, fromlen, in radius_server_request()
1029 radius_server_reject(data, client, msg, from, fromlen, in radius_server_request()
1048 (struct sockaddr *) from, fromlen); in radius_server_request()
1104 sess->last_fromlen = fromlen; in radius_server_request()
1105 os_memcpy(&sess->last_from, from, fromlen); in radius_server_request()
1154 (struct sockaddr *) from, fromlen); in radius_server_request()
1196 socklen_t fromlen; in radius_server_receive_auth() local
1208 fromlen = sizeof(from); in radius_server_receive_auth()
[all …]
/external/iputils/
Dtftpd.c91 socklen_t fromlen; variable
127 fromlen = sizeof (from); in main()
129 (struct sockaddr *)&from, &fromlen); in main()
173 fromlen = j; in main()
/external/wpa_supplicant_8/src/ap/
Diapp.c309 socklen_t fromlen; in iapp_receive_udp() local
314 fromlen = sizeof(from); in iapp_receive_udp()
316 (struct sockaddr *) &from, &fromlen); in iapp_receive_udp()
Dvlan_full.c653 socklen_t fromlen; in vlan_event_receive() local
657 fromlen = sizeof(from); in vlan_event_receive()
659 (struct sockaddr *) &from, &fromlen); in vlan_event_receive()
/external/e2fsprogs/misc/
Duuidd.c233 socklen_t fromlen; in server_loop() local
336 fromlen = sizeof(from_addr); in server_loop()
339 ns = accept(s, (struct sockaddr *) &from_addr, &fromlen); in server_loop()
/external/ipsec-tools/src/racoon/
Dsockmisc.c273 socklen_t *fromlen, struct sockaddr *to, unsigned int *tolen) in recvfromto() argument
278 return recvfrom(s, buf, len, flags, from, fromlen); in recvfromto()
374 recvfromto(s, buf, buflen, flags, from, fromlen, to, tolen) in recvfromto() argument
380 socklen_t *fromlen;
407 m.msg_namelen = *fromlen;
421 *fromlen = m.msg_namelen;
Dadmin.c103 socklen_t fromlen = sizeof(from); in admin_handler() local
108 so2 = accept(lcconf->sock_admin, (struct sockaddr *)&from, &fromlen); in admin_handler()
/external/curl/tests/server/
Dtftpd.c198 static curl_socklen_t fromlen; variable
820 fromlen = sizeof(from); in main()
824 fromlen = sizeof(from.sa4); in main()
827 fromlen = sizeof(from.sa6); in main()
830 &from.sa, &fromlen); in main()
/external/curl/lib/
Dtftp.c1082 curl_socklen_t fromlen; in tftp_receive_packet() local
1089 fromlen = sizeof(fromaddr); in tftp_receive_packet()
1095 &fromlen); in tftp_receive_packet()
1097 memcpy(&state->remote_addr, &fromaddr, fromlen); in tftp_receive_packet()
1098 state->remote_addrlen = fromlen; in tftp_receive_packet()
/external/c-ares/
Dares_process.c435 ares_socklen_t fromlen; in read_udp_packets() local
477 fromlen = sizeof(from.sa4); in read_udp_packets()
479 fromlen = sizeof(from.sa6); in read_udp_packets()
481 0, &from.sa, &fromlen); in read_udp_packets()
/external/strace/
Dnet.c967 int fromlen; in SYS_FUNC() local
985 umove(tcp, tcp->u_arg[5], &fromlen) < 0) { in SYS_FUNC()
993 printsock(tcp, tcp->u_arg[4], fromlen); in SYS_FUNC()
995 tprintf(", [%u]", fromlen); in SYS_FUNC()

12