Lines Matching refs:saddrlen
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()
1749 if (getpeername(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_createfilter_norpcappkt()
1756 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peeraddress, in pcap_createfilter_norpcappkt()
1766 if (getsockname(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_createfilter_norpcappkt()
1774 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, myaddress, in pcap_createfilter_norpcappkt()
1783 if (getsockname(pr->rmt_sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_createfilter_norpcappkt()
1791 …if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, 0, mydataport, sizeof(mydataport), NI_… in pcap_createfilter_norpcappkt()