mbed OS5
Fork of UIPEthernet by
uip.h File Reference
Header file for the UIP TCP/IP stack. More...
Go to the source code of this file.
Data Structures | |
struct | uip_conn |
Representation of a UIP TCP connection. More... | |
struct | uip_udp_conn |
Representation of a UIP UDP connection. More... | |
struct | uip_stats |
The structure holding the TCP/IP statistics that are gathered if UIP_STATISTICS is set to 1. More... | |
struct | uip_eth_addr |
Representation of a 48-bit Ethernet address. More... | |
Typedefs | |
typedef u16_t | uip_ip4addr_t [2] |
Repressentation of an IP address. | |
Functions | |
void | uip_init (void) |
UIP initialization function. | |
void | uip_setipid (u16_t id) |
UIP initialization function. | |
void | uip_listen (u16_t port) |
Start listening to the specified port. | |
void | uip_unlisten (u16_t port) |
Stop listening to the specified port. | |
struct uip_conn * | uip_connect (uip_ipaddr_t *ripaddr, u16_t port) |
Connect to a remote host using TCP. | |
void | uip_send (const void *data, int len) |
Send data on the current connection. | |
struct uip_udp_conn * | uip_udp_new (uip_ipaddr_t *ripaddr, u16_t rport) |
Set up a new UDP connection. | |
u16_t | htons (u16_t val) |
Convert 16-bit quantity from host byte order to network byte order. | |
u16_t | uip_chksum (u16_t *buf, u16_t len) |
Calculate the Internet checksum over a buffer. | |
u16_t | uip_ipchksum (void) |
Calculate the IP header checksum of the packet header in uip_buf. | |
u16_t | uip_tcpchksum (void) |
Calculate the TCP checksum of the packet in uip_buf and uip_appdata. | |
u16_t | uip_udpchksum (void) |
Calculate the UDP checksum of the packet in uip_buf and uip_appdata. | |
Variables | |
u8_t | uip_buf [UIP_BUFSIZE+2] |
The UIP packet buffer. | |
void * | uip_appdata |
Pointer to the application data in the packet buffer. | |
u16_t | uip_len |
The length of the packet in the uip_buf buffer. | |
struct uip_conn * | uip_conn |
Pointer to the current TCP connection. | |
u8_t | uip_acc32 [4] |
4-byte array used for the 32-bit sequence number calculations. | |
struct uip_udp_conn * | uip_udp_conn |
The current UDP connection. | |
struct uip_stats | uip_stat |
The UIP TCP/IP statistics. |
Detailed Description
Header file for the UIP TCP/IP stack.
The UIP TCP/IP stack header file contains definitions for a number of C macros that are used by UIP programs as well as internal UIP structures, TCP/IP header structures and function declarations.
Definition in file uip.h.
Generated on Tue Jul 12 2022 18:10:58 by 1.7.2