Home | History | Annotate | Download | only in libpcap

Lines Matching refs:saddrlen

1027 	socklen_t saddrlen;			/* temp, needed to retrieve the network data port chosen on the local machine */
1069 saddrlen = sizeof(struct sockaddr_storage);
1070 if (getpeername(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1)
1078 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, host,
1116 saddrlen = sizeof(struct sockaddr_storage);
1117 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1)
1124 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL,
1231 saddrlen = sizeof(struct sockaddr_storage);
1233 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen);
1608 socklen_t saddrlen; /* temp, needed to retrieve the network data port chosen on the local machine */
1619 saddrlen = sizeof(struct sockaddr_storage);
1620 if (getpeername(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1)
1626 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peeraddress,
1635 if (getsockname(pr->rmt_sockctrl, (struct sockaddr *) &saddr, &saddrlen) == -1)
1642 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, myaddress,
1650 if (getsockname(pr->rmt_sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1)
1657 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, 0, mydataport, sizeof(mydataport), NI_NUMERICSERV))