can-eth-gw-utils Utilities  0.1
A bidirectional CAN to Ethernet Gateway (Utilities)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
can_filter Struct Reference

#include <can.h>

Collaboration diagram for can_filter:
Collaboration graph

Data Fields

canid_t can_id
 
canid_t can_mask
 

Detailed Description

struct can_filter - CAN ID based filter in can_register(). : relevant bits of CAN ID which are not masked out. : CAN mask (see description)

Description: A filter matches, when

     <received_can_id> & mask == can_id & mask

The filter can be inverted (CAN_INV_FILTER bit set in can_id) or it can filter for error message frames (CAN_ERR_FLAG bit set in mask).

Definition at line 155 of file can.h.

Field Documentation

canid_t can_id

Definition at line 156 of file can.h.

canid_t can_mask

Definition at line 157 of file can.h.


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