udp_socket Struct Reference
[UDP Sockets]

UDP socket information structure. More...

Collaboration diagram for udp_socket:

Collaboration graph
[legend]

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.

Detailed Description

UDP socket information structure.

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

Examples:

snmpd/snmpd.c.

Definition at line 162 of file sock_var.h.


Field Documentation

UDPSOCKET* udp_socket::so_next

Link to next tcp socket structure.

Definition at line 163 of file sock_var.h.

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

uint16_t udp_socket::so_local_port

Local port number in net byte order.

Definition at line 164 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 165 of file sock_var.h.

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

HANDLE udp_socket::so_rx_rdy

Receiver event queue.

Definition at line 166 of file sock_var.h.

Referenced by NutUdpInput(), and NutUdpReceiveFrom().

int udp_socket::so_rx_cnt

Number of data bytes in the receive buffer.

Definition at line 167 of file sock_var.h.

Referenced by NutUdpInput(), and NutUdpReceiveFrom().

int udp_socket::so_rx_bsz

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/