Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
socketcan_filter Struct Reference

CAN filter for Linux SocketCAN compatibility. More...

#include <socketcan.h>

Data Fields

socketcan_id_t can_id
 The CAN identifier to match.
 
socketcan_id_t can_mask
 The mask applied to can_id for matching.
 
uint8_t flags
 Additional flags for FD frame filter.
 

Detailed Description

CAN filter for Linux SocketCAN compatibility.

A filter is considered a match when received_can_id & mask == can_id & can_mask.

Field Documentation

◆ can_id

socketcan_id_t socketcan_filter::can_id

The CAN identifier to match.

◆ can_mask

socketcan_id_t socketcan_filter::can_mask

The mask applied to can_id for matching.

◆ flags

uint8_t socketcan_filter::flags

Additional flags for FD frame filter.


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