diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-20 19:24:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-20 19:24:06 +0000 |
commit | 8cd8607510ca423089ca1b0266c22aeee685dcee (patch) | |
tree | 826e23653aecaf5f85d08ae94f3651a35634ace4 /nuttx/include/net/uip/uip.h | |
parent | f4f6f592170662f664998c9a1ae938bda35cf8d9 (diff) | |
download | px4-nuttx-8cd8607510ca423089ca1b0266c22aeee685dcee.tar.gz px4-nuttx-8cd8607510ca423089ca1b0266c22aeee685dcee.tar.bz2 px4-nuttx-8cd8607510ca423089ca1b0266c22aeee685dcee.zip |
Add support for TCP/IP connection backlog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1294 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip/uip.h')
-rw-r--r-- | nuttx/include/net/uip/uip.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/nuttx/include/net/uip/uip.h b/nuttx/include/net/uip/uip.h index 54a94bf98..bc79f64e7 100644 --- a/nuttx/include/net/uip/uip.h +++ b/nuttx/include/net/uip/uip.h @@ -81,7 +81,10 @@ * UIP_POLL IN: Used for polling the application. This is provided * periodically from the drivers to support (1) timed * operations, and (2) to check if the application has -* data that it wants to send + * data that it wants to send + * OUT: Not used + * UIP_BACKLOG IN: There is a new connection in the backlog list set + * up by the listen() command. (TCP only) * OUT: Not used * UIP_CLOSE IN: The remote host has closed the connection, thus the * connection has gone away. (TCP only) @@ -110,11 +113,12 @@ #define UIP_SNDACK (1 << 2) #define UIP_REXMIT (1 << 3) #define UIP_POLL (1 << 4) -#define UIP_CLOSE (1 << 5) -#define UIP_ABORT (1 << 6) -#define UIP_CONNECTED (1 << 7) -#define UIP_TIMEDOUT (1 << 8) -#define UIP_ECHOREPLY (1 << 9) +#define UIP_BACKLOG (1 << 5) +#define UIP_CLOSE (1 << 6) +#define UIP_ABORT (1 << 7) +#define UIP_CONNECTED (1 << 8) +#define UIP_TIMEDOUT (1 << 9) +#define UIP_ECHOREPLY (1 << 10) #define UIP_CONN_EVENTS (UIP_CLOSE|UIP_ABORT|UIP_CONNECTED|UIP_TIMEDOUT) |