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 146 of file sock_var.h.

Data Fields

UDPSOCKETso_next
 Link to next tcp socket structure.
u_short 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.
u_short so_rx_cnt
 Number of data bytes in the receive buffer.
u_short so_rx_bsz
 Receive buffer size.


Field Documentation

UDPSOCKET* udp_socket::so_next

Link to next tcp socket structure.

Definition at line 147 of file sock_var.h.

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

u_short udp_socket::so_local_port

Local port number in net byte order.

Definition at line 148 of file sock_var.h.

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

NETBUF* udp_socket::so_rx_nb

Received, but not read by application.

Definition at line 149 of file sock_var.h.

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

HANDLE udp_socket::so_rx_rdy

Receiver event queue.

Definition at line 150 of file sock_var.h.

Referenced by NutUdpInput(), and NutUdpReceiveFrom().

u_short udp_socket::so_rx_cnt

Number of data bytes in the receive buffer.

Definition at line 151 of file sock_var.h.

Referenced by NutUdpInput(), and NutUdpReceiveFrom().

u_short udp_socket::so_rx_bsz

Receive buffer size.

Definition at line 152 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/