Ether Object
A-28
A.8 Ether Object
A.8.1 Synopsis
The Ether object is really just the “generic” portion of the packet driver. It knows
how to process an Ethernet MAC header, and handles incoming and outgoing
packets. It interfaces directly to the HAL packet driver. For each Ethernet
based packet device in the system, an Ether object is created to represent this
device to the stack.
A.8.2 Object Type
Static – Ether objects are generally created and destroyed by the same entity.
A.8.3 API Function Overview
The following is a complete list of the Ether object API.
Create/Destroy Functions:
EtherNew()
Create New Ether Object
EtherFree()
Destroy Ether Object
EtherConfig()
Configure Ether Object Header Parameters
Addressing Functions:
EtherGetLLADirect()
Get the directed Link Level Address of the
Ether Object
EtherGetLLABCast()
Get the broadcast Link Level Address of the
Ether Object
EtherAddMCast()
Add Multicast Ethernet Address
EtherDelMCast()
Delete Multicast Ethernet Address
EtherClearMCast()
Clear All Multicast Ethernet Addresses
Filtering Functions:
EtherSetPktFilter()
Set Receive Packet Filter Value
EtherGetPktFilter()
Get Current Receive Packet Filter Value
Hardware Event Functions:
EtherRxPacket()
Indicate a New Rx Packet to the Ether Object
A.8.4 API Functions
Although the Ether object API is larger than that discussed here, this section
covers the portion of the API that is useful to a system application.