Searched refs:sockdata (Results 1 – 2 of 2) sorted by relevance
/external/libpcap/rpcapd/ |
D | daemon.c | 85 SOCKET sockdata; member 484 if ((!pars.isactive) && ((session == NULL) || ((session != NULL) && (session->sockdata == 0)))) in daemon_serviceloop() 867 if (session->sockdata) in daemon_serviceloop() 869 sock_close(session->sockdata, NULL, 0); in daemon_serviceloop() 870 session->sockdata = 0; in daemon_serviceloop() 1557 SOCKET sockdata = INVALID_SOCKET; // socket descriptor of the data connection in daemon_msg_startcap_req() local 1653 …if ((sockdata = sock_open(addrinfo, SOCKOPEN_CLIENT, 0, errmsgbuf, PCAP_ERRBUF_SIZE)) == INVALID_S… in daemon_msg_startcap_req() 1664 …if ((sockdata = sock_open(addrinfo, SOCKOPEN_SERVER, 1 /* max 1 connection in queue */, errmsgbuf,… in daemon_msg_startcap_req() 1669 if (getsockname(sockdata, (struct sockaddr *) &saddr, &saddrlen) == -1) in daemon_msg_startcap_req() 1742 socktemp = accept(sockdata, (struct sockaddr *) &saddr, &saddrlen); in daemon_msg_startcap_req() [all …]
|
/external/libpcap/ |
D | pcap-rpcap.c | 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() [all …]
|