Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-tc.c871 TC_PACKET_HEADER tcHeader; in TcRead() local
902 status = g_TcFunctions.PacketsBufferQueryNextPacket(pt->TcPacketsBuffer, &tcHeader, &data); in TcRead()
920 filterResult = pcap_filter(p->fcode.bf_insns, data, tcHeader.Length, tcHeader.CapturedLength); in TcRead()
927 if (filterResult > tcHeader.CapturedLength) in TcRead()
929 filterResult = tcHeader.CapturedLength; in TcRead()
934 filterResult = tcHeader.CapturedLength; in TcRead()
939 hdr.ts.tv_sec = (bpf_u_int32)(tcHeader.Timestamp / (ULONGLONG)(1000 * 1000 * 1000)); in TcRead()
940 hdr.ts.tv_usec = (bpf_u_int32)((tcHeader.Timestamp % (ULONGLONG)(1000 * 1000 * 1000)) / 1000); in TcRead()
945 hdr.len = tcHeader.Length; in TcRead()
953 pPpiHeader->AggregationField.InterfaceId = TC_PH_FLAGS_RX_PORT_ID(tcHeader.Flags); in TcRead()
[all …]