RetroArch
Classes | Macros | Variables
uip.h File Reference
#include "uipopt.h"
#include "uip_arch.h"
#include "uip_ip.h"
Include dependency graph for uip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uip_stats
 

Macros

#define UIP_ERR_OK   0
 
#define UIP_ERR_MEM   -1
 
#define UIP_ERR_BUF   -2
 
#define UIP_ERR_ABRT   -3
 
#define UIP_ERR_RST   -4
 
#define UIP_ERR_CLSD   -5
 
#define UIP_ERR_CONN   -6
 
#define UIP_ERR_VAL   -7
 
#define UIP_ERR_ARG   -8
 
#define UIP_ERR_RTE   -9
 
#define UIP_ERR_USE   -10
 
#define UIP_ERR_IF   -11
 
#define UIP_ERR_PKTSIZE   -17
 
#define UIP_PROTO_ICMP   1
 
#define UIP_PROTO_TCP   6
 
#define UIP_PROTO_UDP   17
 
#define UIP_IP_HLEN   20 /* Size of IP header */
 
#define UIP_TRANSPORT_HLEN   20
 
#define UIP_UDP_HLEN   8 /* Size of UDP header */
 
#define UIP_TCP_HLEN   20 /* Size of TCP header */
 
#define UIP_IPUDP_HLEN   28 /* Size of IP + UDP header */
 
#define UIP_IPTCP_HLEN   40 /* Size of IP + TCP header */
 

Variables

struct uip_stats uip_stat
 

Detailed Description

Header file for the uIP TCP/IP stack.

Author
Adam Dunkels [email protected][email protected]dunk[email protected]els.c[email protected]om

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.