85#ifndef ETH_VIRTMAC_H__
86#define ETH_VIRTMAC_H__
110#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
147FUNC(Std_ReturnType, ETH_CODE)
151#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
189FUNC(Std_ReturnType, ETH_CODE)
193#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
221FUNC(Std_ReturnType, ETH_CODE)
225#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_NOTIFYMSGRECEIVED_API))
261FUNC(Std_ReturnType, ETH_CODE)
265#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_SUBSCRIBEALLTRAFFIC_API))
313FUNC(Std_ReturnType, ETH_CODE)
317#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_UNSUBSCRIBEALLTRAFFIC_API))
368FUNC(Std_ReturnType, ETH_CODE)
372#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_SUBSCRIBEDSTMAC_API))
428FUNC(Std_ReturnType, ETH_CODE)
432#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_UNSUBSCRIBEDSTMAC_API))
488FUNC(Std_ReturnType, ETH_CODE)
492#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_ASSOCIATEIPV4MACADDR_API))
543FUNC(Std_ReturnType, ETH_CODE)
548#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_DISASSOCIATEIPV4MACADDR_API))
596FUNC(Std_ReturnType, ETH_CODE)
600#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_ADD_MCAST_MACADDR_API))
651FUNC(Std_ReturnType, ETH_CODE)
655#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_DEL_MACADDR_API))
702FUNC(Std_ReturnType, ETH_CODE)
706#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_ADD_VLAN_API))
749FUNC(Std_ReturnType, ETH_CODE)
753#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_DEL_VLAN_API))
794FUNC(Std_ReturnType, ETH_CODE)
798#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
821FUNC(Std_ReturnType, ETH_CODE)
825#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
851#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
873FUNC(Std_ReturnType, ETH_CODE)
877#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
900FUNC(Std_ReturnType, ETH_CODE)
904#if (STD_ON == ETH_VIRTUALMAC_SUPPORT)
927FUNC(Std_ReturnType, ETH_CODE)
932#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_INTERCORE_ENABLE))
967FUNC(BufReq_ReturnType, ETH_CODE)
970 P2VAR(Eth_BufIdxType, AUTOMATIC, ETH_APPL_DAT) BufIdxPtr,
971 P2VAR(uint8, AUTOMATIC, ETH_APPL_DAT) *BufPtr,
972 P2VAR(uint16, AUTOMATIC, ETH_APPL_DAT) LenBytePtr);
975#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_INTERCORE_ENABLE))
1010FUNC(Std_ReturnType, ETH_CODE)
1012 Eth_BufIdxType BufIdx,
1013 Eth_FrameType FrameType,
1014 boolean TxConfirmation,
1016 P2CONST(uint8, AUTOMATIC, ETH_APPL_DAT) PhysAddrPtr);
1019#if ((STD_ON == ETH_VIRTUALMAC_SUPPORT) && (STD_ON == ETH_VIRTUALMAC_INTERCORE_ENABLE))
1048 P2VAR(Eth_RxStatusType, AUTOMATIC, ETH_APPL_DAT) RxStatusPtr);
This file contains generated configuration for ETH MCAL driver.
struct Eth_ConfigType_s Eth_ConfigType
Eth configuration type Configuration data of all controller.
Definition Eth_Cfg.h:720
Std_ReturnType Eth_VirtmacGetLinkDuplexity(uint8 ctrlIdx, uint32 *linkDuplexityPtr)
Std_ReturnType Eth_DispatchVirtmacUnsubscribeDstMac(uint8 CtrlIdx, uint8 *macAddress)
Dispatch virtual mac destination traffic unsubscription request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacUnsubscribeAllTraffic(uint8 CtrlIdx)
Dispatch virtual mac all traffic unsubscription request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacSubscribeAllTraffic(uint8 CtrlIdx)
Dispatch virtual mac all traffic subscription request to ethernet firmware.
BufReq_ReturnType Eth_VirtMacInterCoreProvideTxBuffer(uint8 CtrlIdx, uint8 Priority, Eth_BufIdxType *BufIdxPtr, uint8 **BufPtr, uint16 *LenBytePtr)
This function provides access to a transmit buffer of the specified controller.
Std_ReturnType Eth_DispatchVirtmacDelVlan(uint8 CtrlIdx, uint32 vlanId)
Dispatch virtual VLAN leave command to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacAssociateIPv4Macaddr(uint8 CtrlIdx, uint8 *ipv4Address, uint8 *macAddress)
Dispatch virtual mac IPV4 address:destination mac association request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacLinkStatus(uint8 CtrlIdx)
Dispatch virtual mac port link status.
Std_ReturnType Eth_VirtmacGetLinkSpeed(uint8 ctrlIdx, uint32 *linkSpeedPtr)
Std_ReturnType Eth_DispatchVirtmacDelAddr(uint8 CtrlIdx, uint8 *macAddress, uint32 vlanId)
Dispatch virtual mac removal of given mac address from switch address resolution table request to eth...
Std_ReturnType Eth_DispatchVirtmacDisassociateIPv4Macaddr(uint8 CtrlIdx, uint8 *ipv4Address)
Dispatch virtual mac IPV4 address:destination mac disassociation request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacSubscribeDstMac(uint8 CtrlIdx, uint8 *macAddress)
Dispatch virtual mac destination mac traffic subscription request to ethernet firmware.
Std_ReturnType Eth_VirtMacRpcInit(const Eth_ConfigType *CfgPtr)
This function initializes Eth Virtual MAC driver's Remote Procedure Call.
Std_ReturnType Eth_VirtmacGetLinkStatus(uint8 ctrlIdx, boolean *linkStatusPtr)
void Eth_VirtMac_MainFunction(uint8 ctrlIdx)
Std_ReturnType Eth_DispatchVirtmacInit(uint8 CtrlIdx)
Dispatch virtual mac initialization request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacAddVlan(uint8 CtrlIdx, uint32 vlanId)
Dispatch virtual VLAN join request to ethernet firmware.
Std_ReturnType Eth_VirtMacInterCoreTransmit(uint8 CtrlIdx, Eth_BufIdxType BufIdx, Eth_FrameType FrameType, boolean TxConfirmation, uint16 LenByte, const uint8 *PhysAddrPtr)
This function triggers transmission of a previously filled transmit buffer.
Std_ReturnType Eth_DispatchVirtmacDeinit(uint8 CtrlIdx)
Dispatch virtual mac deinit request to ethernet firmware.
Std_ReturnType Eth_DispatchVirtmacAddMcastAddr(uint8 CtrlIdx, uint8 *macAddress, uint32 vlanId)
Dispatch virtual mac addition of given multicast address to switch address resolution table request t...
Std_ReturnType Eth_NotifyVirtmacMsgReceived(uint8 CtrlIdx)
Notify Ethernet driver that a RPC msg has been received from ethernet firmware.
void Eth_VirtMacInterCoreReceive(uint8 CtrlIdx, uint8 FifoIdx, Eth_RxStatusType *RxStatusPtr)
This function triggers frame reception.