Microchip® Advanced Software Framework

udp_pcb Struct Reference

#include <udp.h>

Data Fields

u8_t flags
 
 IP_PCB
 
u16_t local_port
 ports are in host byte order More...
 
struct udp_pcbnext
 
union {
   udp_recv_fn   ip4
 
recv
 receive callback function More...
 
voidrecv_arg
 user-supplied argument for the recv callback More...
 
u16_t remote_port
 

udp_recv_fn udp_pcb::ip4

Referenced by udp_input(), and udp_recv().

udp_pcb::IP_PCB
u16_t udp_pcb::local_port

ports are in host byte order

Referenced by lwip_netconn_do_getaddr(), udp_bind(), udp_connect(), udp_input(), and udp_new_port().

struct udp_pcb* udp_pcb::next
union { ... } udp_pcb::recv

receive callback function

Referenced by udp_input(), and udp_recv().

void* udp_pcb::recv_arg

user-supplied argument for the recv callback

Referenced by lwip_netconn_do_delconn(), udp_input(), and udp_recv().