From b8840dc6de544f7beff52e39068b770fe7c0c1a5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 12 Jun 2014 13:32:07 -0600 Subject: [PATCH] Cosmetic plus some configuration default changes --- TODO | 7 +------ net/iob/Kconfig | 4 ++-- net/net_send_buffered.c | 3 ++- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/TODO b/TODO index 12af21d8eb..3530567a08 100644 --- a/TODO +++ b/TODO @@ -15,7 +15,7 @@ nuttx/ (11) Kernel Build (4) C++ Support (6) Binary loaders (binfmt/) - (16) Network (net/, drivers/net) + (15) Network (net/, drivers/net) (4) USB (drivers/usbdev, drivers/usbhost) (10) Libraries (libc/, ) (12) File system/Generic drivers (fs/, drivers/) @@ -770,11 +770,6 @@ o Binary loaders (binfmt/) o Network (net/, drivers/net) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Title: SOCK_RAW/SOCK_PACKET - Description: Should implement SOCK_RAW, SOCK_PACKET - Status: Open. No changes are planned. - Priority: Low - Title: MULTIPLE NETWORK INTERFACE SUPPORT Description: uIP polling issues / Multiple network interface support: diff --git a/net/iob/Kconfig b/net/iob/Kconfig index a82e1c174a..f7793afa80 100644 --- a/net/iob/Kconfig +++ b/net/iob/Kconfig @@ -14,7 +14,7 @@ if NET_IOB config IOB_NBUFFERS int "Number of pre-allocated network I/O buffers" - default 16 + default 24 ---help--- Each packet is represented by a series of small I/O buffers in a chain. This setting determines the number of preallocated I/O @@ -22,7 +22,7 @@ config IOB_NBUFFERS config IOB_BUFSIZE int "Payload size of one network I/O buffer" - default 256 + default 196 ---help--- Each packet is represented by a series of small I/O buffers in a chain. This setting determines the data payload each preallocated diff --git a/net/net_send_buffered.c b/net/net_send_buffered.c index f54079f39b..5005e1a5f6 100644 --- a/net/net_send_buffered.c +++ b/net/net_send_buffered.c @@ -159,7 +159,8 @@ static uint16_t send_interrupt(FAR struct uip_driver_s *dev, FAR void *pvconn, if ((flags & UIP_ACKDATA) != 0) { - FAR sq_entry_t *entry, *next; + FAR sq_entry_t *entry; + FAR sq_entry_t *next; FAR struct uip_wrbuffer_s *segment; uint32_t ackno;