Searched refs:tcHeader (Results 1 – 1 of 1) sorted by relevance
939 TC_PACKET_HEADER tcHeader; in TcRead() local970 status = g_TcFunctions.PacketsBufferQueryNextPacket(pt->TcPacketsBuffer, &tcHeader, &data); in TcRead()988 filterResult = bpf_filter(p->fcode.bf_insns, data, tcHeader.Length, tcHeader.CapturedLength); in TcRead()995 if (filterResult > tcHeader.CapturedLength) in TcRead()997 filterResult = tcHeader.CapturedLength; in TcRead()1002 filterResult = tcHeader.CapturedLength; in TcRead()1007 hdr.ts.tv_sec = (bpf_u_int32)(tcHeader.Timestamp / (ULONGLONG)(1000 * 1000 * 1000)); in TcRead()1008 hdr.ts.tv_usec = (bpf_u_int32)((tcHeader.Timestamp % (ULONGLONG)(1000 * 1000 * 1000)) / 1000); in TcRead()1013 hdr.len = tcHeader.Length; in TcRead()1021 pPpiHeader->AggregationField.InterfaceId = TC_PH_FLAGS_RX_PORT_ID(tcHeader.Flags); in TcRead()[all …]