• Home
  • Raw
  • Download

Lines Matching refs:errbuf

110 static int bpf_load(char *errbuf);
372 pcap_fmt_errmsg_for_errno(p->errbuf, in pcap_next_zbuf()
400 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
419 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
478 bpf_open(char *errbuf) in bpf_open() argument
492 if (bpf_load(errbuf) == PCAP_ERROR) in bpf_open()
511 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
560 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
569 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
581 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
590 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
608 bpf_open_and_bind(const char *name, char *errbuf) in bpf_open_and_bind() argument
616 fd = bpf_open(errbuf); in bpf_open_and_bind()
646 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open_and_bind()
798 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_can_set_rfmon_bpf()
823 fd = bpf_open(p->errbuf); in pcap_can_set_rfmon_bpf()
853 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_can_set_rfmon_bpf()
867 if (get_dlt_list(fd, DLT_NULL, &bdl, p->errbuf) == PCAP_ERROR) { in pcap_can_set_rfmon_bpf()
916 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_bpf()
1025 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_bpf()
1044 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_bpf()
1218 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_bpf()
1230 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_bpf()
1239 bpf_odminit(char *errbuf) in bpf_odminit() argument
1246 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odminit()
1255 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odminit()
1266 bpf_odmcleanup(char *errbuf) in bpf_odmcleanup() argument
1271 if (errbuf != NULL) { in bpf_odmcleanup()
1274 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odmcleanup()
1282 if (errbuf != NULL) { in bpf_odmcleanup()
1285 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odmcleanup()
1296 bpf_load(char *errbuf) in bpf_load() argument
1314 if (bpf_odminit(errbuf) == PCAP_ERROR) in bpf_load()
1319 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1329 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1336 if (bpf_odmcleanup(errbuf) == PCAP_ERROR) in bpf_load()
1341 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1351 pcap_fmt_errmsg_for_errno(errbuf, in bpf_load()
1367 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1381 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_load()
1546 pcap_fmt_errmsg_for_errno(p->errbuf, in check_setif_failure()
1571 pcap_fmt_errmsg_for_errno(p->errbuf, in check_setif_failure()
1581 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in check_setif_failure()
1598 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in check_setif_failure()
1662 fd = bpf_open(p->errbuf);
1671 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1678 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1700 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1718 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1727 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1734 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1746 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1801 pcap_fmt_errmsg_for_errno(p->errbuf,
1815 pcap_fmt_errmsg_for_errno(p->errbuf,
1823 pcap_fmt_errmsg_for_errno(p->errbuf,
1865 pcap_fmt_errmsg_for_errno(p->errbuf,
1881 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1894 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
1898 pcap_fmt_errmsg_for_errno(p->errbuf,
1944 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1971 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1981 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
1988 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2007 pcap_fmt_errmsg_for_errno(p->errbuf,
2065 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
2076 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2109 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "unknown interface type %u",
2143 if (get_dlt_list(fd, v, &bdl, p->errbuf) == -1) {
2321 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2363 pcap_fmt_errmsg_for_errno(p->errbuf,
2373 pcap_fmt_errmsg_for_errno(p->errbuf,
2408 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2421 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Immediate mode not supported");
2430 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2439 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2447 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2458 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2489 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2570 char errbuf[PCAP_ERRBUF_SIZE]; local
2600 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE,
2606 fd = bpf_open_and_bind(en_name, errbuf);
2610 fd = bpf_open_and_bind(name, errbuf);
2644 get_usb_if_flags(const char *name _U_, bpf_u_int32 *flags _U_, char *errbuf _U_)
2655 finddevs_usb(pcap_if_list_t *devlistp, char *errbuf) argument
2718 get_usb_if_flags, NULL, errbuf) == NULL) {
2735 get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf) argument
2742 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, errno,
2762 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, errno,
2805 get_if_flags(const char *name _U_, bpf_u_int32 *flags _U_, char *errbuf _U_)
2829 pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) argument
2834 if (pcap_findalldevs_interfaces(devlistp, errbuf, check_bpf_bindable,
2839 if (finddevs_usb(devlistp, errbuf) == -1)
2860 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2892 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2912 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2919 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
2980 pcap_fmt_errmsg_for_errno(p->errbuf,
3205 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE,
3234 pcap_fmt_errmsg_for_errno(p->errbuf, sizeof(p->errbuf),
3248 pcap_snprintf(p->errbuf, sizeof(p->errbuf),
3255 pcap_fmt_errmsg_for_errno(p->errbuf, sizeof(p->errbuf),
3262 (void) pcap_snprintf(p->errbuf, sizeof(p->errbuf),
3273 pcap_fmt_errmsg_for_errno(p->errbuf, sizeof(p->errbuf),