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
 
udp_recv_fn recv
 receive callback function More...
 
voidrecv_arg
 user-supplied argument for the recv callback More...
 
u16_t remote_port
 

u8_t udp_pcb::flags
udp_pcb::IP_PCB
u16_t udp_pcb::local_port

ports are in host byte order

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

struct udp_pcb* udp_pcb::next
udp_recv_fn 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 udp_input(), and udp_recv().

u16_t udp_pcb::remote_port