ethernet.c File Reference


Detailed Description

Ethernet implementation (license: GPLv2).

Author:
Roland Riegel


Functions

void ethernet_init (const uint8_t *mac)
 Initializes the ethernet layer and assigns an ethernet address.
bool ethernet_handle_packet ()
 Reads incoming packets and forwards them to the appropriate higher-level protocol.
bool ethernet_send_packet (const uint8_t *mac_dest, uint16_t type, uint16_t data_len)
 Sends data from the transmit buffer to a remote host.
const uint8_t * ethernet_get_mac ()
 Retrieves the current ethernet address.


Generated on Thu May 22 18:12:37 2008 for mega-eth by  doxygen 1.5.5