Home
last modified time | relevance | path

Searched refs:pcap (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp89 explicit ScopedPcap(pcap_t* pcap) : pcap_ptr(pcap) {} in ScopedPcap() argument
123 ScopedPcap pcap(pcap_open_dead(DLT_EN10MB, 65535)); in com_android_server_ApfTest_compileToBpf() local
124 if (pcap.get() == NULL) { in com_android_server_ApfTest_compileToBpf()
131 if (pcap_compile(pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN)) { in com_android_server_ApfTest_compileToBpf()
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dhci_sniffer.cc41 pcap::WriteHeader(*output_, linktype); in SetOutputStream()
52 pcap::WriteRecordHeader(*output_, 4 + 1 + packet.size()); in AppendRecord()
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dbaseband_sniffer.cc41 pcap::WriteHeader(output_, linktype); in BaseBandSniffer()
48 pcap::WriteRecordHeader(output_, bytes.size()); in AppendRecord()
/packages/modules/Bluetooth/tools/rootcanal/include/
Dpcap.h24 namespace rootcanal::pcap {