Lines Matching refs:errbuf

227 				strlcpy(p->errbuf, pcap_strerror(errno),  in pcap_read_dlpi()
228 sizeof(p->errbuf)); in pcap_read_dlpi()
251 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi()
257 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi()
263 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi()
296 strlcpy(p->errbuf, "send: Not supported on this version of this OS", in pcap_inject_dlpi()
374 cp = split_dname(dname, &ppa, p->errbuf);
398 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
422 ppa = get_dlpi_ppa(p->fd, dname, ppa, p->errbuf);
444 cp = split_dname(dname, &ppa, p->errbuf);
464 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dname,
495 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
502 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s",
515 if (dlinforeq(p->fd, p->errbuf) < 0 ||
516 dlinfoack(p->fd, (char *)buf, p->errbuf) < 0) {
526 retv = dl_doattach(p->fd, ppa, p->errbuf);
533 retv = dl_doattach(pd->send_fd, ppa, p->errbuf);
556 dlpassive(p->fd, p->errbuf);
582 if ((dlbindreq(p->fd, 1537, p->errbuf) < 0 &&
583 dlbindreq(p->fd, 2, p->errbuf) < 0) ||
584 dlbindack(p->fd, (char *)buf, p->errbuf, NULL) < 0) {
592 if (dl_dohpuxbind(p->fd, p->errbuf) < 0) {
602 if (dl_dohpuxbind(pd->send_fd, p->errbuf) < 0) {
612 if (dlbindreq(p->fd, 0, p->errbuf) < 0 ||
613 dlbindack(p->fd, (char *)buf, p->errbuf, NULL) < 0) {
630 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
702 if (dl_dohpuxbind(p->fd, p->errbuf) < 0) {
717 if (dl_dohpuxbind(pd->send_fd, p->errbuf) < 0) {
729 if (dlinforeq(p->fd, p->errbuf) < 0 ||
730 dlinfoack(p->fd, (char *)buf, p->errbuf) < 0) {
748 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "DLIOCRAW: %s",
769 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
789 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "FLUSHR: %s",
954 p->errbuf) < 0)
957 p->errbuf);
964 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
992 snprintf(errbuf, PCAP_ERRBUF_SIZE, "A_GET_UNITS: %s",
998 if (pcap_add_if(alldevsp, baname, 0, NULL, errbuf) < 0)