HomeSort by relevance Sort by last modified time
    Searched refs:bpf_pcap (Results 1 - 2 of 2) sorted by null

  /frameworks/base/services/tests/servicestests/jni/
apf_jni.cpp 109 ScopedPcap bpf_pcap(pcap_fopen_offline(bpf_fp.get(), pcap_error));
110 if (bpf_pcap.get() == NULL) {
125 if (pcap_compile(bpf_pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN)) {
130 // Install BPF filter on bpf_pcap
131 if (pcap_setfilter(bpf_pcap.get(), &bpf)) {
139 const uint8_t* bpf_packet = pcap_next(bpf_pcap.get(), &bpf_header);
  /external/libpcap/
gencode.c 136 static pcap_t *bpf_pcap; variable
155 if (bpf_pcap != NULL)
156 (void)vsnprintf(pcap_geterr(bpf_pcap), PCAP_ERRBUF_SIZE,
466 bpf_pcap = p;
    [all...]

Completed in 49 milliseconds