miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
lwip_port.h File Reference
Include dependency graph for lwip_port.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* lwip_port_rx_callback_t) (netdev_t *dev, lwip_port_frame_kind_t kind, const void *frame, size_t frame_len, const ethernet_frame_info_t *info, void *ctx)
typedef void(* lwip_port_timeout_callback_t) (uint32_t elapsed_ms, void *ctx)

Enumerations

enum  lwip_port_frame_kind_t { LWIP_PORT_FRAME_UNSUPPORTED = 0 , LWIP_PORT_FRAME_ARP , LWIP_PORT_FRAME_IPV4 }

Functions

netdev_tlwip_port_attach (lwip_port_rx_callback_t rx_callback, void *rx_ctx, lwip_port_timeout_callback_t timeout_callback, void *timeout_ctx)
void lwip_port_poll (void)
void lwip_port_poll_timeouts (uint32_t elapsed_ms)
int lwip_port_tx (const void *frame, size_t frame_len)
lwip_port_frame_kind_t lwip_port_classify (const ethernet_frame_info_t *info)

Typedef Documentation

◆ lwip_port_rx_callback_t

typedef void(* lwip_port_rx_callback_t) (netdev_t *dev, lwip_port_frame_kind_t kind, const void *frame, size_t frame_len, const ethernet_frame_info_t *info, void *ctx)

◆ lwip_port_timeout_callback_t

typedef void(* lwip_port_timeout_callback_t) (uint32_t elapsed_ms, void *ctx)

Enumeration Type Documentation

◆ lwip_port_frame_kind_t

Enumerator
LWIP_PORT_FRAME_UNSUPPORTED 
LWIP_PORT_FRAME_ARP 
LWIP_PORT_FRAME_IPV4 

Function Documentation

◆ lwip_port_attach()

netdev_t * lwip_port_attach ( lwip_port_rx_callback_t rx_callback,
void * rx_ctx,
lwip_port_timeout_callback_t timeout_callback,
void * timeout_ctx )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lwip_port_classify()

lwip_port_frame_kind_t lwip_port_classify ( const ethernet_frame_info_t * info)
Here is the caller graph for this function:

◆ lwip_port_poll()

void lwip_port_poll ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lwip_port_poll_timeouts()

void lwip_port_poll_timeouts ( uint32_t elapsed_ms)
Here is the caller graph for this function:

◆ lwip_port_tx()

int lwip_port_tx ( const void * frame,
size_t frame_len )
Here is the call graph for this function:
Here is the caller graph for this function: