Lines Matching refs:errbuf
119 static int dag_setnonblock(pcap_t *p, int nonblock, char *errbuf);
338 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE); in dag_read()
611 strlcpy(p->errbuf, "Sending packets isn't supported on DAG cards", in dag_inject()
645 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno)); in dag_activate()
654 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_str… in dag_activate()
660 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: %s\n", pcap_strerror(errno)); in dag_activate()
666 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not support… in dag_activate()
673 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_str… in dag_activate()
684 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_open %s: %s", device, pcap_strerror(errno)); in dag_activate()
691 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_attach_stream: %s\n", pcap_strerror(errno)); in dag_activate()
700 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_get_stream_poll: %s\n", pcap_strerror(errno)); in dag_activate()
725 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_set_stream_poll: %s\n", pcap_strerror(errno)); in dag_activate()
731 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,"dag_mmap %s: %s\n", device, pcap_strerror(errno)); in dag_activate()
754 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,"dag_configure %s: %s\n", device, pcap_strerror(errno)); in dag_activate()
761 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_start_stream %s: %s\n", device, pcap_strerror(errn… in dag_activate()
766 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_start %s: %s\n", device, pcap_strerror(errno)); in dag_activate()
801 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in dag_activate()
829 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "new_pcap_dag %s: %s\n", device, pcap_strerror(errno)); in dag_activate()
988 dag_findalldevs(pcap_if_t **devlistp, char *errbuf) in dag_findalldevs() argument
1010 if (pcap_add_if(devlistp, name, 0, description, errbuf) == -1) { in dag_findalldevs()
1025 if (pcap_add_if(devlistp, name, 0, description, errbuf) == -1) { in dag_findalldevs()
1058 strncpy(p->errbuf, "setfilter: No filter specified", in dag_setfilter()
1059 sizeof(p->errbuf)); in dag_setfilter()
1080 dag_setnonblock(pcap_t *p, int nonblock, char *errbuf) in dag_setnonblock() argument
1090 if (pcap_setnonblock_fd(p, nonblock, errbuf) < 0) in dag_setnonblock()
1100 snprintf(errbuf, PCAP_ERRBUF_SIZE, "dag_get_stream_poll: %s\n", pcap_strerror(errno)); in dag_setnonblock()
1115 snprintf(errbuf, PCAP_ERRBUF_SIZE, "dag_set_stream_poll: %s\n", pcap_strerror(errno)); in dag_setnonblock()
1138 (void)snprintf(p->errbuf, sizeof(p->errbuf), "malloc: %s", pcap_strerror(errno));
1147 snprintf(p->errbuf, sizeof(p->errbuf), "dag_get_stream_erf_types: %s", pcap_strerror(errno));
1156 snprintf(p->errbuf, sizeof(p->errbuf), "dag_get_erf_types: %s", pcap_strerror(errno));