diff options
Diffstat (limited to 'nuttx/net/uip/uip-initialize.c')
-rw-r--r-- | nuttx/net/uip/uip-initialize.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nuttx/net/uip/uip-initialize.c b/nuttx/net/uip/uip-initialize.c index dabcf64cc..00a01ef6a 100644 --- a/nuttx/net/uip/uip-initialize.c +++ b/nuttx/net/uip/uip-initialize.c @@ -57,6 +57,51 @@ * Public Variables ****************************************************************************/ +#if UIP_URGDATA > 0 +void *uip_urgdata; /* urgent data (out-of-band data), if present. */ +uint16 uip_urglen; /* Length of (received) urgent data */ +#endif + +/* The uip_flags variable is used for communication between the TCP/IP + * stack and the application program. + */ + +uint8 uip_flags; + +/* uip_conn always points to the current connection. */ + +struct uip_conn *uip_conn; + +#ifdef CONFIG_NET_UDP +struct uip_udp_conn *uip_udp_conn; +#endif /* CONFIG_NET_UDP */ + +#ifdef CONFIG_NET_STATISTICS +struct uip_stats uip_stat; +#endif + +/* Increasing number used for the IP ID field. */ + +uint16 g_ipid; + +const uip_ipaddr_t all_ones_addr = +#ifdef CONFIG_NET_IPv6 + {0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff}; +#else /* CONFIG_NET_IPv6 */ + {0xffffffff}; +#endif /* CONFIG_NET_IPv6 */ + +const uip_ipaddr_t all_zeroes_addr = +#ifdef CONFIG_NET_IPv6 + {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000}; +#else + {0x00000000}; +#endif + +#if UIP_REASSEMBLY && !defined(CONFIG_NET_IPv6) +uint8 uip_reasstmr; +#endif + /**************************************************************************** * Private Variables ****************************************************************************/ |