Contents

ifnet_output_func

Declaration

typedef errno_t (*ifnet_output_func)(ifnet_t interface, mbuf_t data);

Parameters

  • interface:

    The interface being sent on.

  • data:

    The packet to be sent.

Discussion

ifnet_output_func is used to transmit packets. The stack will pass fully formed packets, including frame header, to the ifnet_output function for an interface. The driver is responsible for freeing the mbuf.

See Also

ifnet