Lines Matching refs:sockdata
920 SOCKET sockdata = 0; /* socket descriptor of the data connection */ in pcap_startcapture_remote() local
1005 if ((sockdata = sock_open(addrinfo, SOCKOPEN_SERVER, in pcap_startcapture_remote()
1015 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote()
1141 …if ((sockdata = sock_open(addrinfo, SOCKOPEN_CLIENT, 0, fp->errbuf, PCAP_ERRBUF_SIZE)) == INVALID_… in pcap_startcapture_remote()
1155 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen); in pcap_startcapture_remote()
1164 sock_close(sockdata, fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1165 sockdata = socktemp; in pcap_startcapture_remote()
1170 md->rmt_sockdata = sockdata; in pcap_startcapture_remote()
1179 res = getsockopt(sockdata, SOL_SOCKET, SO_RCVBUF, (char *)&sockbufsize, &itemp); in pcap_startcapture_remote()
1202 res = setsockopt(sockdata, SOL_SOCKET, SO_RCVBUF, (char *)&(fp->bufsize), sizeof(fp->bufsize)); in pcap_startcapture_remote()
1280 if ((sockdata) && (sockdata != -1)) /* we can be here because sockdata said 'error' */ in pcap_startcapture_remote()
1281 sock_close(sockdata, NULL, 0); in pcap_startcapture_remote()