udp_socket Struct Reference
[UDP Sockets]

Collaboration diagram for udp_socket:

Collaboration graph
[legend]

Detailed Description

UDP socket information structure.

Applications should not rely on the content of this structure. It may change without notice.

Definition at line 162 of file sock_var.h.


Data Fields

UDPSOCKETso_next
 Link to next tcp socket structure.
uint16_t so_local_port
 Local port number in net byte order.
NETBUFso_rx_nb
 Received, but not read by application.
HANDLE so_rx_rdy
 Receiver event queue.
int so_rx_cnt
 Number of data bytes in the receive buffer.
int so_rx_bsz
 Receive buffer size.

Field Documentation

Link to next tcp socket structure.

Definition at line 163 of file sock_var.h.

Referenced by NutDumpSocketList(), NutUdpCreateSocket(), NutUdpDestroySocket(), and NutUdpFindSocket().

Local port number in net byte order.

Definition at line 164 of file sock_var.h.

Referenced by NutDumpSocketList(), NutUdpCreateSocket(), NutUdpFindSocket(), and NutUdpOutput().

Received, but not read by application.

Definition at line 165 of file sock_var.h.

Referenced by NutUdpDestroySocket(), NutUdpInput(), and NutUdpReceiveFrom().

Receiver event queue.

Definition at line 166 of file sock_var.h.

Referenced by NutUdpInput(), and NutUdpReceiveFrom().

Number of data bytes in the receive buffer.

Definition at line 167 of file sock_var.h.

Referenced by NutUdpInput(), and NutUdpReceiveFrom().

Receive buffer size.

Definition at line 168 of file sock_var.h.

Referenced by NutUdpGetSockOpt(), NutUdpInput(), and NutUdpSetSockOpt().


The documentation for this struct was generated from the following file:

© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/