/external/libpcap/ |
D | pcap-bpf.c | 373 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 …]
|
D | pcap-dlpi.c | 389 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 …]
|
D | pcap-linux.c | 442 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 …]
|
D | pcap-libdlpi.c | 117 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()
|
D | pcap-snit.c | 337 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()
|
D | pcap-dpdk.c | 417 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 …]
|
D | pcap-pf.c | 337 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()
|
D | pcap-dbus.c | 194 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()
|
D | pcap-dag.c | 753 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 …]
|
D | pcap-netfilter-linux.c | 132 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()
|
D | pcap-bt-linux.c | 192 int err = PCAP_ERROR; in bt_activate() 200 return PCAP_ERROR; in bt_activate() 233 return PCAP_ERROR; in bt_activate()
|
D | pcap-airpcap.c | 504 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()
|
D | pcap-bt-monitor-linux.c | 179 int err = PCAP_ERROR; in bt_monitor_activate() 214 return PCAP_ERROR; in bt_monitor_activate()
|
D | pcap-haiku.cpp | 167 return PCAP_ERROR; in pcap_activate_haiku() 178 return PCAP_ERROR; in pcap_activate_haiku()
|
D | pcap-npf.c | 175 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()
|
D | pcap.c | 538 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 …]
|
D | pcap-usb-linux.c | 663 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()
|
D | pcap-tc.c | 503 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()
|
D | savefile.c | 169 return (PCAP_ERROR); in sf_oid_get_request() 178 return (PCAP_ERROR); in sf_oid_set_request()
|
D | pcap-rdmasniff.c | 127 return PCAP_ERROR; in rdmasniff_read() 353 return PCAP_ERROR; in rdmasniff_activate()
|
D | pcap-netmap.c | 236 return (PCAP_ERROR); in pcap_netmap_activate()
|
/external/libpcap/testprogs/ |
D | writecaptest.c | 192 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()
|
D | reactivatetest.c | 60 else if (status == PCAP_ERROR) in main()
|
D | can_set_rfmon_test.c | 67 if (status == PCAP_ERROR) in main()
|
/external/libpcap/doc/ |
D | README.capture-module | 209 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.
|