• Home
  • Raw
  • Download

Lines Matching refs:errbuf

241 				pcap_fmt_errmsg_for_errno(p->errbuf,  in pcap_read_dlpi()
242 sizeof(p->errbuf), errno, "getmsg"); in pcap_read_dlpi()
265 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi()
271 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi()
277 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi()
310 strlcpy(p->errbuf, "send: Not supported on this version of this OS", in pcap_inject_dlpi()
348 open_dlpi_device(const char *name, u_int *ppa, char *errbuf) in open_dlpi_device() argument
374 cp = split_dname(dname, &unit, errbuf); in open_dlpi_device()
396 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device()
405 status = get_dlpi_ppa(fd, dname, unit, ppa, errbuf); in open_dlpi_device()
427 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
445 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device()
478 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device()
485 pcap_fmt_errmsg_for_errno(errbuf, in open_dlpi_device()
519 p->fd = open_dlpi_device(p->opt.device, &ppa, p->errbuf);
543 if (dlinforeq(p->fd, p->errbuf) < 0 ||
544 dlinfoack(p->fd, (char *)buf, p->errbuf) < 0) {
554 retv = dl_doattach(p->fd, ppa, p->errbuf);
561 retv = dl_doattach(pd->send_fd, ppa, p->errbuf);
584 dlpassive(p->fd, p->errbuf);
610 if ((dlbindreq(p->fd, 1537, p->errbuf) < 0 &&
611 dlbindreq(p->fd, 2, p->errbuf) < 0) ||
612 dlbindack(p->fd, (char *)buf, p->errbuf, NULL) < 0) {
620 if (dl_dohpuxbind(p->fd, p->errbuf) < 0) {
630 if (dl_dohpuxbind(pd->send_fd, p->errbuf) < 0) {
640 if (dlbindreq(p->fd, 0, p->errbuf) < 0 ||
641 dlbindack(p->fd, (char *)buf, p->errbuf, NULL) < 0) {
669 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
741 if (dl_dohpuxbind(p->fd, p->errbuf) < 0) {
756 if (dl_dohpuxbind(pd->send_fd, p->errbuf) < 0) {
768 if (dlinforeq(p->fd, p->errbuf) < 0 ||
769 dlinfoack(p->fd, (char *)buf, p->errbuf) < 0) {
787 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
808 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
828 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
993 p->errbuf) < 0)
996 p->errbuf);
1014 char errbuf[PCAP_ERRBUF_SIZE]; local
1016 fd = open_dlpi_device(name, &ppa, errbuf);
1053 get_if_flags(const char *name _U_, bpf_u_int32 *flags _U_, char *errbuf _U_)
1076 pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) argument
1092 if (pcap_findalldevs_interfaces(devlistp, errbuf, is_dlpi_interface,
1113 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE,
1124 if (add_dev(devlistp, baname, 0, NULL, errbuf) == NULL)
1233 dlstrerror(char *errbuf, size_t errbufsize, bpf_u_int32 dl_errno) argument
1335 pcap_snprintf(errbuf, errbufsize, "Error %02x", dl_errno);
1336 return (errbuf);