Home
last modified time | relevance | path

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

12

/external/wpa_supplicant/
Dctrl_iface_unix.c62 socklen_t fromlen) in wpa_supplicant_ctrl_iface_attach() argument
70 dst->addrlen = fromlen; in wpa_supplicant_ctrl_iface_attach()
75 (u8 *) from->sun_path, fromlen - sizeof(from->sun_family)); in wpa_supplicant_ctrl_iface_attach()
82 socklen_t fromlen) in wpa_supplicant_ctrl_iface_detach() argument
88 if (fromlen == dst->addrlen && in wpa_supplicant_ctrl_iface_detach()
90 fromlen - sizeof(from->sun_family)) == 0) { in wpa_supplicant_ctrl_iface_detach()
98 fromlen - sizeof(from->sun_family)); in wpa_supplicant_ctrl_iface_detach()
110 socklen_t fromlen, in wpa_supplicant_ctrl_iface_level() argument
119 if (fromlen == dst->addrlen && in wpa_supplicant_ctrl_iface_level()
121 fromlen - sizeof(from->sun_family)) == 0) { in wpa_supplicant_ctrl_iface_level()
[all …]
Dctrl_iface_udp.c61 socklen_t fromlen) in wpa_supplicant_ctrl_iface_attach() argument
69 dst->addrlen = fromlen; in wpa_supplicant_ctrl_iface_attach()
81 socklen_t fromlen) in wpa_supplicant_ctrl_iface_detach() argument
108 socklen_t fromlen, in wpa_supplicant_ctrl_iface_level() argument
160 socklen_t fromlen = sizeof(from); in wpa_supplicant_ctrl_iface_receive() local
167 (struct sockaddr *) &from, &fromlen); in wpa_supplicant_ctrl_iface_receive()
220 if (wpa_supplicant_ctrl_iface_attach(priv, &from, fromlen)) in wpa_supplicant_ctrl_iface_receive()
227 if (wpa_supplicant_ctrl_iface_detach(priv, &from, fromlen)) in wpa_supplicant_ctrl_iface_receive()
232 if (wpa_supplicant_ctrl_iface_level(priv, &from, fromlen, in wpa_supplicant_ctrl_iface_receive()
245 fromlen); in wpa_supplicant_ctrl_iface_receive()
[all …]
Ddriver_test.c279 socklen_t fromlen, in wpa_driver_test_scanresp() argument
365 socklen_t fromlen, in wpa_driver_test_assocresp() argument
386 socklen_t fromlen) in wpa_driver_test_disassoc() argument
394 socklen_t fromlen, in wpa_driver_test_eapol() argument
411 socklen_t fromlen, in wpa_driver_test_mlme() argument
427 socklen_t fromlen = sizeof(from); in wpa_driver_test_receive_unix() local
434 (struct sockaddr *) &from, &fromlen); in wpa_driver_test_receive_unix()
445 wpa_driver_test_scanresp(drv, &from, fromlen, buf + 9); in wpa_driver_test_receive_unix()
447 wpa_driver_test_assocresp(drv, &from, fromlen, buf + 10); in wpa_driver_test_receive_unix()
449 wpa_driver_test_disassoc(drv, &from, fromlen); in wpa_driver_test_receive_unix()
[all …]
Dl2_packet_linux.c78 socklen_t fromlen; in l2_packet_receive() local
81 fromlen = sizeof(ll); in l2_packet_receive()
83 &fromlen); in l2_packet_receive()
/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface_unix.c63 socklen_t fromlen) in wpa_supplicant_ctrl_iface_attach() argument
71 dst->addrlen = fromlen; in wpa_supplicant_ctrl_iface_attach()
77 fromlen - offsetof(struct sockaddr_un, sun_path)); in wpa_supplicant_ctrl_iface_attach()
84 socklen_t fromlen) in wpa_supplicant_ctrl_iface_detach() argument
90 if (fromlen == dst->addrlen && in wpa_supplicant_ctrl_iface_detach()
92 fromlen - offsetof(struct sockaddr_un, sun_path)) in wpa_supplicant_ctrl_iface_detach()
101 fromlen - in wpa_supplicant_ctrl_iface_detach()
114 socklen_t fromlen, in wpa_supplicant_ctrl_iface_level() argument
123 if (fromlen == dst->addrlen && in wpa_supplicant_ctrl_iface_level()
125 fromlen - offsetof(struct sockaddr_un, sun_path)) in wpa_supplicant_ctrl_iface_level()
[all …]
Dctrl_iface_udp.c61 socklen_t fromlen) in wpa_supplicant_ctrl_iface_attach() argument
69 dst->addrlen = fromlen; in wpa_supplicant_ctrl_iface_attach()
81 socklen_t fromlen) in wpa_supplicant_ctrl_iface_detach() argument
108 socklen_t fromlen, in wpa_supplicant_ctrl_iface_level() argument
160 socklen_t fromlen = sizeof(from); in wpa_supplicant_ctrl_iface_receive() local
167 (struct sockaddr *) &from, &fromlen); in wpa_supplicant_ctrl_iface_receive()
220 if (wpa_supplicant_ctrl_iface_attach(priv, &from, fromlen)) in wpa_supplicant_ctrl_iface_receive()
227 if (wpa_supplicant_ctrl_iface_detach(priv, &from, fromlen)) in wpa_supplicant_ctrl_iface_receive()
232 if (wpa_supplicant_ctrl_iface_level(priv, &from, fromlen, in wpa_supplicant_ctrl_iface_receive()
245 fromlen); in wpa_supplicant_ctrl_iface_receive()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/
Dhlr_auc_gw.c390 static void sim_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen, in sim_req_auth() argument
463 (struct sockaddr *) from, fromlen) < 0) in sim_req_auth()
468 static void aka_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen, in aka_req_auth() argument
527 fromlen) < 0) in aka_req_auth()
532 static void aka_auts(int s, struct sockaddr_un *from, socklen_t fromlen, in aka_auts() argument
579 socklen_t fromlen; in process() local
582 fromlen = sizeof(from); in process()
584 &fromlen); in process()
600 sim_req_auth(s, &from, fromlen, buf + 13); in process()
602 aka_req_auth(s, &from, fromlen, buf + 13); in process()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_test.c391 socklen_t fromlen, in wpa_driver_test_scanresp() argument
478 socklen_t fromlen, in wpa_driver_test_assocresp() argument
500 socklen_t fromlen) in wpa_driver_test_disassoc() argument
509 socklen_t fromlen, in wpa_driver_test_eapol() argument
526 socklen_t fromlen, in wpa_driver_test_mlme() argument
544 socklen_t fromlen = sizeof(from); in wpa_driver_test_receive_unix() local
551 (struct sockaddr *) &from, &fromlen); in wpa_driver_test_receive_unix()
563 fromlen, buf + 9); in wpa_driver_test_receive_unix()
566 fromlen, buf + 10); in wpa_driver_test_receive_unix()
569 fromlen); in wpa_driver_test_receive_unix()
[all …]
Ddriver_privsep.c471 socklen_t fromlen = sizeof(from); in wpa_driver_privsep_receive() local
478 (struct sockaddr *) &from, &fromlen); in wpa_driver_privsep_receive()
Ddriver_ralink.c796 socklen_t fromlen; in wpa_driver_ralink_event_receive() local
801 fromlen = sizeof(from); in wpa_driver_ralink_event_receive()
803 (struct sockaddr *) &from, &fromlen); in wpa_driver_ralink_event_receive()
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_server.c424 struct sockaddr *from, socklen_t fromlen, in radius_server_reject() argument
483 struct sockaddr *from, socklen_t fromlen, in radius_server_request() argument
515 radius_server_reject(data, client, msg, from, fromlen, in radius_server_request()
522 radius_server_reject(data, client, msg, from, fromlen, in radius_server_request()
539 (struct sockaddr *) from, fromlen); in radius_server_request()
594 sess->last_fromlen = fromlen; in radius_server_request()
595 os_memcpy(&sess->last_from, from, fromlen); in radius_server_request()
632 (struct sockaddr *) from, fromlen); in radius_server_request()
676 socklen_t fromlen; in radius_server_receive_auth() local
688 fromlen = sizeof(from); in radius_server_receive_auth()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_linux.c78 socklen_t fromlen; in l2_packet_receive() local
81 fromlen = sizeof(ll); in l2_packet_receive()
83 &fromlen); in l2_packet_receive()
Dl2_packet_privsep.c105 socklen_t fromlen = sizeof(from); in l2_packet_receive() local
109 &fromlen); in l2_packet_receive()
/external/quake/quake/src/QW/client/
Dnet_udp.c195 socklen_t fromlen; in NET_GetPacket() local
197 fromlen = sizeof(from); in NET_GetPacket()
198 …net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); in NET_GetPacket()
Dnet_wins.c170 int fromlen; in NET_GetPacket() local
172 fromlen = sizeof(from); in NET_GetPacket()
173 …et, (char *)net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); in NET_GetPacket()
Dwinquake.h104 struct sockaddr FAR *from, int FAR * fromlen);
/external/kernel-headers/original/linux/
Dnfs_xdr.h318 unsigned int fromlen; member
361 unsigned int fromlen; member
437 unsigned int fromlen; member
455 unsigned int fromlen; member
/external/e2fsprogs/misc/
Duuidd.c203 socklen_t fromlen; in server_loop() local
292 fromlen = sizeof(from_addr); in server_loop()
295 ns = accept(s, (struct sockaddr *) &from_addr, &fromlen); in server_loop()
/external/ipsec-tools/src/racoon/
Dsockmisc.c274 socklen_t *fromlen, struct sockaddr *to, unsigned int *tolen) in recvfromto() argument
280 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/quake/quake/src/WinQuake/
Dwinquake.h105 struct sockaddr FAR *from, int FAR * fromlen);
Dmplpc.cpp729 int *fromlen) in recvfrom() argument
763 if (fromlen) { in recvfrom()
764 *fromlen = FARPKL(&data->addrlen); in recvfrom()
/external/qemu/
Dsockets.c580 sock_address_from_bsd( SockAddress* a, const void* from, size_t fromlen ) in sock_address_from_bsd() argument
587 if (fromlen < sizeof(*src)) in sock_address_from_bsd()
601 if (fromlen < sizeof(*src)) in sock_address_from_bsd()
617 if (fromlen < sizeof(*src)) in sock_address_from_bsd()
/external/libpcap/
Dpcap-linux.c471 socklen_t fromlen; in pcap_read_packet() local
508 fromlen = sizeof(from); in pcap_read_packet()
512 (struct sockaddr *) &from, &fromlen); in pcap_read_packet()
/external/strace/
Dnet.c1348 int fromlen; local
1377 if (umove(tcp, tcp->u_arg[5], &fromlen) < 0) {
1384 tprintf(", [%u]", fromlen);

12