Lines Matching refs:tcHeader
939 TC_PACKET_HEADER tcHeader; in TcRead() local
970 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()
1022 pPpiHeader->Dot3Field.Errors = tcHeader.Errors; in TcRead()
1023 if (tcHeader.Flags & TC_PH_FLAGS_CHECKSUM) in TcRead()
1036 hdr.len = sizeof(PPI_HEADER) + tcHeader.Length; in TcRead()
1042 hdr.len = sizeof(PPI_HEADER) + tcHeader.Length; in TcRead()