Searched refs:saddrlen (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/libpcap/ |
H A D | pcap-rpcap.c | 1099 …socklen_t saddrlen; /* temp, needed to retrieve the network data port chosen on the local machin… in pcap_startcapture_remote() local 1149 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1150 if (getpeername(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote() 1159 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, host, in pcap_startcapture_remote() 1200 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1201 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote() 1330 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote() 1332 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen); in pcap_startcapture_remote() 1739 …socklen_t saddrlen; /* temp, needed to retrieve the network data port chosen on the local mach… in pcap_createfilter_norpcappkt() local 1748 saddrlen = sizeof(struct sockaddr_storage); in pcap_createfilter_norpcappkt() [all …]
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 1971 socklen_t saddrlen; // temp, needed to retrieve the network data port chosen on the local machine in daemon_msg_startcap_req() local 2060 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 2061 if (getpeername(pars->sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in daemon_msg_startcap_req() 2078 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peerhost, in daemon_msg_startcap_req() 2108 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 2109 if (getsockname(session->sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in daemon_msg_startcap_req() 2117 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, in daemon_msg_startcap_req() 2183 saddrlen = sizeof(struct sockaddr_storage); in daemon_msg_startcap_req() 2185 socktemp = accept(session->sockdata, (struct sockaddr *) &saddr, &saddrlen); in daemon_msg_startcap_req()
|
/freebsd/contrib/ntp/ |
H A D | ChangeLog | 4901 * [Bug 718] Use the recommended type for the saddrlen arg to getsockname().
|
H A D | CommitLog | [all...] |