Commit Graph

215 Commits

Author SHA1 Message Date
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
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
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
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
3ea00af9aa net/net_sendfile: High performance sendfile is now functional. From Max Holtzberg 2013-09-30 14:37:04 -06:00
Gregory Nutt
d361bce93a Networking: Important bug fix. The backlog buffer pointer was not being incrmented so that only the first backlog buffer was getting added to the freelist. From Max Holtzberg 2013-09-06 11:43:59 -06:00
Gregory Nutt
deaa35987e Partial implementation of driver-based UDP backlog still missing some logic. From Max Holtzberg. 2013-09-06 09:18:07 -06:00
Gregory Nutt
20b1b584e7 Network ARP harvesting: Corect backward condition in netmask task. From Max Holtzberg 2013-08-25 07:33:47 -06:00
Gregory Nutt
71fb1cfdb1 Networking code should use kfree, not lib_free 2013-04-11 06:54:29 -06:00
patacongo
1ef904003e Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap to allocae stacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 15:32:33 +00:00
patacongo
1c52dce216 More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo
5bb517ef08 Ping/DNS fixes (part 2 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5236 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 14:15:59 +00:00
patacongo
0663694745 Fix problem with ping that prevent ping from going outside local network (Darcy Gong)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5204 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 14:13:04 +00:00
patacongo
7a2692df6a Resync new repository with old repo r5166
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
50321df42d Remove executable property from source and make files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5146 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:46:10 +00:00
patacongo
7a9457bb07 Email address change in nuttx/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
ad13bd3827 NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4818 42af7a65-404d-4744-a932-0658087f49c3
2012-06-08 18:56:01 +00:00
patacongo
ac9fba297a NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4817 42af7a65-404d-4744-a932-0658087f49c3
2012-06-08 15:45:40 +00:00
patacongo
11e1c6fb96 More IPv6 rambling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4815 42af7a65-404d-4744-a932-0658087f49c3
2012-06-08 01:53:26 +00:00
patacongo
6a4ebcfd28 Fix a deadlock when using the NSH ifconfig command over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4487 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 20:51:48 +00:00
patacongo
2260c596ae PIC32 Ethernet driver now appears stable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4485 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 18:05:49 +00:00
patacongo
dccd03f6fb Update PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4469 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 22:05:14 +00:00
patacongo
7f005e2d3c Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
df0986aa29 Add logic to support the FSMC SRAM in the NuttX heap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4433 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 23:14:43 +00:00
patacongo
147d02cc24 Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4431 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 19:50:35 +00:00
patacongo
324fb2460f Add support for SRAM on board the STM3240G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4430 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 17:22:10 +00:00
patacongo
18379c0657 Fix an error the TCP/IP received sequence number counting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4416 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 15:53:27 +00:00
patacongo
a9a3097a0e (1) Fix a critical memory leak in the TCP read-ahead buffering logic; Add an option to suppress SDIO multi-block transfers in order to work around a buggy SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4415 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 02:07:38 +00:00
patacongo
6a2c6e13d6 Correct a buffer size error in the STM32 ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4403 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 22:09:09 +00:00
patacongo
4b3282078c Fix compile problen with CONFIG_NET_ARP_IPIN
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4188 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 22:21:32 +00:00
patacongo
10538a3f2e Macro clock_systimer replaces direct access to g_system_timer variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3500 42af7a65-404d-4744-a932-0658087f49c3
2011-04-13 21:44:24 +00:00
patacongo
2f45622959 Add netdev_unregister()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3415 42af7a65-404d-4744-a932-0658087f49c3
2011-03-25 15:15:59 +00:00
patacongo
24be35b1a3 RTL8187 I/O routines
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3414 42af7a65-404d-4744-a932-0658087f49c3
2011-03-25 14:51:44 +00:00
patacongo
72e03e53ea More SLIP integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3384 42af7a65-404d-4744-a932-0658087f49c3
2011-03-15 20:26:34 +00:00
patacongo
1ead79b6d5 More support for SLIP data link protocol
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3370 42af7a65-404d-4744-a932-0658087f49c3
2011-03-12 15:36:28 +00:00
patacongo
499badf219 Incorporate uIP patches
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3274 42af7a65-404d-4744-a932-0658087f49c3
2011-01-23 17:40:10 +00:00
patacongo
a6c935e127 More TCP sequence changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3138 42af7a65-404d-4744-a932-0658087f49c3
2010-11-27 22:50:27 +00:00
patacongo
15ae42fe55 Fix TCP sequence number error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3136 42af7a65-404d-4744-a932-0658087f49c3
2010-11-27 18:01:54 +00:00
patacongo
cb4c3a6c93 Cosmetic renaming of variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3135 42af7a65-404d-4744-a932-0658087f49c3
2010-11-27 01:01:26 +00:00
patacongo
c7ef01622b Eliminate uip_outstanding()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3134 42af7a65-404d-4744-a932-0658087f49c3
2010-11-26 15:54:48 +00:00
patacongo
8c9fbe1199 Fix un-acked backlog coordinatin bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3133 42af7a65-404d-4744-a932-0658087f49c3
2010-11-26 05:26:27 +00:00
patacongo
8bc8539cad uip_arp_ipin needs a struct uip_driver_s as an input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3132 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 20:55:46 +00:00
patacongo
e2449e9858 Restore uip_arp_ipin()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3131 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 20:32:51 +00:00
patacongo
8adc6acf7e Fix compile error when stats enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2801 42af7a65-404d-4744-a932-0658087f49c3
2010-07-14 18:14:00 +00:00
patacongo
1fe85344d7 More cosmetic clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2800 42af7a65-404d-4744-a932-0658087f49c3
2010-07-14 17:17:39 +00:00
patacongo
0ddd63d169 Costmetic clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2799 42af7a65-404d-4744-a932-0658087f49c3
2010-07-14 17:09:45 +00:00
patacongo
0fe1703ff4 Fix preallocation logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2798 42af7a65-404d-4744-a932-0658087f49c3
2010-07-14 03:30:43 +00:00
patacongo
bb4a701c33 Outgoing IGMP is functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2797 42af7a65-404d-4744-a932-0658087f49c3
2010-07-14 01:57:00 +00:00
patacongo
a3910e4b02 IGMP debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2791 42af7a65-404d-4744-a932-0658087f49c3
2010-07-13 03:43:06 +00:00
patacongo
f5cb4c9d30 IGMP debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2790 42af7a65-404d-4744-a932-0658087f49c3
2010-07-13 02:29:09 +00:00
patacongo
3a71f0ac59 Add IGMP user interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2786 42af7a65-404d-4744-a932-0658087f49c3
2010-07-11 18:10:22 +00:00
patacongo
17db18e5f6 Add IGMP send logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2785 42af7a65-404d-4744-a932-0658087f49c3
2010-07-11 15:57:11 +00:00
patacongo
7dceb00a39 Add support for multicast MAC addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2784 42af7a65-404d-4744-a932-0658087f49c3
2010-07-11 15:17:11 +00:00
patacongo
433e960892 More IGMP logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2783 42af7a65-404d-4744-a932-0658087f49c3
2010-07-10 21:58:45 +00:00
patacongo
91c14a454c Add IGMP timer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2782 42af7a65-404d-4744-a932-0658087f49c3
2010-07-10 19:47:37 +00:00
patacongo
afae22ae96 More IGMP logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2781 42af7a65-404d-4744-a932-0658087f49c3
2010-07-10 17:02:52 +00:00
patacongo
9086653ed4 More IGMP logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2780 42af7a65-404d-4744-a932-0658087f49c3
2010-07-10 01:20:34 +00:00
patacongo
1aac40d813 More IGMP logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2779 42af7a65-404d-4744-a932-0658087f49c3
2010-07-08 03:04:04 +00:00
patacongo
49396d3cfb Add IGMP initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2778 42af7a65-404d-4744-a932-0658087f49c3
2010-07-08 01:48:16 +00:00
patacongo
53d3022e91 More IGMP changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2777 42af7a65-404d-4744-a932-0658087f49c3
2010-07-08 00:59:51 +00:00
patacongo
c8968f4318 IGMP header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2775 42af7a65-404d-4744-a932-0658087f49c3
2010-07-06 01:41:53 +00:00
patacongo
7d63ffbf72 Fix an error in the handling of TCP/IP sequence numbers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2392 42af7a65-404d-4744-a932-0658087f49c3
2009-12-19 22:05:12 +00:00
patacongo
06fb21e3b8 Need to include assert.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2366 42af7a65-404d-4744-a932-0658087f49c3
2009-12-17 15:01:22 +00:00
patacongo
92e71b0b94 Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2344 42af7a65-404d-4744-a932-0658087f49c3
2009-12-15 14:53:45 +00:00
patacongo
01ba4b6d05 Consulting wrong list to see if socket is listening for a connection
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2069 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:28:30 +00:00
patacongo
83a53449f1 Reference count must be zero before calling uip_tcpfree()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2065 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 16:28:53 +00:00
patacongo
713c8d5965 Fix reference counting errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2056 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 17:17:51 +00:00
patacongo
59acff806c Use lldbg() instead of dbg() in interrupt level logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2054 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 15:44:14 +00:00
patacongo
44f3418b18 Remove check for outstanding un-ACKed data in TX poll
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2038 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 20:32:02 +00:00
patacongo
80113f7d41 Fix race condition that can cause close of socket to hang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2037 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 19:31:52 +00:00
patacongo
c8dec461fc Clean up THTTPD watch handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2036 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 18:21:57 +00:00
patacongo
27ba470482 Fix race condition bug in poll() for backlogged connections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2032 42af7a65-404d-4744-a932-0658087f49c3
2009-09-10 22:55:52 +00:00
patacongo
570d52d5a5 Cosmetic, synchronize source files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2030 42af7a65-404d-4744-a932-0658087f49c3
2009-09-09 13:46:35 +00:00
patacongo
e72dce9e1b Consolidate buffer dumping; fix all occurrences of 'the the'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1951 42af7a65-404d-4744-a932-0658087f49c3
2009-06-25 17:44:35 +00:00
patacongo
6ad27ed177 Reserved word 'private' in C header files is a problem for C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1890 42af7a65-404d-4744-a932-0658087f49c3
2009-06-16 23:23:31 +00:00
patacongo
fdf76b48bc dup() and dup2() support for socket descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1884 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 18:58:22 +00:00
patacongo
249eefc1d9 Expose more ARP APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1633 42af7a65-404d-4744-a932-0658087f49c3
2009-03-21 16:00:20 +00:00
patacongo
3ace875471 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1626 42af7a65-404d-4744-a932-0658087f49c3
2009-03-19 00:18:34 +00:00
patacongo
8a850fb963 If port=0, UDP should select a port number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1625 42af7a65-404d-4744-a932-0658087f49c3
2009-03-19 00:18:21 +00:00
patacongo
85721ef2aa Back out part of last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1619 42af7a65-404d-4744-a932-0658087f49c3
2009-03-16 10:44:59 +00:00
patacongo
c931fc4752 Better fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1618 42af7a65-404d-4744-a932-0658087f49c3
2009-03-16 01:05:55 +00:00
patacongo
7f9d35a3c4 Fix calculation of checksum on outgoing ping responses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1617 42af7a65-404d-4744-a932-0658087f49c3
2009-03-16 00:09:31 +00:00
patacongo
e1502fe8c1 Typo introduced in previous check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1604 42af7a65-404d-4744-a932-0658087f49c3
2009-03-14 15:46:50 +00:00
patacongo
e3fb74656d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1577 42af7a65-404d-4744-a932-0658087f49c3
2009-03-08 18:58:01 +00:00
patacongo
0a4a5afc67 Add more debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1576 42af7a65-404d-4744-a932-0658087f49c3
2009-03-08 18:57:27 +00:00
patacongo
39b5dd41b6 Changes to work around bug in ZDS compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1575 42af7a65-404d-4744-a932-0658087f49c3
2009-03-08 14:42:36 +00:00
patacongo
8af0d8ce8f Seemingly un-necessary changes but works around some bad ZDS behavior
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1570 42af7a65-404d-4744-a932-0658087f49c3
2009-03-07 23:26:33 +00:00
patacongo
6930fc4262 Name changes for ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1453 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 18:57:05 +00:00
patacongo
1d66317ea8 Eliminate warnings with ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1448 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 16:55:31 +00:00
patacongo
401c825ddd Add multicast support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1307 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 13:39:09 +00:00
patacongo
55bdcc37ab Change from doubly- to singly-linked lists
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1297 42af7a65-404d-4744-a932-0658087f49c3
2008-11-21 12:47:36 +00:00
patacongo
9fe041fff5 Completed integration of TCP connection backlog and poll()/select() for connections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1295 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 21:50:55 +00:00
patacongo
73a6fc026d Add support for TCP/IP connection backlog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1294 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 19:24:06 +00:00
patacongo
2189a692ed Corrected a bug in the buffering of TCP data
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1289 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 20:05:55 +00:00
patacongo
5d0513e1a1 Eliminate warnings in ARM build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@883 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 02:19:47 +00:00
patacongo
d57bd6fd56 ping() integrated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@872 42af7a65-404d-4744-a932-0658087f49c3
2008-09-03 16:14:00 +00:00
patacongo
9e16305afd Fix ICMP and UDP IP checksums
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@871 42af7a65-404d-4744-a932-0658087f49c3
2008-09-03 14:57:36 +00:00