/external/libpcap/ |
pcap-null.c | 41 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
|
pcap-rpcap.c | 57 * the error description can return max PCAP_ERRBUF_SIZE characters. 59 * Best practice is to define the errbuf variable as a char of size 'PCAP_ERRBUF_SIZE+1' 125 * \param errbuf: a pointer to a user-allocated buffer (of size PCAP_ERRBUF_SIZE) 151 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); 170 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); 240 sock_geterror("select(): ", p->errbuf, PCAP_ERRBUF_SIZE); 264 if (sock_recv(md->rmt_sockdata, netbuf, RPCAP_NETBUF_SIZE, SOCK_RECEIVEALL_NO, p->errbuf, PCAP_ERRBUF_SIZE) == -1) 269 if (sock_recv(md->rmt_sockdata, netbuf, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, p->errbuf, PCAP_ERRBUF_SIZE) == -1) 299 p->errbuf, PCAP_ERRBUF_SIZE); 350 p->errbuf, PCAP_ERRBUF_SIZE); [all...] |
savefile.c | 115 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 123 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 132 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 140 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 148 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 156 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 173 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 182 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 191 PCAP_ERRBUF_SIZE); 198 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, [all...] |
sf-pcap.c | 188 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 192 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 214 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 228 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 236 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 308 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 403 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); 438 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 444 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 530 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, [all...] |
pcap-new.c | 110 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "The source string is too long. Cannot handle it correctly."); 140 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 162 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); 181 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); 240 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); 253 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); 286 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); 302 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); 320 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); 353 if (sock_init(errbuf, PCAP_ERRBUF_SIZE) == -1 [all...] |
pcap-bt-linux.c | 90 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, 98 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", 108 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, 195 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 218 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 225 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", 232 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 239 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 250 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 263 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, [all...] |
pcap-dlpi.c | 254 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", 260 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 266 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", 300 PCAP_ERRBUF_SIZE); 383 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 432 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dname, 465 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 472 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", 645 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 763 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "DLIOCRAW: %s" [all...] |
pcap-bpf.c | 368 (void) pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 396 (void) pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 415 (void) pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 458 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", 501 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 543 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 552 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 564 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 574 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 632 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, [all...] |
pcap-win32.c | 166 char errbuf[PCAP_ERRBUF_SIZE+1]; 183 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 228 char errbuf[PCAP_ERRBUF_SIZE+1]; 241 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 260 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel buffer"); 272 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); 285 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy size"); 301 char errbuf[PCAP_ERRBUF_SIZE+1]; 312 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 324 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, [all...] |
pcap-snf.c | 54 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_get_stats: %s", 164 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_read: %s", 219 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 230 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_inject_send: %s", 236 PCAP_ERRBUF_SIZE); 251 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 272 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 282 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 295 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 335 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, [all...] |
fad-glifc.c | 101 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 111 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 124 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 137 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 153 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 202 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 225 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 253 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 288 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
|
inet.c | 109 PCAP_ERRBUF_SIZE); 161 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "socket: %s", 173 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 176 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 192 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 207 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 234 char our_errbuf[PCAP_ERRBUF_SIZE+1]; 270 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "memory allocation failure"); 277 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
|
pcap-dbus.c | 71 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Connection closed"); 84 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Disconnected"); 115 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dbus_message_demarshal() failed: %s", error.message); 170 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get system bus: %s", error.message); 177 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get session bus: %s", error.message); 186 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to open connection to: %s: %s", addr, error.message); 192 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to register bus %s: %s\n", addr, error.message); 198 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get bus address from %s", handle->opt.device); 237 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to add bus match: %s\n", error.message);
|
pcap-snit.c | 226 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", 250 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", 263 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSTIME: %s", 275 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSFLAGS: %s", 323 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dev, 330 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "I_SRDOPT: %s", 335 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "push nbuf: %s", 345 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", 362 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCBIND: %s: %s", 372 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSSNAP: %s" [all...] |
sf-pcap-ng.c | 243 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 249 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 284 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 296 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 314 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); 350 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 451 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 460 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 466 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 492 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, [all...] |
pcap-netfilter-linux.c | 107 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s", errno, pcap_strerror(errno)); 118 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Message truncated: (got: %d) (nlmsg_len: %u)", len, nlh->nlmsg_len); 140 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Malformed message: (nlmsg_len: %u)", nlh->nlmsg_len); 238 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on netfilter devices"); 445 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 454 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 470 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 497 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't create raw socket %d:%s", errno, pcap_strerror(errno)); 515 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", pcap_strerror(errno)); 521 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "NFULNL_CFG_CMD_PF_UNBIND: %s", pcap_strerror(errno)) [all...] |
pcap-tc.c | 568 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error allocating memory"); 592 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening TurboCap adapter: %s", g_TcFunctions.StatusGetString(status)); 624 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error enabling reception on a TurboCap instance: %s", g_TcFunctions.StatusGetString(status)); 663 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error setting the read timeout a TurboCap instance: %s", g_TcFunctions.StatusGetString(status)); 779 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 781 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 788 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 790 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 833 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: the TurboCap API does not support packets larger than 64k"); 841 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCreate failure: %s (%08x)", g_TcFunctions.StatusGetString(status), st (…) [all...] |
fad-gifc.c | 158 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 174 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 185 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 258 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 282 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 313 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 352 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
|
pcap-snoop.c | 153 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", 215 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop socket: %s", 231 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop bind: %s", 237 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCADDSNOOP: %s", 313 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 335 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCGIFMTU: %s", 369 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPLEN: %s", 375 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPING: %s", 383 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "malloc: %s",
|
pcap-linux.c | 491 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", 563 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 578 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 635 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 641 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 648 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 656 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 697 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 729 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 757 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, [all...] |
pcap-bt-monitor-linux.c | 113 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 143 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported yet"); 190 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 197 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", 208 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 215 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
|
fad-helpers.c | 381 char open_errbuf[PCAP_ERRBUF_SIZE]; 436 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 512 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 523 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 541 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 721 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 730 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 741 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 754 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, 769 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, [all...] |
pcap-pf.c | 235 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", 332 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "pf open: %s: %s\n\ 344 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCMBIS: %s", 355 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETW: %s", 361 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCDEVP: %s", 443 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 456 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCTRUNCATE: %s", 465 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETF: %s", 475 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSRTIMEOUT: %s", 484 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); [all...] |
/external/libpcap/tests/ |
reactivatetest.c | 40 char ebuf[PCAP_ERRBUF_SIZE];
|
/external/ppp/pppd/include/ |
pcap-int.h | 97 char errbuf[PCAP_ERRBUF_SIZE];
|