5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
wwd_network_interface.h File Reference

Functions

void host_ethernet_set_tx_packet_filter (ethernet_filter_tx_packet_t tx_packet_callback, void *userdata)
 
void wwd_network_send_ethernet_data (wiced_buffer_t buffer, wwd_interface_t interface)
 

Detailed Description

Defines the WICED Network Interface.

Provides prototypes for functions that allow WICED to communicate with a network stack in an abstract way.

Function Documentation

◆ host_ethernet_set_tx_packet_filter()

void host_ethernet_set_tx_packet_filter ( ethernet_filter_tx_packet_t tx_packet_callback,
void * userdata )
extern

Called by a WICED application to filter outgoing ethernet packets before they are sent.

NOTE: The packet passed to the filter callback will be processed normally when the callback returns.

Parameters
tx_packet_callback: Callback routine to invoke when packet is sent.
userdata: Opaque data pointer to pass back to application in callback.

◆ wwd_network_send_ethernet_data()

void wwd_network_send_ethernet_data ( wiced_buffer_t buffer,
wwd_interface_t interface )
extern

Sends a data packet.

This function should be called by the bottom of the network stack in order for it to send an ethernet frame. The function prepends a BDC header, before sending to wwd_sdpcm_send_common where the SDPCM header will be added

Parameters
buffer: The ethernet packet buffer to be sent
interface: the interface over which to send the packet (AP or STA)