diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-09-09 19:47:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-09-09 19:47:52 +0000 |
commit | 029001d3f18801589c585b190fdc9655bec8e545 (patch) | |
tree | 880c7410b4fbcb43c2dd5cfce6618d4d5b0953e5 /nuttx/include/net/uip/uip.h | |
parent | 7a65f932826220c741ffbf5698b48692a787d915 (diff) | |
download | px4-nuttx-029001d3f18801589c585b190fdc9655bec8e545.tar.gz px4-nuttx-029001d3f18801589c585b190fdc9655bec8e545.tar.bz2 px4-nuttx-029001d3f18801589c585b190fdc9655bec8e545.zip |
Implment TCP recv()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@340 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip/uip.h')
-rw-r--r-- | nuttx/include/net/uip/uip.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/nuttx/include/net/uip/uip.h b/nuttx/include/net/uip/uip.h index fe2088b2c..34fd0192e 100644 --- a/nuttx/include/net/uip/uip.h +++ b/nuttx/include/net/uip/uip.h @@ -893,6 +893,11 @@ extern int uip_udpconnect(struct uip_udp_conn *conn, const struct sockaddr_in6 * extern int uip_udpconnect(struct uip_udp_conn *conn, const struct sockaddr_in *addr); #endif +/* Enable/disable UDP callbacks on a connection */ + +extern void uip_udpenable(struct uip_udp_conn *conn); +extern void uip_udpdisable(struct uip_udp_conn *conn); + /* Send a UDP datagram of length len on the current connection. * * This function can only be called in response to a UDP event (poll @@ -1124,14 +1129,4 @@ extern int uip_udpconnect(struct uip_udp_conn *conn, const struct sockaddr_in *a #define uip_ipaddr4(addr) (htons(((uint16 *)(addr))[1]) & 0xff) -/* This function is called user code to set up the wait */ - -extern int uip_event_wait(uint16 waitflags); - -/* This function is called from uip_interrupt() to wake up any - * waiting threads/tasks. - */ - -extern void uip_event_signal(void); - #endif /* __NET_UIP_UIP_H */ |