Lines Matching refs:errbuf

98 static int bpf_load(char *errbuf);
237 pcap_getnonblock_bpf(pcap_t *p, char *errbuf) in pcap_getnonblock_bpf() argument
245 return (pcap_getnonblock_fd(p, errbuf)); in pcap_getnonblock_bpf()
249 pcap_setnonblock_bpf(pcap_t *p, int nonblock, char *errbuf) in pcap_setnonblock_bpf() argument
259 return (pcap_setnonblock_fd(p, nonblock, errbuf)); in pcap_setnonblock_bpf()
350 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
378 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
397 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
456 if (bpf_load(p->errbuf) == PCAP_ERROR) in bpf_open()
467 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
509 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
518 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
530 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
540 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
690 (void)snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_can_set_rfmon_bpf()
745 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_can_set_rfmon_bpf()
760 if (get_dlt_list(fd, DLT_NULL, &bdl, p->errbuf) == PCAP_ERROR) { in pcap_can_set_rfmon_bpf()
808 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCGSTATS: %s", in pcap_stats_bpf()
917 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_bpf()
936 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read: %s", in pcap_read_bpf()
1087 (void)snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_bpf()
1100 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_bpf()
1109 bpf_odminit(char *errbuf) in bpf_odminit() argument
1116 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odminit()
1125 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odminit()
1136 bpf_odmcleanup(char *errbuf) in bpf_odmcleanup() argument
1141 if (errbuf != NULL) { in bpf_odmcleanup()
1144 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odmcleanup()
1152 if (errbuf != NULL) { in bpf_odmcleanup()
1155 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odmcleanup()
1166 bpf_load(char *errbuf) in bpf_load() argument
1184 if (bpf_odminit(errbuf) == PCAP_ERROR) in bpf_load()
1189 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1199 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1207 if (bpf_odmcleanup(errbuf) == PCAP_ERROR) in bpf_load()
1212 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1223 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1239 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1254 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1402 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in check_setif_failure()
1426 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in check_setif_failure()
1436 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETIF failed: %s", in check_setif_failure()
1453 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETIF: %s: %s", in check_setif_failure()
1526 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCVERSION: %s",
1533 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1544 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "getzoneid(): %s",
1562 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1571 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1585 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "strdup: %s",
1640 snprintf(p->errbuf,
1654 snprintf(p->errbuf,
1663 (void)snprintf(p->errbuf,
1704 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCGETZMAX: %s",
1731 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "mmap: %s",
1741 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETZBUF: %s",
1748 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETIF: %s: %s",
1767 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1825 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1836 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCGDLT: %s",
1869 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "unknown interface type %u",
1903 if (get_dlt_list(fd, v, &bdl, p->errbuf) == -1) {
2081 (void)snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2123 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2133 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2168 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2181 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Immediate mode not supported");
2190 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCPROMISC: %s",
2197 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCGBLEN: %s",
2208 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "malloc: %s",
2239 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETF: %s",
2310 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
2329 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "can't open socket: %s",
2361 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2381 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "malloc: %s",
2388 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCGIFMEDIA: %s",
2441 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2451 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2676 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCSETF: %s",
2705 (void) snprintf(p->errbuf, sizeof(p->errbuf),
2720 snprintf(p->errbuf, sizeof(p->errbuf),
2727 (void) snprintf(p->errbuf, sizeof(p->errbuf),
2735 (void) snprintf(p->errbuf, sizeof(p->errbuf),
2746 (void) snprintf(p->errbuf, sizeof(p->errbuf),