#include "lwip/arch.h"
#include "lwip/pbuf.h"
#include "lwip/inet.h"
#include "lwip/ip.h"
Go to the source code of this file.
|
| struct udp_pcb * | udp_new (void) |
| |
| void | udp_remove (struct udp_pcb *pcb) |
| |
| err_t | udp_bind (struct udp_pcb *pcb, struct ip_addr *ipaddr, u16_t port) |
| |
| err_t | udp_connect (struct udp_pcb *pcb, struct ip_addr *ipaddr, u16_t port) |
| |
| void | udp_disconnect (struct udp_pcb *pcb) |
| |
| void | udp_recv (struct udp_pcb *pcb, void(*recv)(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *addr, u16_t port), void *recv_arg) |
| |
| err_t | udp_sendto (struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *dst_ip, u16_t dst_port) |
| |
| err_t | udp_send (struct udp_pcb *pcb, struct pbuf *p) |
| |
| void | udp_input (struct pbuf *p, struct netif *inp) |
| |
| void | udp_init (void) |
| |
◆ udp_debug_print
| #define udp_debug_print |
( |
|
udphdr | ) |
|
◆ udp_flags
| #define udp_flags |
( |
|
pcb | ) |
((pcb)->flags) |
◆ UDP_FLAGS_CONNECTED
| #define UDP_FLAGS_CONNECTED 0x04U |
◆ UDP_FLAGS_NOCHKSUM
| #define UDP_FLAGS_NOCHKSUM 0x01U |
◆ UDP_FLAGS_UDPLITE
| #define UDP_FLAGS_UDPLITE 0x02U |
◆ UDP_HLEN
◆ udp_setflags
| #define udp_setflags |
( |
|
pcb, |
|
|
|
f |
|
) |
| ((pcb)->flags = (f)) |
◆ udp_bind()
◆ udp_connect()
◆ udp_disconnect()
◆ udp_init()
◆ udp_input()
◆ udp_new()
◆ udp_recv()
◆ udp_remove()
◆ udp_send()
◆ udp_sendto()
◆ PACK_STRUCT_STRUCT