Searched refs:saddrlen (Results 1 – 3 of 3) sorted by relevance
/external/libpcap/ |
D | pcap-rpcap.c | 1027 …socklen_t saddrlen; /* temp, needed to retrieve the network data port chosen on the local machin… in pcap_startcapture_remote() local 1069 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1070 if (getpeername(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote() 1078 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, host, in pcap_startcapture_remote() 1116 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1117 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote() 1124 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, in pcap_startcapture_remote() 1231 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1233 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen); in pcap_startcapture_remote() 1608 …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 | 1561 socklen_t saddrlen; // temp, needed to retrieve the network data port chosen on the local machine in daemon_msg_startcap_req() local 1626 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 1627 if (getpeername(pars->sockctrl_in, (struct sockaddr *) &saddr, &saddrlen) == -1) in daemon_msg_startcap_req() 1643 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peerhost, in daemon_msg_startcap_req() 1668 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 1669 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in daemon_msg_startcap_req() 1676 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, in daemon_msg_startcap_req() 1740 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 1742 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen); in daemon_msg_startcap_req()
|
/external/curl/lib/ |
D | memdebug.c | 407 curl_socket_t curl_dbg_accept(curl_socket_t s, void *saddr, void *saddrlen, in curl_dbg_accept() argument 417 curl_socklen_t *addrlen = (curl_socklen_t *)saddrlen; in curl_dbg_accept()
|