Function

nw_ethernet_channel_set_receive_handler

Sets a handler to receive inbound Ethernet frames.

Declaration

void nw_ethernet_channel_set_receive_handler(nw_ethernet_channel_t ethernet_channel, nw_ethernet_channel_receive_handler_t handler);

Discussion

The receive handler only needs to be set once, and will be invoked for each received Ethernet frame.

See Also

Sending and Receiving Ethernet Frames

nw_ethernet_channel_send

Sends a single Ethernet frame over a channel to a specific Ethernet address.

nw_ethernet_channel_send_completion_t

A handler that indicates when an Ethernet frame has been sent, or if an error was encountered.

nw_ethernet_channel_receive_handler_t

A handler that delivers inbound Ethernet frames.

nw_ethernet_address_t

A 48-bit Ethernet address.