Functions | |
INT8 | udp_getsocket (UINT8, INT32(*)(INT8, UINT8, UINT32, UINT16, UINT16, UINT16), UINT8) |
Allocate a free socket in UDP socket pool. | |
INT8 | udp_releasesocket (INT8) |
Release a given socket. | |
INT8 | udp_open (INT8, UINT16) |
Open a given UDP socket for communication. | |
INT8 | udp_close (INT8) |
Close given socket for communication. | |
INT16 | udp_send (INT8, UINT32, UINT16, UINT8 *, UINT16, UINT16) |
Send data to remote host using given UDP socket. |
|
Definition at line 175 of file udp.c. References ucb::locport, ucb::opts, ucb::state, ucb::tos, UDP_OPT_CHECK_CS, UDP_OPT_SEND_CS, UDP_STATE_CLOSED, and UDP_STATE_FREE. Referenced by bootpc_init(), dhcpc_init(), dns_init(), and tftps_init(). |
|
Definition at line 244 of file udp.c. References ucb::locport, ucb::opts, ucb::state, ucb::tos, UDP_OPT_CHECK_CS, UDP_OPT_SEND_CS, and UDP_STATE_FREE. |
|
Definition at line 291 of file udp.c. References ucb::locport, ucb::state, udp_getfreeport(), and UDP_STATE_OPENED. Referenced by bootpc_init(), dhcpc_init(), dns_init(), and tftps_init(). |
|
Definition at line 340 of file udp.c. References ucb::state, and UDP_STATE_CLOSED. |
|
Definition at line 395 of file udp.c. References ip_checksum(), ip_checksum_buf(), IP_UDP, ucb::locport, ucb::opts, process_ip_out(), ucb::state, ucb::tos, UDP_HLEN, UDP_OPT_SEND_CS, and UDP_STATE_OPENED. Referenced by bootpc_run(), dhcpc_send_message(), and get_host_by_name(). |