Home
last modified time | relevance | path

Searched refs:PCAP_ERROR (Results 1 – 25 of 33) sorted by relevance

12

/external/libpcap/
Dpcap-bpf.c373 return (PCAP_ERROR); in pcap_next_zbuf()
401 return (PCAP_ERROR); in pcap_next_zbuf()
420 return (PCAP_ERROR); in pcap_next_zbuf()
491 if (bpf_load(errbuf) == PCAP_ERROR) in bpf_open()
492 return (PCAP_ERROR); in bpf_open()
509 fd = PCAP_ERROR; in bpf_open()
552 fd = PCAP_ERROR; in bpf_open()
588 fd = PCAP_ERROR; in bpf_open()
688 return (PCAP_ERROR); in bpf_bind()
727 return (PCAP_ERROR); in bpf_open_and_bind()
[all …]
Dpcap-dlpi.c389 status = PCAP_ERROR; in open_dlpi_device()
438 status = PCAP_ERROR; in open_dlpi_device()
478 status = PCAP_ERROR; in open_dlpi_device()
539 status = PCAP_ERROR;
607 status = PCAP_ERROR;
615 status = PCAP_ERROR;
625 status = PCAP_ERROR;
636 status = PCAP_ERROR;
662 status = PCAP_ERROR;
736 status = PCAP_ERROR;
[all …]
Dpcap-linux.c442 return PCAP_ERROR; in get_mac80211_phydev()
457 return PCAP_ERROR; in get_mac80211_phydev()
479 return PCAP_ERROR; in nl80211_init()
509 return PCAP_ERROR; in nl80211_init()
535 return PCAP_ERROR; in add_mon_if()
541 return PCAP_ERROR; in add_mon_if()
573 return PCAP_ERROR; in add_mon_if()
597 return PCAP_ERROR; in add_mon_if()
617 return PCAP_ERROR; in add_mon_if()
626 return PCAP_ERROR; in add_mon_if()
[all …]
Dpcap-libdlpi.c117 status = PCAP_ERROR; in pcap_activate_libdlpi()
135 status = PCAP_ERROR; in pcap_activate_libdlpi()
200 status = PCAP_ERROR; in pcap_activate_libdlpi()
206 status = PCAP_ERROR; in pcap_activate_libdlpi()
214 status = PCAP_ERROR; in pcap_activate_libdlpi()
222 status = PCAP_ERROR; in pcap_activate_libdlpi()
230 status = PCAP_ERROR; in pcap_activate_libdlpi()
271 err = PCAP_ERROR; in dlpromiscon()
Dpcap-snit.c337 err = PCAP_ERROR; in pcap_activate_snit()
347 err = PCAP_ERROR; in pcap_activate_snit()
353 err = PCAP_ERROR; in pcap_activate_snit()
364 err = PCAP_ERROR; in pcap_activate_snit()
382 err = PCAP_ERROR; in pcap_activate_snit()
393 err = PCAP_ERROR; in pcap_activate_snit()
397 err = PCAP_ERROR; in pcap_activate_snit()
412 err = PCAP_ERROR; in pcap_activate_snit()
Dpcap-dpdk.c417 return PCAP_ERROR; in pcap_dpdk_inject()
667 return PCAP_ERROR; in dpdk_pre_init()
735 return PCAP_ERROR; in dpdk_pre_init()
742 int ret = PCAP_ERROR; in pcap_dpdk_activate()
780 ret = PCAP_ERROR; in pcap_dpdk_activate()
789 ret = PCAP_ERROR; in pcap_dpdk_activate()
817 ret = PCAP_ERROR; in pcap_dpdk_activate()
834 ret = PCAP_ERROR; in pcap_dpdk_activate()
845 ret = PCAP_ERROR; in pcap_dpdk_activate()
865 ret = PCAP_ERROR; in pcap_dpdk_activate()
[all …]
Dpcap-pf.c337 err = PCAP_ERROR; in pcap_activate_pf()
362 err = PCAP_ERROR; in pcap_activate_pf()
374 err = PCAP_ERROR; in pcap_activate_pf()
381 err = PCAP_ERROR; in pcap_activate_pf()
464 err = PCAP_ERROR; in pcap_activate_pf()
478 err = PCAP_ERROR; in pcap_activate_pf()
488 err = PCAP_ERROR; in pcap_activate_pf()
499 err = PCAP_ERROR; in pcap_activate_pf()
509 err = PCAP_ERROR; in pcap_activate_pf()
Dpcap-dbus.c194 return PCAP_ERROR; in dbus_activate()
201 return PCAP_ERROR; in dbus_activate()
210 return PCAP_ERROR; in dbus_activate()
216 return PCAP_ERROR; in dbus_activate()
221 return PCAP_ERROR; in dbus_activate()
295 return PCAP_ERROR; in dbus_activate()
Dpcap-dag.c753 return PCAP_ERROR; in dag_activate()
759 ret = PCAP_ERROR; in dag_activate()
773 ret = PCAP_ERROR; in dag_activate()
781 ret = PCAP_ERROR; in dag_activate()
796 ret = PCAP_ERROR; in dag_activate()
806 ret = PCAP_ERROR; in dag_activate()
814 ret = PCAP_ERROR; in dag_activate()
833 ret = PCAP_ERROR; in dag_activate()
878 ret = PCAP_ERROR; in dag_activate()
901 ret = PCAP_ERROR; in dag_activate()
[all …]
Dpcap-netfilter-linux.c132 return PCAP_ERROR; in netfilter_read_linux()
538 return PCAP_ERROR; in netfilter_activate()
547 return PCAP_ERROR; in netfilter_activate()
563 return PCAP_ERROR; in netfilter_activate()
600 return PCAP_ERROR; in netfilter_activate()
708 return PCAP_ERROR; in netfilter_activate()
Dpcap-bt-linux.c192 int err = PCAP_ERROR; in bt_activate()
200 return PCAP_ERROR; in bt_activate()
233 return PCAP_ERROR; in bt_activate()
Dpcap-airpcap.c504 return (PCAP_ERROR); in airpcap_oid_get_request()
513 return (PCAP_ERROR); in airpcap_oid_set_request()
765 return (PCAP_ERROR); in airpcap_activate()
783 return (PCAP_ERROR); in airpcap_activate()
929 return (PCAP_ERROR); in airpcap_activate()
Dpcap-bt-monitor-linux.c179 int err = PCAP_ERROR; in bt_monitor_activate()
214 return PCAP_ERROR; in bt_monitor_activate()
Dpcap-haiku.cpp167 return PCAP_ERROR; in pcap_activate_haiku()
178 return PCAP_ERROR; in pcap_activate_haiku()
Dpcap-npf.c175 return (PCAP_ERROR); in oid_get_request()
375 return (PCAP_ERROR); in pcap_oid_set_request_npf()
385 return (PCAP_ERROR); in pcap_oid_set_request_npf()
572 return (PCAP_ERROR); in pcap_read_npf()
945 return PCAP_ERROR; in pcap_activate_npf()
992 return (PCAP_ERROR); in pcap_activate_npf()
1329 status = PCAP_ERROR; in pcap_activate_npf()
1400 return (PCAP_ERROR); in pcap_activate_npf()
Dpcap.c538 return (PCAP_ERROR); in pcap_list_tstamp_types()
548 return (PCAP_ERROR); in pcap_list_tstamp_types()
2852 if (status == PCAP_ERROR)
2958 return (PCAP_ERROR);
2967 return (PCAP_ERROR);
3383 return (PCAP_ERROR);
3474 return (PCAP_ERROR);
3625 case PCAP_ERROR:
4030 return (PCAP_ERROR);
4052 return (PCAP_ERROR);
[all …]
Dpcap-usb-linux.c663 return PCAP_ERROR; in usb_activate()
708 return PCAP_ERROR; in usb_activate()
752 return PCAP_ERROR; in usb_activate()
804 ret = PCAP_ERROR; in usb_activate()
840 return PCAP_ERROR; in usb_activate()
Dpcap-tc.c503 return PCAP_ERROR; in TcActivate()
538 return PCAP_ERROR; in TcActivate()
641 return PCAP_ERROR; in TcActivate()
1169 return PCAP_ERROR; in TcOidGetRequest()
1178 return PCAP_ERROR; in TcOidSetRequest()
Dsavefile.c169 return (PCAP_ERROR); in sf_oid_get_request()
178 return (PCAP_ERROR); in sf_oid_set_request()
Dpcap-rdmasniff.c127 return PCAP_ERROR; in rdmasniff_read()
353 return PCAP_ERROR; in rdmasniff_activate()
Dpcap-netmap.c236 return (PCAP_ERROR); in pcap_netmap_activate()
/external/libpcap/testprogs/
Dwritecaptest.c192 if (status == PCAP_ERROR) in open_interface()
399 if (dlt == PCAP_ERROR) in main()
401 if (pcap_set_datalink(pd, dlt) == PCAP_ERROR) in main()
Dreactivatetest.c60 else if (status == PCAP_ERROR) in main()
Dcan_set_rfmon_test.c67 if (status == PCAP_ERROR) in main()
/external/libpcap/doc/
DREADME.capture-module209 fails, it must return an error indication which is one of the PCAP_ERROR
210 values. For PCAP_ERROR, it must also set the errbuf member of the
296 errbuf member of the pcap_t to an error string and return PCAP_ERROR.
305 that packet injection isn't supported and return PCAP_ERROR. Otherwise,
308 PCAP_ERROR. Otherwise, it should return the number of bytes injected.
328 the routine should return PCAP_ERROR.
332 return PCAP_ERROR.

12