Searched refs:saddrlen (Results 1 – 3 of 3) sorted by relevance
/external/libpcap/ |
D | pcap-rpcap.c | 1074 …socklen_t saddrlen; /* temp, needed to retrieve the network data port chosen on the local machin… in pcap_startcapture_remote() local 1120 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1121 if (getpeername(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote() 1129 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, host, in pcap_startcapture_remote() 1167 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1168 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote() 1175 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, in pcap_startcapture_remote() 1282 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1284 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen); in pcap_startcapture_remote() 1689 …socklen_t saddrlen; /* temp, needed to retrieve the network data port chosen on the local mach… in pcap_createfilter_norpcappkt() local [all …]
|
/external/libpcap/rpcapd/ |
D | daemon.c | 1955 socklen_t saddrlen; // temp, needed to retrieve the network data port chosen on the local machine in daemon_msg_startcap_req() local 2044 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 2045 if (getpeername(pars->sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in daemon_msg_startcap_req() 2061 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peerhost, in daemon_msg_startcap_req() 2086 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 2087 if (getsockname(session->sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in daemon_msg_startcap_req() 2094 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, in daemon_msg_startcap_req() 2159 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 2161 socktemp = accept(session->sockdata, (struct sockaddr *) &saddr, &saddrlen); in daemon_msg_startcap_req()
|
/external/curl/lib/ |
D | memdebug.c | 355 curl_socket_t curl_dbg_accept(curl_socket_t s, void *saddr, void *saddrlen, in curl_dbg_accept() argument 365 curl_socklen_t *addrlen = (curl_socklen_t *)saddrlen; in curl_dbg_accept()
|