Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

udp_pcb Struct Reference

udp_pcb Struct Reference

the UDP protocol control block More...

#include <udp.h>

Data Fields

 IP_PCB
 Common members of all PCB types.
u16_t local_port
 ports are in host byte order
ip4_addr_t mcast_ip4
 outgoing network interface for multicast packets, by IPv4 address (if not 'any')
u8_t mcast_ifindex
 outgoing network interface for multicast packets, by interface index (if nonzero)
u8_t mcast_ttl
 TTL for outgoing multicast packets.
u16_t chksum_len_rx
 used for UDP_LITE only
udp_recv_fn recv
 receive callback function
void * recv_arg
 user-supplied argument for the recv callback

Detailed Description

the UDP protocol control block

Definition at line 81 of file lwipstack/lwip/src/include/lwip/udp.h.


Field Documentation

used for UDP_LITE only

Definition at line 106 of file lwipstack/lwip/src/include/lwip/udp.h.

Common members of all PCB types.

Definition at line 83 of file lwipstack/lwip/src/include/lwip/udp.h.

u16_t local_port

ports are in host byte order

Definition at line 91 of file lwipstack/lwip/src/include/lwip/udp.h.

outgoing network interface for multicast packets, by interface index (if nonzero)

Definition at line 99 of file lwipstack/lwip/src/include/lwip/udp.h.

outgoing network interface for multicast packets, by IPv4 address (if not 'any')

Definition at line 96 of file lwipstack/lwip/src/include/lwip/udp.h.

u8_t mcast_ttl

TTL for outgoing multicast packets.

Definition at line 101 of file lwipstack/lwip/src/include/lwip/udp.h.

receive callback function

Definition at line 110 of file lwipstack/lwip/src/include/lwip/udp.h.

void* recv_arg

user-supplied argument for the recv callback

Definition at line 112 of file lwipstack/lwip/src/include/lwip/udp.h.