diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-18 17:30:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-18 17:30:30 +0000 |
commit | 1994f6983332bf79b4ea8d3f242dc710f99cf2e9 (patch) | |
tree | 414ecfd618101a507bf1b3c9263cd067b2ad7b9b /nuttx/include/net/uip | |
parent | 3a3f46b691da1747881032dec6f5b5af2c308cdd (diff) | |
download | px4-nuttx-1994f6983332bf79b4ea8d3f242dc710f99cf2e9.tar.gz px4-nuttx-1994f6983332bf79b4ea8d3f242dc710f99cf2e9.tar.bz2 px4-nuttx-1994f6983332bf79b4ea8d3f242dc710f99cf2e9.zip |
Implement poll/select for sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1277 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip')
-rw-r--r-- | nuttx/include/net/uip/uip-tcp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/include/net/uip/uip-tcp.h b/nuttx/include/net/uip/uip-tcp.h index e625e8865..409081f28 100644 --- a/nuttx/include/net/uip/uip-tcp.h +++ b/nuttx/include/net/uip/uip-tcp.h @@ -118,6 +118,7 @@ struct uip_driver_s; /* Forward reference */ struct uip_callback_s; /* Forward reference */ + struct uip_conn { dq_entry_t node; /* Implements a doubly linked list */ @@ -179,13 +180,13 @@ struct uip_conn /* accept() is called when the TCP logic has created a connection */ - void *accept_private; - int (*accept)(struct uip_conn *listener, struct uip_conn *conn); + FAR void *accept_private; + int (*accept)(FAR struct uip_conn *listener, struct uip_conn *conn); /* connection_event() is called on any of the subset of connection-related events */ - void *connection_private; - void (*connection_event)(struct uip_conn *conn, uint16 flags); + FAR void *connection_private; + void (*connection_event)(FAR struct uip_conn *conn, uint16 flags); }; /* The following structure is used to handle read-ahead buffering for TCP |