uIP 1.0 based webserver for LPC1114 + ENC28J60
uip.h File Reference
Header file for the uIP TCP/IP stack. More...
Go to the source code of this file.
Data Structures | |
union | uip_ip4addr_t |
Representation of an IP address. More... | |
struct | uip_802154_shortaddr |
16 bit 802.15.4 address More... | |
struct | uip_802154_longaddr |
64 bit 802.15.4 address More... | |
struct | uip_80211_addr |
802.11 address More... | |
struct | uip_eth_addr |
802.3 address More... | |
union | uip_buf_t |
The uIP packet buffer. More... | |
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... | |
Typedefs | |
typedef union uip_ip4addr_t | uip_ip4addr_t |
Representation of an IP address. | |
typedef struct uip_802154_shortaddr | uip_802154_shortaddr |
16 bit 802.15.4 address | |
typedef struct uip_802154_longaddr | uip_802154_longaddr |
64 bit 802.15.4 address | |
typedef struct uip_80211_addr | uip_80211_addr |
802.11 address | |
typedef struct uip_eth_addr | uip_eth_addr |
802.3 address | |
typedef uip_802154_longaddr | uip_lladdr_t |
802.15.4 address | |
Functions | |
void | uip_init (void) |
uIP initialization function. | |
void | uip_setipid (uint16_t id) |
uIP initialization function. | |
void | uip_reass_over (void) |
Abandon the reassembly of the current packet. | |
void | uip_listen (uint16_t port) |
Start listening to the specified port. | |
void | uip_unlisten (uint16_t port) |
Stop listening to the specified port. | |
struct uip_conn * | uip_connect (uip_ipaddr_t *ripaddr, uint16_t port) |
Connect to a remote host using TCP. | |
CCIF void | uip_send (const void *data, int len) |
Send data on the current connection. | |
struct uip_udp_conn * | uip_udp_new (const uip_ipaddr_t *ripaddr, uint16_t rport) |
Set up a new UDP connection. | |
CCIF uint16_t | uip_htons (uint16_t val) |
Convert a 16-bit quantity from host byte order to network byte order. | |
void | uip_process (uint8_t flag) |
process the options within a hop by hop or destination option header | |
uint16_t | uip_chksum (uint16_t *buf, uint16_t len) |
Calculate the Internet checksum over a buffer. | |
uint16_t | uip_ipchksum (void) |
Calculate the IP header checksum of the packet header in uip_buf. | |
uint16_t | uip_tcpchksum (void) |
Calculate the TCP checksum of the packet in uip_buf and uip_appdata. | |
uint16_t | uip_udpchksum (void) |
Calculate the UDP checksum of the packet in uip_buf and uip_appdata. | |
uint16_t | uip_icmp6chksum (void) |
Calculate the ICMP checksum of the packet in uip_buf. | |
Variables | |
CCIF void * | uip_appdata |
Pointer to the application data in the packet buffer. | |
CCIF uint16_t | uip_len |
The length of the packet in the uip_buf buffer. | |
uint8_t | uip_ext_len |
The length of the extension headers. | |
CCIF struct uip_conn * | uip_conn |
Pointer to the current TCP connection. | |
uint8_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 12:52:12 by 1.7.2