Lines Matching refs:saddrlen
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
1698 saddrlen = sizeof(struct sockaddr_storage); in pcap_createfilter_norpcappkt()
1699 if (getpeername(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_createfilter_norpcappkt()
1705 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peeraddress, in pcap_createfilter_norpcappkt()
1714 if (getsockname(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_createfilter_norpcappkt()
1721 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, myaddress, in pcap_createfilter_norpcappkt()
1729 if (getsockname(pr->rmt_sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_createfilter_norpcappkt()
1736 …if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, 0, mydataport, sizeof(mydataport), NI_… in pcap_createfilter_norpcappkt()