summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-08 16:43:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-08 16:43:06 +0000
commit615e22af65c7efb223ba973c1b5aeaacdf5e7cdb (patch)
tree14f2dcc39e34773a3fb8260b5f906bf627231c70 /nuttx/include
parent2239a0abb6976e310df0eb3307f089fdb23a3bbf (diff)
downloadpx4-nuttx-615e22af65c7efb223ba973c1b5aeaacdf5e7cdb.tar.gz
px4-nuttx-615e22af65c7efb223ba973c1b5aeaacdf5e7cdb.tar.bz2
px4-nuttx-615e22af65c7efb223ba973c1b5aeaacdf5e7cdb.zip
Fix handling of callback result
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@379 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/net/uip/uip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/include/net/uip/uip.h b/nuttx/include/net/uip/uip.h
index 155f0e6a7..e002777c3 100644
--- a/nuttx/include/net/uip/uip.h
+++ b/nuttx/include/net/uip/uip.h
@@ -185,7 +185,10 @@ struct uip_conn
/* Higher level logic can retain application specific information
* in the following:
*
- * data_event() is called on all events.
+ * data_event() is called on all events. May return one of the following:
+ * UIP_CLOSE - Gracefully close the current connection
+ * UIP_ABORT - Abort (reset) the current connection on an error that
+ * prevents UIP_CLOSE from working.
* accept() is called when the TCP logic has created a connection
* connection_event() is called on any of the subset of connection-related events
*/