Home
last modified time | relevance | path

Searched refs:sock_geterror (Results 1 – 5 of 5) sorted by relevance

/external/libpcap/
Dsockutils.c184 void sock_geterror(const char *caller, char *errbuf, int errbuflen) in sock_geterror() function
325 sock_geterror("socket()", errbuf, errbuflen); in sock_open()
339 sock_geterror("setsockopt(SO_NOSIGPIPE)", errbuf, errbuflen); in sock_open()
407 sock_geterror("bind()", errbuf, errbuflen); in sock_open()
415 sock_geterror("listen()", errbuf, errbuflen); in sock_open()
454 sock_geterror("Connect to socket failed", in sock_open()
519 sock_geterror("shutdown()", errbuf, errbuflen); in sock_close()
1059 sock_geterror("recv()", errbuf, errbuflen); in sock_recv()
1164 sock_geterror("recv()", errbuf, errbuflen); in sock_recv_dgram()
1201 sock_geterror("recv()", errbuf, errbuflen); in sock_recv_dgram()
[all …]
Dpcap-rpcap.c435 sock_geterror("select()", p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote()
1123 sock_geterror("getsockname()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1132 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1170 sock_geterror("getsockname()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1178 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1288 sock_geterror("accept()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1322 sock_geterror("pcap_startcapture_remote(): getsockopt() failed", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote()
1701 sock_geterror("getpeername()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_createfilter_norpcappkt()
1708 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_createfilter_norpcappkt()
1716 sock_geterror("getsockname()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_createfilter_norpcappkt()
[all …]
Dsockutils.h131 void sock_geterror(const char *caller, char *errbuf, int errbufsize);
/external/libpcap/rpcapd/
Drpcapd.c363 sock_geterror("Can't create state change event", errbuf, in main()
374 sock_geterror("Can't set control handler", errbuf, in main()
429 sock_geterror("Can't dup standard input", errbuf, in main()
738 sock_geterror("SetEvent on shutdown event failed", errbuf, in send_state_change_event()
906 sock_geterror("Can't create socket event", errbuf, in accept_connections()
913 sock_geterror("Can't setup socket event", errbuf, in accept_connections()
932 sock_geterror("WSAWaitForMultipleEvents failed", errbuf, in accept_connections()
972 sock_geterror("WSAEnumNetworkEvents failed", in accept_connections()
1176 sock_geterror("accept()", errbuf, PCAP_ERRBUF_SIZE); in accept_connection()
1200 sock_geterror("WSAEventSelect()", errbuf, PCAP_ERRBUF_SIZE); in accept_connection()
[all …]
Ddaemon.c452 sock_geterror("getpeername()", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop()
526 sock_geterror("select() failed", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop()
766 sock_geterror("select() failed", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop()
2047 sock_geterror("getpeername()", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req()
2064 sock_geterror("getnameinfo()", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req()
2089 sock_geterror("getsockname()", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req()
2097 sock_geterror("getnameinfo()", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req()
2165 sock_geterror("accept()", errbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req()