Remove unused flag bit

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@341 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-09-09 23:48:31 +00:00
parent a401a91d03
commit ec8c6ffb23
2 changed files with 3 additions and 4 deletions

View File

@ -83,7 +83,6 @@
* new connection for it, or an active connection has been * new connection for it, or an active connection has been
* successfully established. */ * successfully established. */
#define UIP_TIMEDOUT (1 << 7) /* The connection has been aborted due to too many retransmissions. */ #define UIP_TIMEDOUT (1 << 7) /* The connection has been aborted due to too many retransmissions. */
#define UIP_APPTIMEOUT (1 << 8) /* Application time limit has elapsed */
/* The TCP states used in the uip_conn->tcpstateflags. */ /* The TCP states used in the uip_conn->tcpstateflags. */
@ -496,14 +495,14 @@ extern struct uip_udp_conn *uip_udp_conn;
extern struct uip_stats uip_stat; extern struct uip_stats uip_stat;
/* uint16 uip_flags: /* uint8 uip_flags:
* *
* When the application is called, uip_flags will contain the flags * When the application is called, uip_flags will contain the flags
* that are defined in this file. Please read below for more * that are defined in this file. Please read below for more
* infomation. * infomation.
*/ */
extern uint16 uip_flags; extern uint8 uip_flags;
#if UIP_FIXEDADDR #if UIP_FIXEDADDR
extern const uip_ipaddr_t uip_hostaddr, uip_netmask, uip_draddr; extern const uip_ipaddr_t uip_hostaddr, uip_netmask, uip_draddr;

View File

@ -175,7 +175,7 @@ uint16 uip_urglen, uip_surglen;
uint16 uip_len, uip_slen; /* The uip_len is either 8 or 16 bits, depending uint16 uip_len, uip_slen; /* The uip_len is either 8 or 16 bits, depending
* on the maximum packet size. */ * on the maximum packet size. */
uint16 uip_flags; /* The uip_flags variable is used for communication uint8 uip_flags; /* The uip_flags variable is used for communication
* between the TCP/IP stack and the application * between the TCP/IP stack and the application
* program. */ * program. */
struct uip_conn *uip_conn; /* uip_conn always points to the current connection. */ struct uip_conn *uip_conn; /* uip_conn always points to the current connection. */