mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Eliminate uip_outstanding()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3134 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* of C macros that are used by uIP programs as well as internal uIP
|
||||
* structures, TCP/IP header structures and function declarations.
|
||||
*
|
||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
*
|
||||
* This logic was leveraged from uIP which also has a BSD-style license:
|
||||
@@ -379,10 +379,6 @@ extern int uip_listen(struct uip_conn *conn);
|
||||
|
||||
extern int uip_unlisten(struct uip_conn *conn);
|
||||
|
||||
/* Check if a connection has outstanding (i.e., unacknowledged) data */
|
||||
|
||||
#define uip_outstanding(conn) ((conn)->len)
|
||||
|
||||
/* Access to TCP read-ahead buffers */
|
||||
|
||||
#if CONFIG_NET_NTCP_READAHEAD_BUFFERS > 0
|
||||
|
||||
Reference in New Issue
Block a user