IPC@CHIP® RTOS-LNX – API Documentation
This is the data type of the filter parameter of canSetFilter(). It is a dummy type. In fact the function canSetFilter() expects a controller-specific filter data type. Those specific filter data types are named CanFilter* (e.g. CanFilterSW for the Software CAN filter). The CanFilter data type holds those fields that all of the controller-specific filter data types have in common. The function canSetFilter() will use these common fields to determine which filter data structure has been actually passed.
This mechanism is necessary, because each CAN controller features a different set of acceptance filters. To still keep the CAN API as hardware-independent as possible, the function canSetFilter() must be able to distinguish between several filter types.