Lines Matching refs:errbuf
166 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_stats_win32() local
182 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_stats_win32()
183 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_win32()
184 "PacketGetStats error: %s", errbuf); in pcap_stats_win32()
228 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_stats_ex_win32() local
240 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_stats_ex_win32()
241 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_ex_win32()
242 "PacketGetStatsEx error: %s", errbuf); in pcap_stats_ex_win32()
260 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel… in pcap_setbuff_win32()
272 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); in pcap_setmode_win32()
285 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy si… in pcap_setmintocopy_win32()
301 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_oid_get_request_win32() local
312 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_get_request_win32()
323 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_oid_get_request_win32()
324 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_get_request_win32()
325 "Error calling PacketRequest: %s", errbuf); in pcap_oid_get_request_win32()
348 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_oid_set_request_win32() local
359 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_win32()
368 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_oid_set_request_win32()
369 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_win32()
370 "Error calling PacketRequest: %s", errbuf); in pcap_oid_set_request_win32()
391 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_sendqueue_transmit_win32() local
394 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_sendqueue_transmit_win32()
405 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_sendqueue_transmit_win32()
406 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_sendqueue_transmit_win32()
407 "Error opening adapter: %s", errbuf); in pcap_sendqueue_transmit_win32()
420 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_setuserbuffer_win32()
429 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_setuserbuffer_win32()
450 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_live_dump_win32()
458 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_live_dump_win32()
524 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_npf()
639 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_dag()
788 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketAllocatePacket failed"); in pcap_inject_win32()
794 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketSendPacket failed"); in pcap_inject_win32()
830 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_activate_win32() local
848 if (pcap_parsesrcstr(p->opt.device, &srctype, host, port, name, p->errbuf)) in pcap_activate_win32()
930 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_activate_win32()
935 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_win32()
936 "Error opening adapter: %s", errbuf); in pcap_activate_win32()
943 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_activate_win32()
944 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_win32()
945 "Cannot determine the network type: %s", errbuf); in pcap_activate_win32()
1034 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "failed to set hardware filter to promiscuous mode"); in pcap_activate_win32()
1042 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "failed to set hardware filter to non-promiscuous mode"… in pcap_activate_win32()
1064 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel… in pcap_activate_win32()
1071 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); in pcap_activate_win32()
1080 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_activate_win32()
1081 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_win32()
1083 errbuf); in pcap_activate_win32()
1092 pcap_win32_err_to_str(GetLastError(), errbuf); in pcap_activate_win32()
1093 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_win32()
1095 errbuf); in pcap_activate_win32()
1287 strlcpy(p->errbuf, "setfilter: No filter specified", sizeof(p->errbuf)); in pcap_setfilter_win32_dag()
1294 pcap_snprintf(p->errbuf, sizeof(p->errbuf), in pcap_setfilter_win32_dag()
1303 pcap_getnonblock_win32(pcap_t *p, char *errbuf) in pcap_getnonblock_win32() argument
1316 pcap_setnonblock_win32(pcap_t *p, int nonblock, char *errbuf) in pcap_setnonblock_win32() argument
1340 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_setnonblock_win32()
1350 const char *description, char *errbuf) in pcap_add_if_win32() argument
1363 errbuf) == -1) { in pcap_add_if_win32()
1405 errbuf); in pcap_add_if_win32()
1418 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) in pcap_platform_finddevs() argument
1453 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_platform_finddevs()
1468 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot allocate enough memory to list the adapters."); in pcap_platform_finddevs()
1474 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "PacketGetAdapterNames: %s", in pcap_platform_finddevs()
1524 errbuf) == -1) { in pcap_platform_finddevs()