Hi.
This question exists both in MPC5777C MCAL4.0 or MCAL4.3.
When I want to check the received Eth frames, I used to check them in function EthIf_RxIndication. But this way is kind of weird. EthIf_RxIndication is defined in Ethif_Cbk.c which is a source file of MCAL drivers. That means I have to add my codes in Eclipse plugin codes, which is a bad way for porting.
Compared with the CAN module, similar functions like CanIf_RxIndication are only declared in Canif_Cbk.h using extern and there isn't a Canif_Cbk.c in MCAL drivers to define them either. So I can implement CanIf_RxIndication in my file and also check received CAN frames there.
So what is a better way to check received Eth frames using MCAL drivers?