Commit Graph

344 Commits

Author SHA1 Message Date
Gregory Nutt d0782933b7 Back out part of write buffering change. David G reports that this causes problems connecting to a server 2014-02-15 08:07:43 -06:00
Gregory Nutt 91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt 9e2640b896 Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg 2014-01-21 10:21:45 -06:00
Gregory Nutt d207d5ed4f Add true and false commands; repartition some logic to better support forthcoming looping 2014-01-17 13:24:44 -06:00
Gregory Nutt 94fb69459b Some fixes for typos in recent changes to Kconfig files 2014-01-16 16:37:23 -06:00
Gregory Nutt 90974e2b0b net/Kconfig: Improved default values and comments 2014-01-16 16:08:51 -06:00
Gregory Nutt 826a0116e8 NET: write buffering configuration no longer depends on EXPERIMENTAL 2014-01-15 07:17:59 -06:00
Gregory Nutt 2bfad60c85 If write buffering is enabled, then it is necessary to release the write buffer resources (callback structure) when the socket is closed 2014-01-14 18:19:43 -06:00
Gregory Nutt 806af1f4e2 When dup'ing sockets, need to clone fields for TCP write buffering too 2014-01-14 15:17:53 -06:00
Gregory Nutt a4e3fabee6 Changes to correct TCP write buffereing build errors 2014-01-14 09:43:59 -06:00
Gregory Nutt f034d84ea1 All of Jason Jaing's write buffering logic has been incorporated, but not even yet built 2014-01-14 08:30:35 -06:00
Gregory Nutt 375b683860 More TCP write buffer code. Part of big change from Jason Jiang 2014-01-13 17:26:11 -06:00
Gregory Nutt a9e44cdfe0 The first set of changes to incorporate Jason Jiangs TCP write buffering logic 2014-01-13 17:11:01 -06:00
Gregory Nutt 486314ad05 Add configuration support for TCP Write Buffering 2014-01-13 14:40:21 -06:00
Gregory Nutt 7eef2f9410 Change how TCP read-ahead is selected to better integrate with TCP write buffering 2014-01-13 13:55:51 -06:00
Gregory Nutt 0142b3cf5f NET: prevent tcp_connect callback from being double freed. From Max Holtzberg. 2014-01-13 12:04:01 -06:00
Gregory Nutt cbb5e4889b Add support for the SO_LINGER socket option. Based on logic from Jason Jiang. Utestested on initial commit 2014-01-13 11:58:45 -06:00
Gregory Nutt 78936f7260 Changes for ZDS-II ez80 build 2013-11-28 17:47:03 -06:00
Gregory Nutt 76764003a5 Add logic to enable DEBUG_NET if NET=n but WL_CC3000=y 2013-10-23 11:48:57 -06:00
Gregory Nutt b38468d49f net_sendfile: Let the ACK callback handle the REXMIT flag and don't return until all data has been ACK'd. From Max Holtzberg 2013-10-17 09:54:48 -06:00
Gregory Nutt 8ca54913e2 Move tcp connection into SYN_RCVD state after aception instead of bypassing and moving directly into ESTABLISHED. From Max Holtzberg. 2013-10-17 09:49:33 -06:00
Gregory Nutt cbed482747 TCP: Change how initial MSS is handled. From Max Holtzberg 2013-10-17 09:45:38 -06:00
Gregory Nutt 69dac5c775 In net_sendfile(), correct parameter passed to netdev_txnotifiy. From Max Holtzberg 2013-10-17 09:24:25 -06:00
Gregory Nutt bf5ae4a374 Reset TCP timeout timer when data is ACKed, not when data is sent. From Max Holtzberg 2013-10-17 09:19:03 -06:00
Gregory Nutt 408ff55b7e Changed net_close debug output to verbose. From Max Holtzberg (2013-10-17) 2013-10-17 09:13:31 -06:00
Gregory Nutt 8f7c6e23a6 Changed the meaning of the uip_*input functions. They now return success when a packet is dropped; This is needed for the ENCX24J600 driver that must make a decision to return the packet or not: It should not retain dropped packets. From Max Holtzberg 2013-10-11 10:48:00 -06:00
Gregory Nutt ffdaa6b5c5 Notify the socket layer if a connection is lost before the monitoring callback has been registered. From Max Holtzberg 2013-10-11 10:04:54 -06:00
Gregory Nutt 3afaa56067 Missing one change in the last commit 2013-10-08 09:29:28 -06:00
Gregory Nutt 50441eb9ee uip_tcpcallback: Simplify handling of callback return flags 2013-10-08 09:24:37 -06:00
Gregory Nutt d5ec15fc78 Update to net_close() improvement from Max Holtzberg 2013-10-08 09:14:27 -06:00
Gregory Nutt ed980b51f7 SAMA5: LCDC driver progress 2013-10-07 12:05:16 -06:00
Gregory Nutt 4c884a5079 Make net_close() nonblocking and free unestablished connections if no free connections available. From Max Holtzberg 2013-10-06 09:48:54 -06:00
Gregory Nutt d3fa588250 SAMA5 LCDC: Add 'skeleton' files that will eventually become an LCDC driver for the SAMA5 2013-10-06 09:08:52 -06:00
Gregory Nutt f6a90114b1 Use the new signature of rxnotify caused by the routing table. From Max Holtzberg 2013-10-06 07:38:15 -06:00
Gregory Nutt 52797b84a1 Another case where we should use the routing table: There may be multiple routers on the same network. In that case, we have to search for the routing table for the router that forwards to the destination address. We do this when we determine the MAC address we want in the ARP logic 2013-10-05 19:08:57 -06:00
Gregory Nutt 17e481e35a Fix some delroute errors 2013-10-05 10:34:38 -06:00
Gregory Nutt 4579819f8e Fix ordering of operations in network ioctl handling. We need to able to distinguish an error because the command was not recognized vs. other kinds of error 2013-10-05 16:43:10 -06:00
Gregory Nutt 63b6d3bde3 Add NSH addroute and delroute commands 2013-10-05 15:42:20 -06:00
Gregory Nutt 0e447ff9b5 Oops here is a file that I forget to add before a recent commit 2013-10-05 13:20:17 -06:00
Gregory Nutt 95ed790c54 netdev_findbyaddr() will not use a routing table if one is available. It will also make a better decision in the case there there is no routing table but only a single network interface. 2013-10-05 13:16:18 -06:00
Gregory Nutt 566857bcbd Clean-up routing table design. 2013-10-05 12:05:51 -06:00
Gregory Nutt 0ff3852b2f Add a user interface to manage the routing table 2013-10-02 10:51:48 -06:00
Gregory Nutt 255a9dcfc2 Simple routing table hooked into network build system 2013-10-01 19:13:06 -06:00
Gregory Nutt ca8ec81688 Partial implementation of a simple network routing table. 2013-10-01 18:55:20 -06:00
Gregory Nutt 3ea00af9aa net/net_sendfile: High performance sendfile is now functional. From Max Holtzberg 2013-09-30 14:37:04 -06:00
Gregory Nutt c038f4efe0 Dependency generation fix for directories that keep object files in a sub-directory 2013-09-29 11:46:10 -06:00
Gregory Nutt 417f67c132 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt 41f0c86cad Optimized sendfile() from Max Holtzberg 2013-09-28 14:47:49 -06:00
Gregory Nutt cdb56b81b8 Networking: Fix backward conditional in test to see if address is in ARP table. From Max Holtzberg 2013-09-27 08:27:35 -06:00
Gregory Nutt 95d462cb02 Networking: If sending out of the subnet, device lookup by IP will fail. Fall back to ETH0 for now. From Max Holtzberg 2013-09-27 08:21:33 -06:00