Lines Matching refs:errbuf

232 				strlcpy(p->errbuf, pcap_strerror(errno),
233 sizeof(p->errbuf));
253 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
259 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
265 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
298 strlcpy(p->errbuf, "send: Not supported on this version of this OS",
368 cp = split_dname(dname, &ppa, p->errbuf);
390 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
414 ppa = get_dlpi_ppa(p->fd, dname, ppa, p->errbuf);
436 cp = split_dname(dname, &ppa, p->errbuf);
454 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dname,
485 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
490 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s",
503 if (dlinforeq(p->fd, p->errbuf) < 0 ||
504 dlinfoack(p->fd, (char *)buf, p->errbuf) < 0)
512 status = dl_doattach(p->fd, ppa, p->errbuf);
517 if (dl_doattach(p->send_fd, ppa, p->errbuf) < 0)
537 dlpassive(p->fd, p->errbuf);
563 if ((dlbindreq(p->fd, 1537, p->errbuf) < 0 &&
564 dlbindreq(p->fd, 2, p->errbuf) < 0) ||
565 dlbindack(p->fd, (char *)buf, p->errbuf, NULL) < 0)
571 if (dl_dohpuxbind(p->fd, p->errbuf) < 0)
579 if (dl_dohpuxbind(p->send_fd, p->errbuf) < 0)
587 if (dlbindreq(p->fd, 0, p->errbuf) < 0 ||
588 dlbindack(p->fd, (char *)buf, p->errbuf, NULL) < 0)
602 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
665 if (dl_dohpuxbind(p->fd, p->errbuf) < 0)
678 if (dl_dohpuxbind(p->send_fd, p->errbuf) < 0)
688 if (dlinforeq(p->fd, p->errbuf) < 0 ||
689 dlinfoack(p->fd, (char *)buf, p->errbuf) < 0)
702 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "DLIOCRAW: %s",
723 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
740 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "FLUSHR: %s",
905 p->errbuf) < 0)
908 p->errbuf);
915 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf)
943 snprintf(errbuf, PCAP_ERRBUF_SIZE, "A_GET_UNITS: %s",
949 if (pcap_add_if(alldevsp, baname, 0, NULL, errbuf) < 0)