Searched refs:sock_geterror (Results 1 – 5 of 5) sorted by relevance
/external/libpcap/ |
D | sockutils.c | 194 void sock_geterror(const char *caller, char *errbuf, int errbuflen) in sock_geterror() function 330 sock_geterror("socket(): ", errbuf, errbuflen); 344 sock_geterror("setsockopt(SO_NOSIGPIPE)", errbuf, errbuflen); 402 sock_geterror("bind(): ", errbuf, errbuflen); 410 sock_geterror("listen(): ", errbuf, errbuflen); 447 sock_geterror(NULL, SocketErrorMessage, sizeof(SocketErrorMessage)); 511 sock_geterror("shutdown(): ", errbuf, errbuflen); 574 sock_geterror("getaddrinfo(): ", errbuf, errbuflen); 881 sock_geterror("recv(): ", errbuf, errbuflen); 978 sock_geterror("recv(): ", errbuf, errbuflen); [all …]
|
D | pcap-rpcap.c | 412 sock_geterror("select(): ", p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote() 1072 sock_geterror("getsockname(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote() 1081 sock_geterror("getnameinfo(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote() 1119 sock_geterror("getsockname(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote() 1127 sock_geterror("getnameinfo(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote() 1237 sock_geterror("accept(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote() 1263 sock_geterror("pcap_startcapture_remote()", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_startcapture_remote() 1622 sock_geterror("getpeername(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_createfilter_norpcappkt() 1629 sock_geterror("getnameinfo(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_createfilter_norpcappkt() 1637 sock_geterror("getsockname(): ", fp->errbuf, PCAP_ERRBUF_SIZE); in pcap_createfilter_norpcappkt() [all …]
|
D | sockutils.h | 199 void sock_geterror(const char *caller, char *errbuf, int errbufsize);
|
/external/libpcap/rpcapd/ |
D | rpcapd.c | 302 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 313 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 356 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 364 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 665 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in send_state_change_event() 832 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in accept_connections() 838 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in accept_connections() 856 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in accept_connections() 895 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in accept_connections() 1084 sock_geterror("accept(): ", errbuf, PCAP_ERRBUF_SIZE); in accept_connection() [all …]
|
D | daemon.c | 218 sock_geterror("select failed: ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 497 sock_geterror("select failed: ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 1629 sock_geterror("getpeername(): ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req() 1646 sock_geterror("getnameinfo(): ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req() 1671 sock_geterror("getsockname(): ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req() 1679 sock_geterror("getnameinfo(): ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req() 1746 sock_geterror("accept(): ", errbuf, PCAP_ERRBUF_SIZE); in daemon_msg_startcap_req()
|