MCUSW
Loading...
Searching...
No Matches
Eth_VirtMac.h File Reference

Introduction

This file contains the interface of the Virtual Mac Ethernet driver.

Go to the source code of this file.

Functions

Std_ReturnType Eth_VirtMacRpcInit (const Eth_ConfigType *CfgPtr)
 This function initializes Eth Virtual MAC driver's Remote Procedure Call.
 
Std_ReturnType Eth_DispatchVirtmacInit (uint8 CtrlIdx)
 Dispatch virtual mac initialization request to ethernet firmware.
 
Std_ReturnType Eth_DispatchVirtmacDeinit (uint8 CtrlIdx)
 Dispatch virtual mac deinit request to ethernet firmware.
 
Std_ReturnType Eth_NotifyVirtmacMsgReceived (uint8 CtrlIdx)
 Notify Ethernet driver that a RPC msg has been received from ethernet firmware.
 
Std_ReturnType Eth_DispatchVirtmacSubscribeAllTraffic (uint8 CtrlIdx)
 Dispatch virtual mac all traffic subscription request to ethernet firmware.
 
Std_ReturnType Eth_DispatchVirtmacUnsubscribeAllTraffic (uint8 CtrlIdx)
 Dispatch virtual mac all traffic unsubscription 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_DispatchVirtmacUnsubscribeDstMac (uint8 CtrlIdx, uint8 *macAddress)
 Dispatch virtual mac destination traffic unsubscription request 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_DispatchVirtmacDisassociateIPv4Macaddr (uint8 CtrlIdx, uint8 *ipv4Address)
 Dispatch virtual mac IPV4 address:destination mac disassociation 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 to ethernet firmware.
 
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 ethernet firmware.
 
Std_ReturnType Eth_DispatchVirtmacAddVlan (uint8 CtrlIdx, uint32 vlanId)
 Dispatch virtual VLAN join request to ethernet firmware.
 
Std_ReturnType Eth_DispatchVirtmacDelVlan (uint8 CtrlIdx, uint32 vlanId)
 Dispatch virtual VLAN leave command to ethernet firmware.
 
Std_ReturnType Eth_DispatchVirtmacLinkStatus (uint8 CtrlIdx)
 Dispatch virtual mac port link status.
 
void Eth_VirtMac_MainFunction (uint8 ctrlIdx)
 
Std_ReturnType Eth_VirtmacGetLinkStatus (uint8 ctrlIdx, boolean *linkStatusPtr)
 
Std_ReturnType Eth_VirtmacGetLinkSpeed (uint8 ctrlIdx, uint32 *linkSpeedPtr)
 
Std_ReturnType Eth_VirtmacGetLinkDuplexity (uint8 ctrlIdx, uint32 *linkDuplexityPtr)
 
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_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.
 
void Eth_VirtMacInterCoreReceive (uint8 CtrlIdx, uint8 FifoIdx, Eth_RxStatusType *RxStatusPtr)
 This function triggers frame reception.