Lines Matching refs:sockdata
1025 SOCKET sockdata = 0; /* socket descriptor of the data connection */ in pcap_startcapture_remote() local
1107 if ((sockdata = sock_open(addrinfo, SOCKOPEN_SERVER, in pcap_startcapture_remote()
1117 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in pcap_startcapture_remote()
1219 …if ((sockdata = sock_open(addrinfo, SOCKOPEN_CLIENT, 0, fp->errbuf, PCAP_ERRBUF_SIZE)) == INVALID_… in pcap_startcapture_remote()
1233 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen); in pcap_startcapture_remote()
1242 sock_close(sockdata, fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1243 sockdata = socktemp; in pcap_startcapture_remote()
1248 pr->rmt_sockdata = sockdata; in pcap_startcapture_remote()
1260 res = getsockopt(sockdata, SOL_SOCKET, SO_RCVBUF, (char *)&sockbufsize, &itemp); in pcap_startcapture_remote()
1289 res = setsockopt(sockdata, SOL_SOCKET, SO_RCVBUF, in pcap_startcapture_remote()
1380 if ((sockdata) && (sockdata != -1)) /* we can be here because sockdata said 'error' */ in pcap_startcapture_remote()
1381 sock_close(sockdata, NULL, 0); in pcap_startcapture_remote()