Function

nw_ethernet_channel_create

Initializes an Ethernet channel on a specific interface with a custom Ethernet type.

Declaration

nw_ethernet_channel_t nw_ethernet_channel_create(uint16_t ether_type, nw_interface_t interface);

Parameters

ether_type

The custom Ethernet frame type to register for this channel, in host-byte order.

interface

The interface on which to send and receive Ethernet frames.

See Also

Managing Ethernet Channels

nw_ethernet_channel_set_queue

Sets the queue on which all channel events are delivered.

nw_ethernet_channel_start

Starts the process of registering the channel.

nw_ethernet_channel_cancel

Unregisters the channel from the interface.