Contents

nw_ethernet_channel_create(_:_:)

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

Declaration

func nw_ethernet_channel_create(_ ether_type: UInt16, _ interface: nw_interface_t) -> nw_ethernet_channel_t

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

Functions