| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
blf.h
Go to the documentation of this file.
1
10
11 /*
12 * The following was used as a reference for the file format:
13 * https://bitbucket.org/tobylorenz/vector_blf
14 * The repo above includes multiple examples files as well.
15 */
16
17#ifndef __W_BLF_H__
18#define __W_BLF_H__
19
20#include "wtap.h"
21
32 wtap_open_return_val blf_open(wtap *wth, int *err, char **err_info);
33
34/*
35 * A BLF file is of the form:
36 *
37 * BLF File Header
38 * Sequence of BLF objects
39 *
40 * A BLF object is of the form:
41 *
42 * BLF Block Header
43 * Object header (object type dependent, may be empty)
44 * Object contents
45 *
46 * As per
47 *
48 * https://gitlab.com/wireshark/wireshark/-/issues/19896#note_1967971057
49 *
50 * the sequence may have one (or more?) metadata objects at the beginning.
51 * After those, if present, there are zero or more LOG_CONTAINER objects,
52 * containing data for all subsequent objects. An object may be split
53 * between LOG_CONTAINER objects, as per
54 *
55 * https://gitlab.com/wireshark/wireshark/-/issues/19377#note_1651998569
56 *
57 * A LOG_CONTAINER object's contents are of the form:
58 *
59 * Log container header
60 * Data for contained objects.
61 *
62 * The data in a LOG_CONTAINER object may be compressed using zlib.
63 */
64
65#define BLF_HEADER_TYPE_DEFAULT 1
66#define BLF_HEADER_TYPE_2 2
67#define BLF_HEADER_TYPE_3 3
68
69
70#define BLF_COMPRESSION_NONE 0
71#define BLF_COMPRESSION_ZLIB 2
72
73#define BLF_TIMESTAMP_RESOLUTION_10US 1
74#define BLF_TIMESTAMP_RESOLUTION_1NS 2
75
79 typedef struct blf_date {
80 uint16_t year;
81 uint16_t month;
82 uint16_t dayofweek;
83 uint16_t day;
84 uint16_t hour;
85 uint16_t mins;
86 uint16_t sec;
87 uint16_t ms;
88} blf_date_t;
89
90
94 typedef struct blf_fileheader {
95 uint8_t magic[4];
96 uint32_t header_length;
97 uint32_t api_version;
98 uint8_t application;
99 uint8_t compression_level;
100 uint8_t application_major;
101 uint8_t application_minor;
102 uint64_t len_compressed;
103 uint64_t len_uncompressed;
104 uint32_t obj_count;
105 uint32_t application_build;
106 blf_date_t start_date;
107 blf_date_t end_date;
108 uint32_t restore_point_offset;
109 uint8_t padding[];
110} blf_fileheader_t;
111
112
116 typedef struct blf_blockheader {
117 uint8_t magic[4];
118 uint16_t header_length;
119 uint16_t header_type;
120 uint32_t object_length;
121 uint32_t object_type;
122} blf_blockheader_t;
123
124
128 typedef struct blf_logcontainerheader {
129 uint16_t compression_method;
130 uint16_t res1;
131 uint32_t res2;
132 uint32_t uncompressed_size;
133 uint32_t res4;
134} blf_logcontainerheader_t;
135
136
140 typedef struct blf_logobjectheader {
141 uint32_t flags;
142 uint16_t client_index;
143 uint16_t object_version;
144 uint64_t object_timestamp;
145} blf_logobjectheader_t;
146
147
148#define BLF_TS_STATUS_ORIG_TS_VALID 0x01
149#define BLF_TS_STATUS_SW_TS 0x02
150#define BLF_TS_STATUS_PROTO_SPECIFIC 0x10
151
152
156 typedef struct blf_logobjectheader2 {
157 uint32_t flags;
158 uint8_t timestamp_status;
159 uint8_t res1;
160 uint16_t object_version;
161 uint64_t object_timestamp;
162 uint64_t original_timestamp;
163} blf_logobjectheader2_t;
164
165
169 typedef struct blf_logobjectheader3 {
170 uint32_t flags;
171 uint16_t static_size;
172 uint16_t object_version;
173 uint64_t object_timestamp;
174} blf_logobjectheader3_t;
175
176
177#define BLF_DIR_RX 0
178#define BLF_DIR_TX 1
179#define BLF_DIR_TX_RQ 2
180
181
185 typedef struct blf_ethernetframeheader {
186 uint8_t src_addr[6];
187 uint16_t channel;
188 uint8_t dst_addr[6];
189 uint16_t direction;
190 uint16_t ethtype;
191 uint16_t tpid;
192 uint16_t tci;
193 uint16_t payloadlength;
194 uint64_t res;
195} blf_ethernetframeheader_t;
196
200 typedef struct blf_ethernetframeheader_ex {
201 uint16_t struct_length;
202 uint16_t flags;
203 uint16_t channel;
204 uint16_t hw_channel;
205 uint64_t frame_duration;
206 uint32_t frame_checksum;
207 uint16_t direction;
208 uint16_t frame_length;
209 uint32_t frame_handle;
210 uint32_t error;
211} blf_ethernetframeheader_ex_t;
212
213#define BLF_ETHERNET_EX_RES 0x0001
214#define BLF_ETHERNET_EX_HARDWARECHANNEL 0x0002
215#define BLF_ETHERNET_EX_FRAMEDURATION 0x0004
216#define BLF_ETHERNET_EX_FRAMEHANDLE 0x0008
217
221 typedef struct blf_ethernet_rxerror {
222 uint16_t struct_length;
223 uint16_t channel;
224 uint16_t direction;
225 uint16_t hw_channel;
226 uint32_t frame_checksum;
227 uint16_t frame_length;
228 uint32_t error;
229} blf_ethernet_rxerror_t;
230
231
235 typedef struct blf_wlanframeheader {
236 uint16_t channel;
237 uint16_t flags;
238 uint8_t direction;
239 uint8_t radio_channel;
240 uint16_t signal_strength;
241 uint16_t signal_quality;
242 uint16_t frame_length;
243 uint32_t res;
244} blf_wlanframeheader_t;
245
246
247#define BLF_CANMESSAGE_FLAG_TX 0x01
248#define BLF_CANMESSAGE_FLAG_NERR 0x20
249#define BLF_CANMESSAGE_FLAG_WU 0x40
250#define BLF_CANMESSAGE_FLAG_RTR 0x80
251
252
256 typedef struct blf_canmessage {
257 uint16_t channel;
258 uint8_t flags;
259 uint8_t dlc;
260 uint32_t id;
261} blf_canmessage_t;
262
263
267 typedef struct blf_canmessage2_trailer {
268 uint32_t frameLength_in_ns;
269 uint8_t bitCount;
270 uint8_t reserved1;
271 uint16_t reserved2;
272} blf_canmessage2_trailer_t;
273
274
275#define BLF_CANFDMESSAGE_CANFDFLAG_EDL 0x01
276#define BLF_CANFDMESSAGE_CANFDFLAG_BRS 0x02
277#define BLF_CANFDMESSAGE_CANFDFLAG_ESI 0x04
278
282 typedef struct blf_canfdmessage {
283 uint16_t channel;
284 uint8_t flags;
285 uint8_t dlc;
286 uint32_t id;
287 uint32_t frameLength_in_ns;
288 uint8_t arbitration_bit_count;
289 uint8_t canfdflags;
290 uint8_t validDataBytes;
291 uint8_t reservedCanFdMessage1;
292 uint32_t reservedCanFdMessage2;
293 /* Payload data bytes follow this header. */
294 /* uint32_t reservedCanFdMessage3 follows the payload. */
295} blf_canfdmessage_t;
296
297
298/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/CanFdMessage64.h */
299
300#define BLF_CANFDMESSAGE64_FLAG_NERR 0x000004
301#define BLF_CANFDMESSAGE64_FLAG_HIGH_VOLT_WAKE_UP 0x000008
302#define BLF_CANFDMESSAGE64_FLAG_REMOTE_FRAME 0x000010
303#define BLF_CANFDMESSAGE64_FLAG_TX_ACK 0x000040
304#define BLF_CANFDMESSAGE64_FLAG_TX_REQ 0x000080
305#define BLF_CANFDMESSAGE64_FLAG_SRR 0x000200
306#define BLF_CANFDMESSAGE64_FLAG_R0 0x000400
307#define BLF_CANFDMESSAGE64_FLAG_R1 0x000800
308/* EDL 0: CAN, 1: CAN-FD*/
309#define BLF_CANFDMESSAGE64_FLAG_EDL 0x001000
310#define BLF_CANFDMESSAGE64_FLAG_BRS 0x002000
311#define BLF_CANFDMESSAGE64_FLAG_ESI 0x004000
312#define BLF_CANFDMESSAGE64_FLAG_BURST 0x020000
313
317 typedef struct blf_canfdmessage64 {
318 uint8_t channel;
319 uint8_t dlc;
320 uint8_t validDataBytes;
321 uint8_t txCount;
322 uint32_t id;
323 uint32_t frameLength_in_ns;
324 uint32_t flags;
325 uint32_t btrCfgArb;
326 uint32_t btrCfgData;
327 uint32_t timeOffsetBrsNs;
328 uint32_t timeOffsetCrcDelNs;
329 uint16_t bitCount;
330 uint8_t dir;
331 uint8_t extDataOffset;
332 uint32_t crc;
333} blf_canfdmessage64_t;
334
335
339 typedef struct blf_canerror {
340 uint16_t channel;
341 uint16_t length;
342} blf_canerror_t;
343
344
345/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/CanErrorFrameExt.h */
346
347#define BLF_CANERROREXT_FLAG_SJA 0x01
348#define BLF_CANERROREXT_FLAG_CANCORE 0x02
349#define BLF_CANERROREXT_EXTECC_TX 0x1000
350#define BLF_CANERROREXT_EXTECC_NOT_ACK 0x2000
351#define BLF_CANERROREXT_ECC_MEANING_BIT_ERROR 0x0
352#define BLF_CANERROREXT_ECC_MEANING_FORM_ERROR 0x1
353#define BLF_CANERROREXT_ECC_MEANING_STUFF_ERROR 0x2
354#define BLF_CANERROREXT_ECC_MEANING_OTHER_ERROR 0x3
355#define BLF_CANERROREXT_ECC_MEANING_CRC_ERROR 0x4
356#define BLF_CANERROREXT_ECC_MEANING_ACKDEL_ERROR 0x5
357#define BLF_CANERROREXT_ECC_MEANING_OTHER_ERROR2 0x6
358#define BLF_CANERROREXT_ECC_MEANING_NACK_ERROR 0x7
359#define BLF_CANERROREXT_ECC_MEANING_OVERLOAD 0x8
360#define BLF_CANERROREXT_ECC_FDF_BIT_ERROR 0x9
361
365 typedef struct blf_canerrorext {
366 uint16_t channel;
367 uint16_t length;
368 uint32_t flags;
369 uint8_t ecc;
370 uint8_t position;
371 uint8_t dlc;
372 uint8_t reserved1;
373 uint32_t frameLength_in_ns;
374 uint32_t id;
375 uint16_t errorCodeExt;
376 uint16_t reserved2;
377} blf_canerrorext_t;
378
379
380/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/CanFdErrorFrame64.h */
381
382#define BLF_CANERROR64_FLAG_FDF 0x01
383#define BLF_CANERROR65_FLAG_BRS 0x02
384#define BLF_CANERROR65_FLAG_ESI 0x04
385
389 typedef struct blf_canfderror64 {
390 uint8_t channel;
391 uint8_t dlc;
392 uint8_t validDataBytes;
393 uint8_t ecc;
394 uint16_t flags;
395 uint16_t errorCodeExt;
396 uint16_t extFlags;
397 uint8_t extDataOffset;
398 uint8_t reserved1;
399 uint32_t id;
400 uint32_t frameLength_in_ns;
401 uint32_t btrCfgArb;
402 uint32_t btrCfgData;
403 uint32_t timeOffsetBrsNs;
404 uint32_t timeOffsetCrcDelNs;
405 uint32_t crc;
406 uint16_t errorPosition;
407 uint16_t reserved2;
408} blf_canfderror64_t;
409
410
411/* CAN-XL */
412
413#define BLF_CANXLCHANNELFRAME_FLAG_REMOTE_FRAME 0x10
414#define BLF_CANXLCHANNELFRAME_FLAG_SRR 0x200
415#define BLF_CANXLCHANNELFRAME_FLAG_FDF 0x1000
416#define BLF_CANXLCHANNELFRAME_FLAG_BRS 0x2000
417#define BLF_CANXLCHANNELFRAME_FLAG_ESI 0x4000
418#define BLF_CANXLCHANNELFRAME_FLAG_XLF 0x400000
419#define BLF_CANXLCHANNELFRAME_FLAG_RRS 0x800000
420#define BLF_CANXLCHANNELFRAME_FLAG_SEC 0x1000000
421
425 typedef struct blf_canxlchannelframe {
426 uint8_t channel;
427 uint8_t tx_count;
428 uint8_t dir;
429 uint8_t res1;
430 uint32_t frameLength_in_ns;
431
432 uint16_t bitCount;
433 uint16_t res2;
434 uint32_t frameIdentifier;
435
436 uint8_t serviceDataUnitType;
437 uint8_t res3;
438 uint16_t dlc;
439 uint16_t dataLength;
440 uint16_t stuffBitCount;
441
442 uint16_t prefaceCRC;
443 uint8_t virtualControllerAreaNetChannelID;
444 uint8_t res4;
445 uint32_t acceptanceField;
446
447 uint8_t stuffCount;
448 uint8_t res5;
449 uint16_t res6;
450 uint32_t crc;
451
452 uint32_t timeOffsetBrsNs;
453 uint32_t timeOffsetCrcDelNs;
454
455 uint32_t flags;
456 uint32_t reserved;
457
458 uint64_t arbitrationDataBitTimingConfig;
459 uint64_t arbitrationDataHwChannelSettings;
460 uint64_t fdPhaseBitTimingConfig;
461 uint64_t fdPhaseHwChannelSettings;
462 uint64_t xlPhaseBitTimingConfig;
463 uint64_t xlPhaseHwChannelSettings;
464} blf_canxlchannelframe_t;
465
466/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/FlexRayData.h */
467
468#define BLF_FLEXRAYDATA_FRAME 0x01
469#define BLF_FLEXRAYDATA_CHANNEL_B 0x80
470
474 typedef struct blf_flexraydata {
475 uint16_t channel;
476 uint8_t mux;
477 uint8_t len;
478 uint16_t messageId;
479 uint16_t crc;
480 uint8_t dir;
481 uint8_t reservedFlexRayData1;
482 uint16_t reservedFlexRayData2;
483} blf_flexraydata_t;
484
485
486/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/FlexRayV6Message.h */
487
488#define BLF_FLEXRAYMESSAGE_DIR_RX 0x01
489#define BLF_FLEXRAYMESSAGE_DIR_TX 0x02
490#define BLF_FLEXRAYMESSAGE_DIR_TX_REQ 0x04
491
492#define BLF_FLEXRAYMESSAGE_STATE_PPI 0x01
493#define BLF_FLEXRAYMESSAGE_STATE_SFI 0x02
494#define BLF_FLEXRAYMESSAGE_STATE_RES_BIT2 0x04
495#define BLF_FLEXRAYMESSAGE_STATE_NFI 0x08
496#define BLF_FLEXRAYMESSAGE_STATE_STFI 0x10
497#define BLF_FLEXRAYMESSAGE_STATE_FORMAT 0xe0
498
499#define BLF_FLEXRAYMESSAGE_HEADER_BIT_NM 0x01
500#define BLF_FLEXRAYMESSAGE_HEADER_BIT_SYNC 0x02
501#define BLF_FLEXRAYMESSAGE_HEADER_BIT_RES 0x04
502
503#define BLF_DLT_FLEXRAY_STFI 0x08
504#define BLF_DLT_FLEXRAY_SFI 0x10
505#define BLF_DLT_FLEXRAY_NFI 0x20
506#define BLF_DLT_FLEXRAY_PPI 0x40
507
511 typedef struct blf_flexraymessage {
512 uint16_t channel;
513 uint8_t dir;
514 uint8_t lowTime;
515 uint32_t fpgaTick;
516 uint32_t fpgaTickOverflow;
517 uint32_t clientIndexFlexRayV6Message;
518 uint32_t clusterTime;
519 uint16_t frameId;
520 uint16_t headerCrc;
521 uint16_t frameState;
522 uint8_t length;
523 uint8_t cycle;
524 uint8_t headerBitMask;
525 uint8_t reservedFlexRayV6Message1;
526 uint16_t reservedFlexRayV6Message2;
527} blf_flexraymessage_t;
528
529
530/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/FlexRayVFrReceiveMsg.h */
531
532#define BLF_FLEXRAYRCVMSG_DIR_RX 0x01
533#define BLF_FLEXRAYRCVMSG_DIR_TX 0x02
534#define BLF_FLEXRAYRCVMSG_DIR_TX_REQ 0x04
535
536#define BLF_FLEXRAYRCVMSG_CHANNELMASK_RES 0x00
537#define BLF_FLEXRAYRCVMSG_CHANNELMASK_A 0x01
538#define BLF_FLEXRAYRCVMSG_CHANNELMASK_B 0x02
539#define BLF_FLEXRAYRCVMSG_CHANNELMASK_AB 0x03
540
541#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_NULL_FRAME 0x00000001
542#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_VALID_DATA 0x00000002
543#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_SYNC 0x00000004
544#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_STARTUP 0x00000008
545#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_PAYLOAD_PREAM 0x00000010
546#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_RES_20 0x00000020
547#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_ERROR 0x00000040
548#define BLF_FLEXRAYRCVMSG_FRAME_FLAG_RES_80 0x00000080
549
553 typedef struct blf_flexrayrcvmessage {
554 uint16_t channel;
555 uint16_t version;
556 uint16_t channelMask;
557 uint16_t dir;
558 uint32_t clientIndex;
559 uint32_t clusterNo;
560 uint16_t frameId;
561 uint16_t headerCrc1;
562 uint16_t headerCrc2;
563 uint16_t payloadLength;
564 uint16_t payloadLengthValid;
565 uint16_t cycle;
566 uint32_t tag;
567 uint32_t data;
568 uint32_t frameFlags;
569 uint32_t appParameter;
570 /* If this is an extended message, skip 40 bytes before the payload. */
571 /* Payload bytes follow. */
572 /* uint16_t res3 — reserved, follows payload. */
573 /* uint32_t res4 — reserved, follows res3. */
574} blf_flexrayrcvmessage_t;
575
576
577/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/FlexRayVFrReceiveMsgEx.h */
578
579/* defines see above BLF_FLEXRAYRCVMSG_* */
580
584 typedef struct blf_flexrayrcvmessageex {
585 uint16_t channel;
586 uint16_t version;
587 uint16_t channelMask;
588 uint16_t dir;
589 uint32_t clientIndex;
590 uint32_t clusterNo;
591 uint16_t frameId;
592 uint16_t headerCrc1;
593 uint16_t headerCrc2;
594 uint16_t payloadLength;
595 uint16_t payloadLengthValid;
596 uint16_t cycle;
597 uint32_t tag;
598 uint32_t data;
599 uint32_t frameFlags;
600 uint32_t appParameter;
601 uint32_t frameCRC;
602 uint32_t frameLengthInNs;
603 uint16_t frameId1;
604 uint16_t pduOffset;
605 uint16_t blfLogMask;
606 uint16_t res1;
607 uint32_t res2;
608 uint32_t res3;
609 uint32_t res4;
610 uint32_t res5;
611 uint32_t res6;
612 uint32_t res7;
613 /* Payload bytes follow this header. */
614} blf_flexrayrcvmessageex_t;
615
616
617/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/LinMessage.h */
618
622 typedef struct blf_linmessage {
623 uint16_t channel;
624 uint8_t id;
625 uint8_t dlc;
626 uint8_t data[8];
627 uint8_t fsmId;
628 uint8_t fsmState;
629 uint8_t headerTime;
630 uint8_t fullTime;
631 uint16_t crc;
632 uint8_t dir;
633 uint8_t res1;
634 /* uint32_t res2 — optional trailing reserved field; may be absent. */
635} blf_linmessage_t;
636
637
641 typedef struct blf_linrcverror {
642 uint16_t channel;
643 uint8_t id;
644 uint8_t dlc;
645 uint8_t fsmId;
646 uint8_t fsmState;
647 uint8_t headerTime;
648 uint8_t fullTime;
649 uint8_t stateReason;
650 uint8_t offendingByte;
651 uint8_t shortError;
652 uint8_t timeoutDuringDlcDetection;
653} blf_linrcverror_t;
654
655
659 typedef struct blf_linsenderror {
660 uint16_t channel;
661 uint8_t id;
662 uint8_t dlc;
663 uint8_t fsmId;
664 uint8_t fsmState;
665 uint8_t headerTime;
666 uint8_t fullTime;
667} blf_linsenderror_t;
668
669
673 typedef struct blf_linwakeupevent {
674 uint16_t channel;
675 uint8_t signal;
676 uint8_t external;
677} blf_linwakeupevent_t;
678
679
683 typedef struct blf_linbusevent {
684 uint64_t sof;
685 uint32_t eventBaudrate;
686 uint16_t channel;
687 uint8_t res1[2];
688} blf_linbusevent_t;
689
690
694 typedef struct blf_linsynchfieldevent {
695 blf_linbusevent_t linBusEvent;
696 uint64_t synchBreakLength;
697 uint64_t synchDelLength;
698} blf_linsynchfieldevent_t;
699
700
704 typedef struct blf_linmessagedescriptor {
705 blf_linsynchfieldevent_t linSynchFieldEvent;
706 uint16_t supplierId;
707 uint16_t messageId;
708 uint8_t configuredNodeAddress;
709 uint8_t id;
710 uint8_t dlc;
711 uint8_t checksumModel;
712} blf_linmessagedescriptor_t;
713
714
718 typedef struct blf_lindatabytetimestampevent {
719 blf_linmessagedescriptor_t linMessageDescriptor;
720 uint64_t databyteTimestamps[9];
721} blf_lindatabytetimestampevent_t;
722
723
727 typedef struct blf_linmessage2 {
728 blf_lindatabytetimestampevent_t linDataByteTimestampEvent;
729 uint8_t data[8];
730 uint16_t crc;
731 uint8_t dir;
732 uint8_t simulated;
733 uint8_t isEtf;
734 uint8_t eftAssocIndex;
735 uint8_t eftAssocEftId;
736 uint8_t fsmId;
737 uint8_t fsmState;
738 uint8_t res1[3];
739 /* Optional trailing fields omitted; their absence does not affect parsing:
740 uint32_t respBaudrate;
741 double exactHeaderBaudrate;
742 uint32_t earlyStopBitOffset;
743 uint32_t earlyStopBitOffsetResponse; */
744} blf_linmessage2_t;
745
746
750 typedef struct blf_lincrcerror2 {
751 blf_lindatabytetimestampevent_t linDataByteTimestampEvent;
752 uint8_t data[8];
753 uint16_t crc;
754 uint8_t dir;
755 uint8_t fsmId;
756 uint8_t fsmState;
757 uint8_t simulated;
758 uint8_t res1[2];
759 /* Optional trailing fields omitted; their absence does not affect parsing:
760 uint32_t respBaudrate;
761 uint8_t res2[4];
762 double exactHeaderBaudrate;
763 uint32_t earlyStopBitOffset;
764 uint32_t earlyStopBitOffsetResponse; */
765} blf_lincrcerror2_t;
766
767
771 typedef struct blf_linrcverror2 {
772 blf_lindatabytetimestampevent_t linDataByteTimestampEvent;
773 uint8_t data[8];
774 uint8_t fsmId;
775 uint8_t fsmState;
776 uint8_t stateReason;
777 uint8_t offendingByte;
778 uint8_t shortError;
779 uint8_t timeoutDuringDlcDetection;
780 uint8_t isEtf;
781 uint8_t hasDataBytes;
782 /* Optional trailing fields omitted; their absence does not affect parsing:
783 uint32_t respBaudrate;
784 uint8_t res[4];
785 double exactHeaderBaudrate;
786 uint32_t earlyStopBitOffset;
787 uint32_t earlyStopBitOffsetResponse; */
788} blf_linrcverror2_t;
789
790
794 typedef struct blf_linsenderror2 {
795 blf_linmessagedescriptor_t linMessageDescriptor;
796 uint64_t eoh;
797 uint8_t isEtf;
798 uint8_t fsmId;
799 uint8_t fsmState;
800 uint8_t res1;
801 /* Optional trailing fields omitted; their absence does not affect parsing:
802 uint8_t res2[4];
803 double exactHeaderBaudrate;
804 uint32_t earlyStopBitOffset; */
805} blf_linsenderror2_t;
806
807
811 typedef struct blf_linwakeupevent2 {
812 blf_linbusevent_t linBusEvent;
813 uint8_t lengthInfo;
814 uint8_t signal;
815 uint8_t external;
816 uint8_t res;
817} blf_linwakeupevent2_t;
818
819
823 typedef struct blf_linsleepmodeevent {
824 uint16_t channel;
825 uint8_t reason;
826 uint8_t flags;
827} blf_linsleepmodeevent_t;
828
829#define BLF_LIN_WU_SLEEP_REASON_START_STATE 0 /* Initial state of the interface */
830#define BLF_LIN_SLEEP_REASON_GO_TO_SLEEP_FRAME 1
831#define BLF_LIN_SLEEP_REASON_BUS_IDLE_TIMEOUT 2
832#define BLF_LIN_SLEEP_REASON_SILENT_SLEEPMODE_CMD 3 /* Command to shorten bus idle timeout */
833#define BLF_LIN_WU_REASON_EXTERNAL_WAKEUP_SIG 9
834#define BLF_LIN_WU_REASON_INTERNAL_WAKEUP_SIG 10
835#define BLF_LIN_WU_REASON_BUS_TRAFFIC 11
836#define BLF_LIN_NO_SLEEP_REASON_BUS_TRAFFIC 18 /* LIN hardware does not go into Sleep mode in spite of request to do so */
837
838
839/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/AppText.h */
840
844 typedef struct blf_apptext {
845 uint32_t source;
846 uint32_t reservedAppText1;
847 uint32_t textLength;
848 uint32_t reservedAppText2;
849} blf_apptext_t;
850
851#define BLF_APPTEXT_COMMENT 0x00000000
852#define BLF_APPTEXT_CHANNEL 0x00000001
853#define BLF_APPTEXT_METADATA 0x00000002
854#define BLF_APPTEXT_ATTACHMENT 0x00000003
855#define BLF_APPTEXT_TRACELINE 0x00000004
856#define BLF_APPTEXT_CONT 0x000000FE
857#define BLF_APPTEXT_FAILED 0x000000FF
858
859#define BLF_APPTEXT_XML_GENERAL 0x01
860#define BLF_APPTEXT_XML_CHANNELS 0x02
861#define BLF_APPTEXT_XML_IDENTITY 0x03
862
863#define BLF_APPTEXT_TAG_DISS_ETHSTATUS "blf-ethernetstatus-obj"
864#define BLF_APPTEXT_TAG_DISS_ETHPHYSTATUS "blf-ethernetphystate-obj"
865#define BLF_APPTEXT_TAG_DISS_DEFAULT "data-text-lines"
866#define BLF_APPTEXT_COL_PROT_TEXT "BLF App text"
867#define BLF_APPTEXT_COL_INFO_TEXT "Metadata"
868#define BLF_APPTEXT_COL_INFO_TEXT_GENERAL "Metadata: General"
869#define BLF_APPTEXT_COL_INFO_TEXT_CHANNELS "Metadata: Channels"
870#define BLF_APPTEXT_COL_INFO_TEXT_IDENTITY "Metadata: Identity"
871
872#define BLF_BUSTYPE_CAN 1
873#define BLF_BUSTYPE_LIN 5
874#define BLF_BUSTYPE_MOST 6
875#define BLF_BUSTYPE_FLEXRAY 7
876#define BLF_BUSTYPE_J1708 9
877#define BLF_BUSTYPE_ETHERNET 11
878#define BLF_BUSTYPE_WLAN 13
879#define BLF_BUSTYPE_AFDX 14
880
881/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/EthernetStatus.h */
885 typedef struct blf_ethernet_status {
886 uint16_t channel;
887 uint16_t flags;
888 uint8_t linkStatus;
889 uint8_t ethernetPhy;
890 uint8_t duplex;
891 uint8_t mdi;
892 uint8_t connector;
893 uint8_t clockMode;
894 uint8_t pairs;
895 uint8_t hardwareChannel;
896 uint32_t bitrate;
897 /* Version 1 and later append the following optional field:
898 uint64_t linkUpDuration; // Duration the link has been continuously up, in nanoseconds. */
899} blf_ethernet_status_t;
900
901#define BLF_ETH_STATUS_LINKSTATUS 0x0001
902#define BLF_ETH_STATUS_BITRATE 0x0002
903#define BLF_ETH_STATUS_ETHERNETPHY 0x0004
904#define BLF_ETH_STATUS_DUPLEX 0x0008
905#define BLF_ETH_STATUS_MDITYPE 0x0010
906#define BLF_ETH_STATUS_CONNECTOR 0x0020
907#define BLF_ETH_STATUS_CLOCKMODE 0x0040
908#define BLF_ETH_STATUS_BRPAIR 0x0080
909#define BLF_ETH_STATUS_HARDWARECHANNEL 0x0100
910#define BLF_ETH_STATUS_LINKUPDURATION 0x0200
911
915 typedef struct blf_ethernet_phystate {
916 uint16_t channel;
917 uint16_t flags;
918 uint8_t phyState;
919 uint8_t phyEvent;
920 uint8_t hardwareChannel;
921 uint8_t res1;
922} blf_ethernet_phystate_t;
923
924#define BLF_PHY_STATE_PHYSTATE 0x0001
925#define BLF_PHY_STATE_PHYEVENT 0x0002
926#define BLF_PHY_STATE_HARDWARECHANNEL 0x0004
927
928
929/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/ObjectHeaderBase.h */
930
931#define BLF_OBJTYPE_UNKNOWN 0
932#define BLF_OBJTYPE_CAN_MESSAGE 1
933#define BLF_OBJTYPE_CAN_ERROR 2
934#define BLF_OBJTYPE_CAN_OVERLOAD 3
935#define BLF_OBJTYPE_CAN_STATISTIC 4
936#define BLF_OBJTYPE_APP_TRIGGER 5
937#define BLF_OBJTYPE_ENV_INTEGER 6
938#define BLF_OBJTYPE_ENV_DOUBLE 7
939#define BLF_OBJTYPE_ENV_STRING 8
940#define BLF_OBJTYPE_ENV_DATA 9
941#define BLF_OBJTYPE_LOG_CONTAINER 10
942#define BLF_OBJTYPE_LIN_MESSAGE 11
943#define BLF_OBJTYPE_LIN_CRC_ERROR 12
944#define BLF_OBJTYPE_LIN_DLC_INFO 13
945#define BLF_OBJTYPE_LIN_RCV_ERROR 14
946#define BLF_OBJTYPE_LIN_SND_ERROR 15
947#define BLF_OBJTYPE_LIN_SLV_TIMEOUT 16
948#define BLF_OBJTYPE_LIN_SCHED_MODCH 17
949#define BLF_OBJTYPE_LIN_SYN_ERROR 18
950#define BLF_OBJTYPE_LIN_BAUDRATE 19
951#define BLF_OBJTYPE_LIN_SLEEP 20
952#define BLF_OBJTYPE_LIN_WAKEUP 21
953#define BLF_OBJTYPE_MOST_SPY 22
954#define BLF_OBJTYPE_MOST_CTRL 23
955#define BLF_OBJTYPE_MOST_LIGHTLOCK 24
956#define BLF_OBJTYPE_MOST_STATISTIC 25
957
958#define BLF_OBJTYPE_FLEXRAY_DATA 29
959#define BLF_OBJTYPE_FLEXRAY_SYNC 30
960#define BLF_OBJTYPE_CAN_DRIVER_ERROR 31
961#define BLF_OBJTYPE_MOST_PKT 32
962#define BLF_OBJTYPE_MOST_PKT2 33
963#define BLF_OBJTYPE_MOST_HWMODE 34
964#define BLF_OBJTYPE_MOST_REG 35
965#define BLF_OBJTYPE_MOST_GENREG 36
966#define BLF_OBJTYPE_MOST_NETSTATE 37
967#define BLF_OBJTYPE_MOST_DATALOST 38
968#define BLF_OBJTYPE_MOST_TRIGGER 39
969#define BLF_OBJTYPE_FLEXRAY_CYCLE 40
970#define BLF_OBJTYPE_FLEXRAY_MESSAGE 41
971#define BLF_OBJTYPE_LIN_CHECKSUM_INFO 42
972#define BLF_OBJTYPE_LIN_SPIKE_EVENT 43
973#define BLF_OBJTYPE_CAN_DRIVER_SYNC 44
974#define BLF_OBJTYPE_FLEXRAY_STATUS 45
975#define BLF_OBJTYPE_GPS_EVENT 46
976#define BLF_OBJTYPE_FLEXRAY_ERROR 47
977#define BLF_OBJTYPE_FLEXRAY_STATUS2 48
978#define BLF_OBJTYPE_FLEXRAY_STARTCYCLE 49
979#define BLF_OBJTYPE_FLEXRAY_RCVMESSAGE 50
980#define BLF_OBJTYPE_REALTIMECLOCK 51
981
982#define BLF_OBJTYPE_LIN_STATISTIC 54
983#define BLF_OBJTYPE_J1708_MESSAGE 55
984#define BLF_OBJTYPE_J1708_VIRTUAL_MSG 56
985#define BLF_OBJTYPE_LIN_MESSAGE2 57
986#define BLF_OBJTYPE_LIN_SND_ERROR2 58
987#define BLF_OBJTYPE_LIN_SYN_ERROR2 59
988#define BLF_OBJTYPE_LIN_CRC_ERROR2 60
989#define BLF_OBJTYPE_LIN_RCV_ERROR2 61
990#define BLF_OBJTYPE_LIN_WAKEUP2 62
991#define BLF_OBJTYPE_LIN_SPIKE_EVENT2 63
992#define BLF_OBJTYPE_LIN_LONG_DOM_SIG 64
993#define BLF_OBJTYPE_APP_TEXT 65
994#define BLF_OBJTYPE_FLEXRAY_RCVMESSAGE_EX 66
995#define BLF_OBJTYPE_MOST_STATISTICEX 67
996#define BLF_OBJTYPE_MOST_TXLIGHT 68
997#define BLF_OBJTYPE_MOST_ALLOCTAB 69
998#define BLF_OBJTYPE_MOST_STRESS 70
999#define BLF_OBJTYPE_ETHERNET_FRAME 71
1000#define BLF_OBJTYPE_SYS_VARIABLE 72
1001#define BLF_OBJTYPE_CAN_ERROR_EXT 73
1002#define BLF_OBJTYPE_CAN_DRIVER_ERROR_EXT 74
1003#define BLF_OBJTYPE_LIN_LONG_DOM_SIG2 75
1004#define BLF_OBJTYPE_MOST_150_MESSAGE 76
1005#define BLF_OBJTYPE_MOST_150_PKT 77
1006#define BLF_OBJTYPE_MOST_ETHERNET_PKT 78
1007#define BLF_OBJTYPE_MOST_150_MESSAGE_FRAGMENT 79
1008#define BLF_OBJTYPE_MOST_150_PKT_FRAGMENT 80
1009#define BLF_OBJTYPE_MOST_ETHERNET_PKT_FRAGMENT 81
1010#define BLF_OBJTYPE_MOST_SYSTEM_EVENT 82
1011#define BLF_OBJTYPE_MOST_150_ALLOCTAB 83
1012#define BLF_OBJTYPE_MOST_50_MESSAGE 84
1013#define BLF_OBJTYPE_MOST_50_PKT 85
1014#define BLF_OBJTYPE_CAN_MESSAGE2 86
1015#define BLF_OBJTYPE_LIN_UNEXPECTED_WAKEUP 87
1016#define BLF_OBJTYPE_LIN_SHORT_OR_SLOW_RESPONSE 88
1017#define BLF_OBJTYPE_LIN_DISTURBANCE_EVENT 89
1018#define BLF_OBJTYPE_SERIAL_EVENT 90
1019#define BLF_OBJTYPE_OVERRUN_ERROR 91
1020#define BLF_OBJTYPE_EVENT_COMMENT 92
1021#define BLF_OBJTYPE_WLAN_FRAME 93
1022#define BLF_OBJTYPE_WLAN_STATISTIC 94
1023#define BLF_OBJTYPE_MOST_ECL 95
1024#define BLF_OBJTYPE_GLOBAL_MARKER 96
1025#define BLF_OBJTYPE_AFDX_FRAME 97
1026#define BLF_OBJTYPE_AFDX_STATISTIC 98
1027#define BLF_OBJTYPE_KLINE_STATUSEVENT 99
1028#define BLF_OBJTYPE_CAN_FD_MESSAGE 100
1029#define BLF_OBJTYPE_CAN_FD_MESSAGE_64 101
1030#define BLF_OBJTYPE_ETHERNET_RX_ERROR 102
1031#define BLF_OBJTYPE_ETHERNET_STATUS 103
1032#define BLF_OBJTYPE_CAN_FD_ERROR_64 104
1033
1034#define BLF_OBJTYPE_AFDX_STATUS 106
1035#define BLF_OBJTYPE_AFDX_BUS_STATISTIC 107
1036
1037#define BLF_OBJTYPE_AFDX_ERROR_EVENT 109
1038#define BLF_OBJTYPE_A429_ERROR 110
1039#define BLF_OBJTYPE_A429_STATUS 111
1040#define BLF_OBJTYPE_A429_BUS_STATISTIC 112
1041#define BLF_OBJTYPE_A429_MESSAGE 113
1042#define BLF_OBJTYPE_ETHERNET_STATISTIC 114
1043#define BLF_OBJTYPE_RESERVED5 115
1044#define BLF_OBJTYPE_RESERVED6 116
1045#define BLF_OBJTYPE_RESERVED7 117
1046#define BLF_OBJTYPE_TEST_STRUCTURE 118
1047#define BLF_OBJTYPE_DIAG_REQUEST_INTERPRETATION 119
1048#define BLF_OBJTYPE_ETHERNET_FRAME_EX 120
1049#define BLF_OBJTYPE_ETHERNET_FRAME_FORWARDED 121
1050#define BLF_OBJTYPE_ETHERNET_ERROR_EX 122
1051#define BLF_OBJTYPE_ETHERNET_ERROR_FORWARDED 123
1052#define BLF_OBJTYPE_FUNCTION_BUS 124
1053#define BLF_OBJTYPE_DATA_LOST_BEGIN 125
1054#define BLF_OBJTYPE_DATA_LOST_END 126
1055#define BLF_OBJTYPE_WATER_MARK_EVENT 127
1056#define BLF_OBJTYPE_TRIGGER_CONDITION 128
1057#define BLF_OBJTYPE_CAN_SETTING_CHANGED 129
1058#define BLF_OBJTYPE_DISTRIBUTED_OBJECT_MEMBER 130
1059#define BLF_OBJTYPE_ATTRIBUTE_EVENT 131
1060#define BLF_OBJTYPE_DISTRIBUTED_OBJECT_CHANGE 132
1061#define BLF_OBJTYPE_ETHERNET_PHY_STATE 133
1062#define BLF_OBJTYPE_MACSEC_STATUS 134
1063
1064#define BLF_OBJTYPE_10BASET1S_STATUS 136
1065#define BLF_OBJTYPE_10BASET1S_STATISTIC 137
1066#define BLF_OBJTYPE_TUNNEL_PROTO_DECODER_EVENT 138
1067#define BLF_OBJTYPE_CAN_XL_CHANNEL_FRAME 139
1068#define BLF_OBJTYPE_CAN_XL_CHANNEL_ERRORFRAME 140
1069
1070
1071#endif
1072
1073/*
1074 * Editor modelines - https://www.wireshark.org/tools/modelines.html
1075 *
1076 * Local variables:
1077 * c-basic-offset: 4
1078 * tab-width: 8
1079 * indent-tabs-mode: nil
1080 * End:
1081 *
1082 * vi: set shiftwidth=4 tabstop=8 expandtab:
1083 * :indentSize=4:tabSize=8:noTabs=true:
1084 */
blf_ethernet_status_t
struct blf_ethernet_status blf_ethernet_status_t
Header for a BLF Ethernet status object reporting the physical link state and configuration of an Eth...
blf_logobjectheader_t
struct blf_logobjectheader blf_logobjectheader_t
Standard log object header (type 1) carrying a single timestamp.
blf_canfdmessage_t
struct blf_canfdmessage blf_canfdmessage_t
Header for a BLF CAN FD message object.
blf_apptext_t
struct blf_apptext blf_apptext_t
Header for a BLF application text object carrying an embedded variable-length string.
blf_ethernet_rxerror_t
struct blf_ethernet_rxerror blf_ethernet_rxerror_t
Header for a BLF Ethernet receive-error event carrying raw frame bytes and error metadata.
blf_date_t
struct blf_date blf_date_t
Represents a date and time value as used in BLF file headers.
blf_ethernetframeheader_ex_t
struct blf_ethernetframeheader_ex blf_ethernetframeheader_ex_t
Extended header for a BLF Ethernet frame object with additional hardware metadata.
blf_ethernetframeheader_t
struct blf_ethernetframeheader blf_ethernetframeheader_t
Header for a BLF Ethernet frame object (legacy format).
blf_wlanframeheader_t
struct blf_wlanframeheader blf_wlanframeheader_t
Header for a BLF WLAN frame object.
blf_linwakeupevent2_t
struct blf_linwakeupevent2 blf_linwakeupevent2_t
Header for a BLF LIN wake-up event object (version 2) with length validation.
blf_ethernet_phystate_t
struct blf_ethernet_phystate blf_ethernet_phystate_t
Header for a BLF Ethernet PHY state event object reporting a physical layer state transition.
blf_open
wtap_open_return_val blf_open(wtap *wth, int *err, char **err_info)
Opens a BLF file.
Definition blf.c:3945
blf_canfderror64_t
struct blf_canfderror64 blf_canfderror64_t
Extended header for a BLF CAN FD error frame object with full diagnostic and timing metadata.
blf_flexrayrcvmessageex_t
struct blf_flexrayrcvmessageex blf_flexrayrcvmessageex_t
Extended header for a BLF FlexRay received message object with frame CRC, duration,...
blf_linsenderror_t
struct blf_linsenderror blf_linsenderror_t
Header for a BLF LIN send error event object (legacy format).
blf_canerrorext_t
struct blf_canerrorext blf_canerrorext_t
Extended header for a BLF CAN error frame object with full error diagnostic metadata.
blf_linsynchfieldevent_t
struct blf_linsynchfieldevent blf_linsynchfieldevent_t
BLF LIN sync field event, extending the base bus event with break and delimiter lengths.
blf_canerror_t
struct blf_canerror blf_canerror_t
Header for a BLF CAN error frame object recording a bus error event.
blf_linbusevent_t
struct blf_linbusevent blf_linbusevent_t
Base event header for BLF LIN bus events, carrying start-of-frame timing and baud rate.
blf_canfdmessage64_t
struct blf_canfdmessage64 blf_canfdmessage64_t
Header for a BLF CAN FD message object with extended 64-bit channel and timing metadata.
blf_flexraymessage_t
struct blf_flexraymessage blf_flexraymessage_t
Header for a BLF FlexRay V6 message object with FPGA timing and frame state metadata.
blf_logobjectheader2_t
struct blf_logobjectheader2 blf_logobjectheader2_t
Extended log object header (type 2) carrying both an object timestamp and an original hardware timest...
blf_linsenderror2_t
struct blf_linsenderror2 blf_linsenderror2_t
Header for a BLF LIN send error event object (version 2).
blf_linwakeupevent_t
struct blf_linwakeupevent blf_linwakeupevent_t
Header for a BLF LIN wake-up event object (legacy format).
blf_flexrayrcvmessage_t
struct blf_flexrayrcvmessage blf_flexrayrcvmessage_t
Header for a BLF FlexRay received message object with dual-channel CRC and cluster metadata.
blf_canmessage_t
struct blf_canmessage blf_canmessage_t
Header for a BLF CAN message or CAN message2 object.
blf_linmessage2_t
struct blf_linmessage2 blf_linmessage2_t
Header for a BLF LIN message object (version 2) with extended timing and event-triggered frame metada...
blf_canmessage2_trailer_t
struct blf_canmessage2_trailer blf_canmessage2_trailer_t
Trailer appended to a BLF CAN message2 object with timing and bit-count metadata.
blf_linrcverror2_t
struct blf_linrcverror2 blf_linrcverror2_t
Header for a BLF LIN receive error event object (version 2).
blf_linsleepmodeevent_t
struct blf_linsleepmodeevent blf_linsleepmodeevent_t
Header for a BLF LIN sleep mode event object recording a bus sleep or wake transition.
blf_lincrcerror2_t
struct blf_lincrcerror2 blf_lincrcerror2_t
Header for a BLF LIN CRC error event object (version 2).
blf_linmessagedescriptor_t
struct blf_linmessagedescriptor blf_linmessagedescriptor_t
BLF LIN message descriptor, extending the sync field event with frame identification and protocol met...
blf_blockheader_t
struct blf_blockheader blf_blockheader_t
Common block header preceding every object in a BLF file.
blf_logcontainerheader_t
struct blf_logcontainerheader blf_logcontainerheader_t
Header for a BLF log container object, which wraps a block of compressed or uncompressed log data.
blf_linmessage_t
struct blf_linmessage blf_linmessage_t
Header for a BLF LIN message object (legacy format) carrying up to 8 data bytes.
blf_flexraydata_t
struct blf_flexraydata blf_flexraydata_t
Header for a BLF FlexRay data object capturing a single FlexRay frame.
blf_fileheader_t
struct blf_fileheader blf_fileheader_t
Top-level file header for a BLF (Binary Logging Format) capture file.
blf_logobjectheader3_t
struct blf_logobjectheader3 blf_logobjectheader3_t
Compact log object header (type 3) carrying a static size field and a single timestamp.
blf_canxlchannelframe_t
struct blf_canxlchannelframe blf_canxlchannelframe_t
Header for a BLF CAN XL channel frame object with full timing, arbitration, and CRC metadata.
blf_lindatabytetimestampevent_t
struct blf_lindatabytetimestampevent blf_lindatabytetimestampevent_t
BLF LIN data byte timestamp event, extending the message descriptor with per-byte arrival timestamps.
blf_linrcverror_t
struct blf_linrcverror blf_linrcverror_t
Header for a BLF LIN receive error event object (legacy format).
blf_apptext
Header for a BLF application text object carrying an embedded variable-length string.
Definition blf.h:844
blf_apptext::reservedAppText1
uint32_t reservedAppText1
Definition blf.h:846
blf_apptext::source
uint32_t source
Definition blf.h:845
blf_apptext::reservedAppText2
uint32_t reservedAppText2
Definition blf.h:848
blf_apptext::textLength
uint32_t textLength
Definition blf.h:847
blf_blockheader
Common block header preceding every object in a BLF file.
Definition blf.h:116
blf_blockheader::object_length
uint32_t object_length
Definition blf.h:120
blf_blockheader::header_type
uint16_t header_type
Definition blf.h:119
blf_blockheader::magic
uint8_t magic[4]
Definition blf.h:117
blf_blockheader::header_length
uint16_t header_length
Definition blf.h:118
blf_blockheader::object_type
uint32_t object_type
Definition blf.h:121
blf_canerror
Header for a BLF CAN error frame object recording a bus error event.
Definition blf.h:339
blf_canerror::channel
uint16_t channel
Definition blf.h:340
blf_canerror::length
uint16_t length
Definition blf.h:341
blf_canerrorext
Extended header for a BLF CAN error frame object with full error diagnostic metadata.
Definition blf.h:365
blf_canerrorext::length
uint16_t length
Definition blf.h:367
blf_canerrorext::flags
uint32_t flags
Definition blf.h:368
blf_canerrorext::ecc
uint8_t ecc
Definition blf.h:369
blf_canerrorext::dlc
uint8_t dlc
Definition blf.h:371
blf_canerrorext::position
uint8_t position
Definition blf.h:370
blf_canerrorext::channel
uint16_t channel
Definition blf.h:366
blf_canerrorext::frameLength_in_ns
uint32_t frameLength_in_ns
Definition blf.h:373
blf_canerrorext::reserved2
uint16_t reserved2
Definition blf.h:376
blf_canerrorext::errorCodeExt
uint16_t errorCodeExt
Definition blf.h:375
blf_canerrorext::id
uint32_t id
Definition blf.h:374
blf_canerrorext::reserved1
uint8_t reserved1
Definition blf.h:372
blf_canfderror64
Extended header for a BLF CAN FD error frame object with full diagnostic and timing metadata.
Definition blf.h:389
blf_canfderror64::errorCodeExt
uint16_t errorCodeExt
Definition blf.h:395
blf_canfderror64::btrCfgData
uint32_t btrCfgData
Definition blf.h:402
blf_canfderror64::dlc
uint8_t dlc
Definition blf.h:391
blf_canfderror64::extFlags
uint16_t extFlags
Definition blf.h:396
blf_canfderror64::reserved2
uint16_t reserved2
Definition blf.h:407
blf_canfderror64::frameLength_in_ns
uint32_t frameLength_in_ns
Definition blf.h:400
blf_canfderror64::btrCfgArb
uint32_t btrCfgArb
Definition blf.h:401
blf_canfderror64::errorPosition
uint16_t errorPosition
Definition blf.h:406
blf_canfderror64::flags
uint16_t flags
Definition blf.h:394
blf_canfderror64::extDataOffset
uint8_t extDataOffset
Definition blf.h:397
blf_canfderror64::channel
uint8_t channel
Definition blf.h:390
blf_canfderror64::id
uint32_t id
Definition blf.h:399
blf_canfderror64::ecc
uint8_t ecc
Definition blf.h:393
blf_canfderror64::reserved1
uint8_t reserved1
Definition blf.h:398
blf_canfderror64::crc
uint32_t crc
Definition blf.h:405
blf_canfderror64::timeOffsetBrsNs
uint32_t timeOffsetBrsNs
Definition blf.h:403
blf_canfderror64::validDataBytes
uint8_t validDataBytes
Definition blf.h:392
blf_canfderror64::timeOffsetCrcDelNs
uint32_t timeOffsetCrcDelNs
Definition blf.h:404
blf_canfdmessage64
Header for a BLF CAN FD message object with extended 64-bit channel and timing metadata.
Definition blf.h:317
blf_canfdmessage64::dlc
uint8_t dlc
Definition blf.h:319
blf_canfdmessage64::btrCfgArb
uint32_t btrCfgArb
Definition blf.h:325
blf_canfdmessage64::dir
uint8_t dir
Definition blf.h:330
blf_canfdmessage64::txCount
uint8_t txCount
Definition blf.h:321
blf_canfdmessage64::flags
uint32_t flags
Definition blf.h:324
blf_canfdmessage64::id
uint32_t id
Definition blf.h:322
blf_canfdmessage64::validDataBytes
uint8_t validDataBytes
Definition blf.h:320
blf_canfdmessage64::bitCount
uint16_t bitCount
Definition blf.h:329
blf_canfdmessage64::crc
uint32_t crc
Definition blf.h:332
blf_canfdmessage64::timeOffsetBrsNs
uint32_t timeOffsetBrsNs
Definition blf.h:327
blf_canfdmessage64::extDataOffset
uint8_t extDataOffset
Definition blf.h:331
blf_canfdmessage64::timeOffsetCrcDelNs
uint32_t timeOffsetCrcDelNs
Definition blf.h:328
blf_canfdmessage64::frameLength_in_ns
uint32_t frameLength_in_ns
Definition blf.h:323
blf_canfdmessage64::channel
uint8_t channel
Definition blf.h:318
blf_canfdmessage64::btrCfgData
uint32_t btrCfgData
Definition blf.h:326
blf_canfdmessage
Header for a BLF CAN FD message object.
Definition blf.h:282
blf_canfdmessage::validDataBytes
uint8_t validDataBytes
Definition blf.h:290
blf_canfdmessage::reservedCanFdMessage1
uint8_t reservedCanFdMessage1
Definition blf.h:291
blf_canfdmessage::arbitration_bit_count
uint8_t arbitration_bit_count
Definition blf.h:288
blf_canfdmessage::channel
uint16_t channel
Definition blf.h:283
blf_canfdmessage::dlc
uint8_t dlc
Definition blf.h:285
blf_canfdmessage::reservedCanFdMessage2
uint32_t reservedCanFdMessage2
Definition blf.h:292
blf_canfdmessage::canfdflags
uint8_t canfdflags
Definition blf.h:289
blf_canfdmessage::flags
uint8_t flags
Definition blf.h:284
blf_canfdmessage::id
uint32_t id
Definition blf.h:286
blf_canfdmessage::frameLength_in_ns
uint32_t frameLength_in_ns
Definition blf.h:287
blf_canmessage2_trailer
Trailer appended to a BLF CAN message2 object with timing and bit-count metadata.
Definition blf.h:267
blf_canmessage2_trailer::reserved1
uint8_t reserved1
Definition blf.h:270
blf_canmessage2_trailer::reserved2
uint16_t reserved2
Definition blf.h:271
blf_canmessage2_trailer::frameLength_in_ns
uint32_t frameLength_in_ns
Definition blf.h:268
blf_canmessage2_trailer::bitCount
uint8_t bitCount
Definition blf.h:269
blf_canmessage
Header for a BLF CAN message or CAN message2 object.
Definition blf.h:256
blf_canmessage::flags
uint8_t flags
Definition blf.h:258
blf_canmessage::channel
uint16_t channel
Definition blf.h:257
blf_canmessage::id
uint32_t id
Definition blf.h:260
blf_canmessage::dlc
uint8_t dlc
Definition blf.h:259
blf_canxlchannelframe
Header for a BLF CAN XL channel frame object with full timing, arbitration, and CRC metadata.
Definition blf.h:425
blf_canxlchannelframe::stuffCount
uint8_t stuffCount
Definition blf.h:447
blf_canxlchannelframe::xlPhaseHwChannelSettings
uint64_t xlPhaseHwChannelSettings
Definition blf.h:463
blf_canxlchannelframe::arbitrationDataHwChannelSettings
uint64_t arbitrationDataHwChannelSettings
Definition blf.h:459
blf_canxlchannelframe::res6
uint16_t res6
Definition blf.h:449
blf_canxlchannelframe::dir
uint8_t dir
Definition blf.h:428
blf_canxlchannelframe::serviceDataUnitType
uint8_t serviceDataUnitType
Definition blf.h:436
blf_canxlchannelframe::acceptanceField
uint32_t acceptanceField
Definition blf.h:445
blf_canxlchannelframe::arbitrationDataBitTimingConfig
uint64_t arbitrationDataBitTimingConfig
Definition blf.h:458
blf_canxlchannelframe::xlPhaseBitTimingConfig
uint64_t xlPhaseBitTimingConfig
Definition blf.h:462
blf_canxlchannelframe::res1
uint8_t res1
Definition blf.h:429
blf_canxlchannelframe::bitCount
uint16_t bitCount
Definition blf.h:432
blf_canxlchannelframe::dlc
uint16_t dlc
Definition blf.h:438
blf_canxlchannelframe::res2
uint16_t res2
Definition blf.h:433
blf_canxlchannelframe::tx_count
uint8_t tx_count
Definition blf.h:427
blf_canxlchannelframe::fdPhaseHwChannelSettings
uint64_t fdPhaseHwChannelSettings
Definition blf.h:461
blf_canxlchannelframe::virtualControllerAreaNetChannelID
uint8_t virtualControllerAreaNetChannelID
Definition blf.h:443
blf_canxlchannelframe::reserved
uint32_t reserved
Definition blf.h:456
blf_canxlchannelframe::crc
uint32_t crc
Definition blf.h:450
blf_canxlchannelframe::channel
uint8_t channel
Definition blf.h:426
blf_canxlchannelframe::frameIdentifier
uint32_t frameIdentifier
Definition blf.h:434
blf_canxlchannelframe::dataLength
uint16_t dataLength
Definition blf.h:439
blf_canxlchannelframe::timeOffsetBrsNs
uint32_t timeOffsetBrsNs
Definition blf.h:452
blf_canxlchannelframe::flags
uint32_t flags
Definition blf.h:455
blf_canxlchannelframe::fdPhaseBitTimingConfig
uint64_t fdPhaseBitTimingConfig
Definition blf.h:460
blf_canxlchannelframe::stuffBitCount
uint16_t stuffBitCount
Definition blf.h:440
blf_canxlchannelframe::res4
uint8_t res4
Definition blf.h:444
blf_canxlchannelframe::frameLength_in_ns
uint32_t frameLength_in_ns
Definition blf.h:430
blf_canxlchannelframe::prefaceCRC
uint16_t prefaceCRC
Definition blf.h:442
blf_canxlchannelframe::res3
uint8_t res3
Definition blf.h:437
blf_canxlchannelframe::res5
uint8_t res5
Definition blf.h:448
blf_canxlchannelframe::timeOffsetCrcDelNs
uint32_t timeOffsetCrcDelNs
Definition blf.h:453
blf_date
Represents a date and time value as used in BLF file headers.
Definition blf.h:79
blf_date::ms
uint16_t ms
Definition blf.h:87
blf_date::dayofweek
uint16_t dayofweek
Definition blf.h:82
blf_date::day
uint16_t day
Definition blf.h:83
blf_date::month
uint16_t month
Definition blf.h:81
blf_date::mins
uint16_t mins
Definition blf.h:85
blf_date::hour
uint16_t hour
Definition blf.h:84
blf_date::sec
uint16_t sec
Definition blf.h:86
blf_date::year
uint16_t year
Definition blf.h:80
blf_ethernet_phystate
Header for a BLF Ethernet PHY state event object reporting a physical layer state transition.
Definition blf.h:915
blf_ethernet_phystate::phyState
uint8_t phyState
Definition blf.h:918
blf_ethernet_phystate::flags
uint16_t flags
Definition blf.h:917
blf_ethernet_phystate::channel
uint16_t channel
Definition blf.h:916
blf_ethernet_phystate::phyEvent
uint8_t phyEvent
Definition blf.h:919
blf_ethernet_phystate::res1
uint8_t res1
Definition blf.h:921
blf_ethernet_phystate::hardwareChannel
uint8_t hardwareChannel
Definition blf.h:920
blf_ethernet_rxerror
Header for a BLF Ethernet receive-error event carrying raw frame bytes and error metadata.
Definition blf.h:221
blf_ethernet_rxerror::frame_checksum
uint32_t frame_checksum
Definition blf.h:226
blf_ethernet_rxerror::error
uint32_t error
Definition blf.h:228
blf_ethernet_rxerror::hw_channel
uint16_t hw_channel
Definition blf.h:225
blf_ethernet_rxerror::channel
uint16_t channel
Definition blf.h:223
blf_ethernet_rxerror::direction
uint16_t direction
Definition blf.h:224
blf_ethernet_rxerror::struct_length
uint16_t struct_length
Definition blf.h:222
blf_ethernet_rxerror::frame_length
uint16_t frame_length
Definition blf.h:227
blf_ethernet_status
Header for a BLF Ethernet status object reporting the physical link state and configuration of an Eth...
Definition blf.h:885
blf_ethernet_status::ethernetPhy
uint8_t ethernetPhy
Definition blf.h:889
blf_ethernet_status::bitrate
uint32_t bitrate
Definition blf.h:896
blf_ethernet_status::duplex
uint8_t duplex
Definition blf.h:890
blf_ethernet_status::pairs
uint8_t pairs
Definition blf.h:894
blf_ethernet_status::clockMode
uint8_t clockMode
Definition blf.h:893
blf_ethernet_status::mdi
uint8_t mdi
Definition blf.h:891
blf_ethernet_status::channel
uint16_t channel
Definition blf.h:886
blf_ethernet_status::connector
uint8_t connector
Definition blf.h:892
blf_ethernet_status::linkStatus
uint8_t linkStatus
Definition blf.h:888
blf_ethernet_status::hardwareChannel
uint8_t hardwareChannel
Definition blf.h:895
blf_ethernet_status::flags
uint16_t flags
Definition blf.h:887
blf_ethernetframeheader_ex
Extended header for a BLF Ethernet frame object with additional hardware metadata.
Definition blf.h:200
blf_ethernetframeheader_ex::frame_checksum
uint32_t frame_checksum
Definition blf.h:206
blf_ethernetframeheader_ex::channel
uint16_t channel
Definition blf.h:203
blf_ethernetframeheader_ex::direction
uint16_t direction
Definition blf.h:207
blf_ethernetframeheader_ex::error
uint32_t error
Definition blf.h:210
blf_ethernetframeheader_ex::hw_channel
uint16_t hw_channel
Definition blf.h:204
blf_ethernetframeheader_ex::frame_handle
uint32_t frame_handle
Definition blf.h:209
blf_ethernetframeheader_ex::frame_length
uint16_t frame_length
Definition blf.h:208
blf_ethernetframeheader_ex::struct_length
uint16_t struct_length
Definition blf.h:201
blf_ethernetframeheader_ex::flags
uint16_t flags
Definition blf.h:202
blf_ethernetframeheader_ex::frame_duration
uint64_t frame_duration
Definition blf.h:205
blf_ethernetframeheader
Header for a BLF Ethernet frame object (legacy format).
Definition blf.h:185
blf_ethernetframeheader::direction
uint16_t direction
Definition blf.h:189
blf_ethernetframeheader::dst_addr
uint8_t dst_addr[6]
Definition blf.h:188
blf_ethernetframeheader::tpid
uint16_t tpid
Definition blf.h:191
blf_ethernetframeheader::channel
uint16_t channel
Definition blf.h:187
blf_ethernetframeheader::src_addr
uint8_t src_addr[6]
Definition blf.h:186
blf_ethernetframeheader::tci
uint16_t tci
Definition blf.h:192
blf_ethernetframeheader::ethtype
uint16_t ethtype
Definition blf.h:190
blf_ethernetframeheader::res
uint64_t res
Definition blf.h:194
blf_ethernetframeheader::payloadlength
uint16_t payloadlength
Definition blf.h:193
blf_fileheader
Top-level file header for a BLF (Binary Logging Format) capture file.
Definition blf.h:94
blf_fileheader::restore_point_offset
uint32_t restore_point_offset
Definition blf.h:108
blf_fileheader::obj_count
uint32_t obj_count
Definition blf.h:104
blf_fileheader::header_length
uint32_t header_length
Definition blf.h:96
blf_fileheader::end_date
blf_date_t end_date
Definition blf.h:107
blf_fileheader::len_uncompressed
uint64_t len_uncompressed
Definition blf.h:103
blf_fileheader::application_major
uint8_t application_major
Definition blf.h:100
blf_fileheader::magic
uint8_t magic[4]
Definition blf.h:95
blf_fileheader::api_version
uint32_t api_version
Definition blf.h:97
blf_fileheader::compression_level
uint8_t compression_level
Definition blf.h:99
blf_fileheader::application_build
uint32_t application_build
Definition blf.h:105
blf_fileheader::start_date
blf_date_t start_date
Definition blf.h:106
blf_fileheader::application_minor
uint8_t application_minor
Definition blf.h:101
blf_fileheader::application
uint8_t application
Definition blf.h:98
blf_fileheader::padding
uint8_t padding[]
Definition blf.h:109
blf_fileheader::len_compressed
uint64_t len_compressed
Definition blf.h:102
blf_flexraydata
Header for a BLF FlexRay data object capturing a single FlexRay frame.
Definition blf.h:474
blf_flexraydata::channel
uint16_t channel
Definition blf.h:475
blf_flexraydata::dir
uint8_t dir
Definition blf.h:480
blf_flexraydata::mux
uint8_t mux
Definition blf.h:476
blf_flexraydata::len
uint8_t len
Definition blf.h:477
blf_flexraydata::crc
uint16_t crc
Definition blf.h:479
blf_flexraydata::messageId
uint16_t messageId
Definition blf.h:478
blf_flexraydata::reservedFlexRayData2
uint16_t reservedFlexRayData2
Definition blf.h:482
blf_flexraydata::reservedFlexRayData1
uint8_t reservedFlexRayData1
Definition blf.h:481
blf_flexraymessage
Header for a BLF FlexRay V6 message object with FPGA timing and frame state metadata.
Definition blf.h:511
blf_flexraymessage::fpgaTick
uint32_t fpgaTick
Definition blf.h:515
blf_flexraymessage::length
uint8_t length
Definition blf.h:522
blf_flexraymessage::clientIndexFlexRayV6Message
uint32_t clientIndexFlexRayV6Message
Definition blf.h:517
blf_flexraymessage::reservedFlexRayV6Message2
uint16_t reservedFlexRayV6Message2
Definition blf.h:526
blf_flexraymessage::frameId
uint16_t frameId
Definition blf.h:519
blf_flexraymessage::reservedFlexRayV6Message1
uint8_t reservedFlexRayV6Message1
Definition blf.h:525
blf_flexraymessage::frameState
uint16_t frameState
Definition blf.h:521
blf_flexraymessage::lowTime
uint8_t lowTime
Definition blf.h:514
blf_flexraymessage::fpgaTickOverflow
uint32_t fpgaTickOverflow
Definition blf.h:516
blf_flexraymessage::dir
uint8_t dir
Definition blf.h:513
blf_flexraymessage::headerBitMask
uint8_t headerBitMask
Definition blf.h:524
blf_flexraymessage::channel
uint16_t channel
Definition blf.h:512
blf_flexraymessage::cycle
uint8_t cycle
Definition blf.h:523
blf_flexraymessage::headerCrc
uint16_t headerCrc
Definition blf.h:520
blf_flexraymessage::clusterTime
uint32_t clusterTime
Definition blf.h:518
blf_flexrayrcvmessage
Header for a BLF FlexRay received message object with dual-channel CRC and cluster metadata.
Definition blf.h:553
blf_flexrayrcvmessage::clientIndex
uint32_t clientIndex
Definition blf.h:558
blf_flexrayrcvmessage::frameId
uint16_t frameId
Definition blf.h:560
blf_flexrayrcvmessage::dir
uint16_t dir
Definition blf.h:557
blf_flexrayrcvmessage::version
uint16_t version
Definition blf.h:555
blf_flexrayrcvmessage::cycle
uint16_t cycle
Definition blf.h:565
blf_flexrayrcvmessage::appParameter
uint32_t appParameter
Definition blf.h:569
blf_flexrayrcvmessage::data
uint32_t data
Definition blf.h:567
blf_flexrayrcvmessage::payloadLength
uint16_t payloadLength
Definition blf.h:563
blf_flexrayrcvmessage::tag
uint32_t tag
Definition blf.h:566
blf_flexrayrcvmessage::channel
uint16_t channel
Definition blf.h:554
blf_flexrayrcvmessage::headerCrc2
uint16_t headerCrc2
Definition blf.h:562
blf_flexrayrcvmessage::channelMask
uint16_t channelMask
Definition blf.h:556
blf_flexrayrcvmessage::payloadLengthValid
uint16_t payloadLengthValid
Definition blf.h:564
blf_flexrayrcvmessage::headerCrc1
uint16_t headerCrc1
Definition blf.h:561
blf_flexrayrcvmessage::frameFlags
uint32_t frameFlags
Definition blf.h:568
blf_flexrayrcvmessage::clusterNo
uint32_t clusterNo
Definition blf.h:559
blf_flexrayrcvmessageex
Extended header for a BLF FlexRay received message object with frame CRC, duration,...
Definition blf.h:584
blf_flexrayrcvmessageex::res7
uint32_t res7
Definition blf.h:612
blf_flexrayrcvmessageex::appParameter
uint32_t appParameter
Definition blf.h:600
blf_flexrayrcvmessageex::blfLogMask
uint16_t blfLogMask
Definition blf.h:605
blf_flexrayrcvmessageex::data
uint32_t data
Definition blf.h:598
blf_flexrayrcvmessageex::clientIndex
uint32_t clientIndex
Definition blf.h:589
blf_flexrayrcvmessageex::frameLengthInNs
uint32_t frameLengthInNs
Definition blf.h:602
blf_flexrayrcvmessageex::res5
uint32_t res5
Definition blf.h:610
blf_flexrayrcvmessageex::res6
uint32_t res6
Definition blf.h:611
blf_flexrayrcvmessageex::cycle
uint16_t cycle
Definition blf.h:596
blf_flexrayrcvmessageex::res4
uint32_t res4
Definition blf.h:609
blf_flexrayrcvmessageex::frameId
uint16_t frameId
Definition blf.h:591
blf_flexrayrcvmessageex::tag
uint32_t tag
Definition blf.h:597
blf_flexrayrcvmessageex::res1
uint16_t res1
Definition blf.h:606
blf_flexrayrcvmessageex::res3
uint32_t res3
Definition blf.h:608
blf_flexrayrcvmessageex::clusterNo
uint32_t clusterNo
Definition blf.h:590
blf_flexrayrcvmessageex::frameId1
uint16_t frameId1
Definition blf.h:603
blf_flexrayrcvmessageex::dir
uint16_t dir
Definition blf.h:588
blf_flexrayrcvmessageex::frameFlags
uint32_t frameFlags
Definition blf.h:599
blf_flexrayrcvmessageex::headerCrc2
uint16_t headerCrc2
Definition blf.h:593
blf_flexrayrcvmessageex::frameCRC
uint32_t frameCRC
Definition blf.h:601
blf_flexrayrcvmessageex::channel
uint16_t channel
Definition blf.h:585
blf_flexrayrcvmessageex::res2
uint32_t res2
Definition blf.h:607
blf_flexrayrcvmessageex::payloadLength
uint16_t payloadLength
Definition blf.h:594
blf_flexrayrcvmessageex::pduOffset
uint16_t pduOffset
Definition blf.h:604
blf_flexrayrcvmessageex::channelMask
uint16_t channelMask
Definition blf.h:587
blf_flexrayrcvmessageex::headerCrc1
uint16_t headerCrc1
Definition blf.h:592
blf_flexrayrcvmessageex::version
uint16_t version
Definition blf.h:586
blf_flexrayrcvmessageex::payloadLengthValid
uint16_t payloadLengthValid
Definition blf.h:595
blf_linbusevent
Base event header for BLF LIN bus events, carrying start-of-frame timing and baud rate.
Definition blf.h:683
blf_linbusevent::channel
uint16_t channel
Definition blf.h:686
blf_linbusevent::sof
uint64_t sof
Definition blf.h:684
blf_linbusevent::res1
uint8_t res1[2]
Definition blf.h:687
blf_linbusevent::eventBaudrate
uint32_t eventBaudrate
Definition blf.h:685
blf_lincrcerror2
Header for a BLF LIN CRC error event object (version 2).
Definition blf.h:750
blf_lincrcerror2::simulated
uint8_t simulated
Definition blf.h:757
blf_lincrcerror2::crc
uint16_t crc
Definition blf.h:753
blf_lincrcerror2::fsmState
uint8_t fsmState
Definition blf.h:756
blf_lincrcerror2::linDataByteTimestampEvent
blf_lindatabytetimestampevent_t linDataByteTimestampEvent
Definition blf.h:751
blf_lincrcerror2::dir
uint8_t dir
Definition blf.h:754
blf_lincrcerror2::fsmId
uint8_t fsmId
Definition blf.h:755
blf_lincrcerror2::res1
uint8_t res1[2]
Definition blf.h:758
blf_lincrcerror2::data
uint8_t data[8]
Definition blf.h:752
blf_lindatabytetimestampevent
BLF LIN data byte timestamp event, extending the message descriptor with per-byte arrival timestamps.
Definition blf.h:718
blf_lindatabytetimestampevent::databyteTimestamps
uint64_t databyteTimestamps[9]
Definition blf.h:720
blf_lindatabytetimestampevent::linMessageDescriptor
blf_linmessagedescriptor_t linMessageDescriptor
Definition blf.h:719
blf_linmessage2
Header for a BLF LIN message object (version 2) with extended timing and event-triggered frame metada...
Definition blf.h:727
blf_linmessage2::fsmState
uint8_t fsmState
Definition blf.h:737
blf_linmessage2::dir
uint8_t dir
Definition blf.h:731
blf_linmessage2::linDataByteTimestampEvent
blf_lindatabytetimestampevent_t linDataByteTimestampEvent
Definition blf.h:728
blf_linmessage2::crc
uint16_t crc
Definition blf.h:730
blf_linmessage2::fsmId
uint8_t fsmId
Definition blf.h:736
blf_linmessage2::eftAssocEftId
uint8_t eftAssocEftId
Definition blf.h:735
blf_linmessage2::res1
uint8_t res1[3]
Definition blf.h:738
blf_linmessage2::eftAssocIndex
uint8_t eftAssocIndex
Definition blf.h:734
blf_linmessage2::data
uint8_t data[8]
Definition blf.h:729
blf_linmessage2::isEtf
uint8_t isEtf
Definition blf.h:733
blf_linmessage2::simulated
uint8_t simulated
Definition blf.h:732
blf_linmessage
Header for a BLF LIN message object (legacy format) carrying up to 8 data bytes.
Definition blf.h:622
blf_linmessage::fsmId
uint8_t fsmId
Definition blf.h:627
blf_linmessage::id
uint8_t id
Definition blf.h:624
blf_linmessage::res1
uint8_t res1
Definition blf.h:633
blf_linmessage::data
uint8_t data[8]
Definition blf.h:626
blf_linmessage::crc
uint16_t crc
Definition blf.h:631
blf_linmessage::fullTime
uint8_t fullTime
Definition blf.h:630
blf_linmessage::dlc
uint8_t dlc
Definition blf.h:625
blf_linmessage::dir
uint8_t dir
Definition blf.h:632
blf_linmessage::headerTime
uint8_t headerTime
Definition blf.h:629
blf_linmessage::fsmState
uint8_t fsmState
Definition blf.h:628
blf_linmessage::channel
uint16_t channel
Definition blf.h:623
blf_linmessagedescriptor
BLF LIN message descriptor, extending the sync field event with frame identification and protocol met...
Definition blf.h:704
blf_linmessagedescriptor::linSynchFieldEvent
blf_linsynchfieldevent_t linSynchFieldEvent
Definition blf.h:705
blf_linmessagedescriptor::id
uint8_t id
Definition blf.h:709
blf_linmessagedescriptor::checksumModel
uint8_t checksumModel
Definition blf.h:711
blf_linmessagedescriptor::supplierId
uint16_t supplierId
Definition blf.h:706
blf_linmessagedescriptor::dlc
uint8_t dlc
Definition blf.h:710
blf_linmessagedescriptor::configuredNodeAddress
uint8_t configuredNodeAddress
Definition blf.h:708
blf_linmessagedescriptor::messageId
uint16_t messageId
Definition blf.h:707
blf_linrcverror2
Header for a BLF LIN receive error event object (version 2).
Definition blf.h:771
blf_linrcverror2::fsmId
uint8_t fsmId
Definition blf.h:774
blf_linrcverror2::isEtf
uint8_t isEtf
Definition blf.h:780
blf_linrcverror2::linDataByteTimestampEvent
blf_lindatabytetimestampevent_t linDataByteTimestampEvent
Definition blf.h:772
blf_linrcverror2::shortError
uint8_t shortError
Definition blf.h:778
blf_linrcverror2::data
uint8_t data[8]
Definition blf.h:773
blf_linrcverror2::fsmState
uint8_t fsmState
Definition blf.h:775
blf_linrcverror2::timeoutDuringDlcDetection
uint8_t timeoutDuringDlcDetection
Definition blf.h:779
blf_linrcverror2::hasDataBytes
uint8_t hasDataBytes
Definition blf.h:781
blf_linrcverror2::stateReason
uint8_t stateReason
Definition blf.h:776
blf_linrcverror2::offendingByte
uint8_t offendingByte
Definition blf.h:777
blf_linrcverror
Header for a BLF LIN receive error event object (legacy format).
Definition blf.h:641
blf_linrcverror::id
uint8_t id
Definition blf.h:643
blf_linrcverror::channel
uint16_t channel
Definition blf.h:642
blf_linrcverror::fullTime
uint8_t fullTime
Definition blf.h:648
blf_linrcverror::shortError
uint8_t shortError
Definition blf.h:651
blf_linrcverror::headerTime
uint8_t headerTime
Definition blf.h:647
blf_linrcverror::offendingByte
uint8_t offendingByte
Definition blf.h:650
blf_linrcverror::fsmId
uint8_t fsmId
Definition blf.h:645
blf_linrcverror::dlc
uint8_t dlc
Definition blf.h:644
blf_linrcverror::stateReason
uint8_t stateReason
Definition blf.h:649
blf_linrcverror::fsmState
uint8_t fsmState
Definition blf.h:646
blf_linrcverror::timeoutDuringDlcDetection
uint8_t timeoutDuringDlcDetection
Definition blf.h:652
blf_linsenderror2
Header for a BLF LIN send error event object (version 2).
Definition blf.h:794
blf_linsenderror2::eoh
uint64_t eoh
Definition blf.h:796
blf_linsenderror2::res1
uint8_t res1
Definition blf.h:800
blf_linsenderror2::linMessageDescriptor
blf_linmessagedescriptor_t linMessageDescriptor
Definition blf.h:795
blf_linsenderror2::isEtf
uint8_t isEtf
Definition blf.h:797
blf_linsenderror2::fsmState
uint8_t fsmState
Definition blf.h:799
blf_linsenderror2::fsmId
uint8_t fsmId
Definition blf.h:798
blf_linsenderror
Header for a BLF LIN send error event object (legacy format).
Definition blf.h:659
blf_linsenderror::channel
uint16_t channel
Definition blf.h:660
blf_linsenderror::id
uint8_t id
Definition blf.h:661
blf_linsenderror::dlc
uint8_t dlc
Definition blf.h:662
blf_linsenderror::fsmId
uint8_t fsmId
Definition blf.h:663
blf_linsenderror::fsmState
uint8_t fsmState
Definition blf.h:664
blf_linsenderror::headerTime
uint8_t headerTime
Definition blf.h:665
blf_linsenderror::fullTime
uint8_t fullTime
Definition blf.h:666
blf_linsleepmodeevent
Header for a BLF LIN sleep mode event object recording a bus sleep or wake transition.
Definition blf.h:823
blf_linsleepmodeevent::channel
uint16_t channel
Definition blf.h:824
blf_linsleepmodeevent::reason
uint8_t reason
Definition blf.h:825
blf_linsleepmodeevent::flags
uint8_t flags
Definition blf.h:826
blf_linsynchfieldevent
BLF LIN sync field event, extending the base bus event with break and delimiter lengths.
Definition blf.h:694
blf_linsynchfieldevent::linBusEvent
blf_linbusevent_t linBusEvent
Definition blf.h:695
blf_linsynchfieldevent::synchDelLength
uint64_t synchDelLength
Definition blf.h:697
blf_linsynchfieldevent::synchBreakLength
uint64_t synchBreakLength
Definition blf.h:696
blf_linwakeupevent2
Header for a BLF LIN wake-up event object (version 2) with length validation.
Definition blf.h:811
blf_linwakeupevent2::lengthInfo
uint8_t lengthInfo
Definition blf.h:813
blf_linwakeupevent2::linBusEvent
blf_linbusevent_t linBusEvent
Definition blf.h:812
blf_linwakeupevent2::external
uint8_t external
Definition blf.h:815
blf_linwakeupevent2::signal
uint8_t signal
Definition blf.h:814
blf_linwakeupevent2::res
uint8_t res
Definition blf.h:816
blf_linwakeupevent
Header for a BLF LIN wake-up event object (legacy format).
Definition blf.h:673
blf_linwakeupevent::external
uint8_t external
Definition blf.h:676
blf_linwakeupevent::channel
uint16_t channel
Definition blf.h:674
blf_linwakeupevent::signal
uint8_t signal
Definition blf.h:675
blf_logcontainerheader
Header for a BLF log container object, which wraps a block of compressed or uncompressed log data.
Definition blf.h:128
blf_logcontainerheader::res2
uint32_t res2
Definition blf.h:131
blf_logcontainerheader::uncompressed_size
uint32_t uncompressed_size
Definition blf.h:132
blf_logcontainerheader::res1
uint16_t res1
Definition blf.h:130
blf_logcontainerheader::compression_method
uint16_t compression_method
Definition blf.h:129
blf_logcontainerheader::res4
uint32_t res4
Definition blf.h:133
blf_logobjectheader2
Extended log object header (type 2) carrying both an object timestamp and an original hardware timest...
Definition blf.h:156
blf_logobjectheader2::object_timestamp
uint64_t object_timestamp
Definition blf.h:161
blf_logobjectheader2::original_timestamp
uint64_t original_timestamp
Definition blf.h:162
blf_logobjectheader2::res1
uint8_t res1
Definition blf.h:159
blf_logobjectheader2::timestamp_status
uint8_t timestamp_status
Definition blf.h:158
blf_logobjectheader2::object_version
uint16_t object_version
Definition blf.h:160
blf_logobjectheader2::flags
uint32_t flags
Definition blf.h:157
blf_logobjectheader3
Compact log object header (type 3) carrying a static size field and a single timestamp.
Definition blf.h:169
blf_logobjectheader3::object_version
uint16_t object_version
Definition blf.h:172
blf_logobjectheader3::static_size
uint16_t static_size
Definition blf.h:171
blf_logobjectheader3::object_timestamp
uint64_t object_timestamp
Definition blf.h:173
blf_logobjectheader3::flags
uint32_t flags
Definition blf.h:170
blf_logobjectheader
Standard log object header (type 1) carrying a single timestamp.
Definition blf.h:140
blf_logobjectheader::flags
uint32_t flags
Definition blf.h:141
blf_logobjectheader::object_version
uint16_t object_version
Definition blf.h:143
blf_logobjectheader::object_timestamp
uint64_t object_timestamp
Definition blf.h:144
blf_logobjectheader::client_index
uint16_t client_index
Definition blf.h:142
blf_wlanframeheader
Header for a BLF WLAN frame object.
Definition blf.h:235
blf_wlanframeheader::signal_quality
uint16_t signal_quality
Definition blf.h:241
blf_wlanframeheader::flags
uint16_t flags
Definition blf.h:237
blf_wlanframeheader::direction
uint8_t direction
Definition blf.h:238
blf_wlanframeheader::res
uint32_t res
Definition blf.h:243
blf_wlanframeheader::channel
uint16_t channel
Definition blf.h:236
blf_wlanframeheader::frame_length
uint16_t frame_length
Definition blf.h:242
blf_wlanframeheader::signal_strength
uint16_t signal_strength
Definition blf.h:240
blf_wlanframeheader::radio_channel
uint8_t radio_channel
Definition blf.h:239
wtap
Definition wtap_module.h:58
wtap.h
wtap_open_return_val
wtap_open_return_val
For registering file types that we can open.
Definition wtap.h:1852