| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
wtap_can_msg_t Struct Reference

Represents a single captured CAN or CAN FD message with full metadata. More...

`#include <socketcan.h>`

## Public Attributes
nstime_t | ts
uint32_t | id
wtap_can_msg_type_t | type
uint8_t | flags
wtap_can_msg_data_t | data
unsigned int | interface_id

## Detailed Description

Represents a single captured CAN or CAN FD message with full metadata.

## Member Data Documentation

## ◆ data

wtap_can_msg_data_t wtap_can_msg_t::data

Message payload and its length

## ◆ flags

uint8_t wtap_can_msg_t::flags

Protocol-specific flags (e.g. BRS, ESI for CAN FD)

## ◆ id

uint32_t wtap_can_msg_t::id

CAN message identifier (11-bit or 29-bit depending on `type`)

## ◆ interface_id

unsigned int wtap_can_msg_t::interface_id

Index of the capture interface this message was received on

## ◆ ts

nstime_t wtap_can_msg_t::ts

Capture timestamp of the message

## ◆ type

wtap_can_msg_type_t wtap_can_msg_t::type

Frame type and addressing mode (see wtap_can_msg_type_t)

The documentation for this struct was generated from the following file:

- /builds/wireshark/wireshark/wiretap/socketcan.h