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.
 
void Eth_VirtMac_MainFunction (uint8 ctrlIdx)