Lines Matching refs:sockdata

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()
1753 sock_close(sockdata, NULL, 0); in daemon_msg_startcap_req()
1754 sockdata = socktemp; in daemon_msg_startcap_req()
1757 session->sockdata = sockdata; in daemon_msg_startcap_req()
1818 if (sockdata != INVALID_SOCKET) in daemon_msg_startcap_req()
1819 sock_close(sockdata, NULL, 0); in daemon_msg_startcap_req()
1890 if (sockdata != INVALID_SOCKET) in daemon_msg_startcap_req()
1891 sock_close(sockdata, NULL, 0); in daemon_msg_startcap_req()
1943 if (session->sockdata) in daemon_msg_endcap_req()
1945 sock_close(session->sockdata, NULL, 0); in daemon_msg_endcap_req()
1946 session->sockdata = 0; in daemon_msg_endcap_req()
2358 status = sock_send(session->sockdata, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE); in daemon_thrdatamain()
2389 closesocket(session->sockdata); in daemon_thrdatamain()
2390 session->sockdata = 0; in daemon_thrdatamain()