Commit Graph

299 Commits

Author SHA1 Message Date
patacongo
45acebc2f9 Add support so that fdopen() may be used on socket descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3659 42af7a65-404d-4744-a932-0658087f49c3
2011-06-02 15:05:48 +00:00
patacongo
9e58d1a0d6 Add getsockname()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3650 42af7a65-404d-4744-a932-0658087f49c3
2011-05-30 14:26:04 +00:00
patacongo
843af193c2 Fix bad conditional compilation that breaks THTTPD and dup2()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3511 42af7a65-404d-4744-a932-0658087f49c3
2011-04-16 01:04:17 +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
bae9dce323 Move memory manager into user space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3460 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 20:41:49 +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
48b7fd9503 SLIP is now basically functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3386 42af7a65-404d-4744-a932-0658087f49c3
2011-03-16 02:10:51 +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
53c68bf74e Basic SLIP functionality -- but there are issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3382 42af7a65-404d-4744-a932-0658087f49c3
2011-03-15 01:54:49 +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
2cae8e7d8c Make size of LPC1766 EMAC RAM configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3142 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 13:37:41 +00:00
patacongo
c504b06411 Files needed to make LPC17xx EMAC RAM more configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3141 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 01:04:11 +00:00
patacongo
dcc9abe19b Fix missing ARP entry problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3139 42af7a65-404d-4744-a932-0658087f49c3
2010-11-27 23:15:39 +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
23ed592d4c Add LM3S6965 NSH configuration + Prep for 5.5 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2659 42af7a65-404d-4744-a932-0658087f49c3
2010-05-09 16:36:07 +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
192d229b8d Fixing LM3S httpd example (still broken)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2390 42af7a65-404d-4744-a932-0658087f49c3
2009-12-18 22:21:20 +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
05d9fdd61e 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@2346 42af7a65-404d-4744-a932-0658087f49c3
2009-12-15 15:57:25 +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
12023242c8 Sockets were not being closed when a task exits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2070 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:29:00 +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
5b5b170f0f Fix some errno reporting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2068 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:27:00 +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
2035b33670 Fix errors in return value from non-blocking read
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2018 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 17:19:08 +00:00
patacongo
3ec3bfdcc8 accept() now supports non-blocking operations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2011 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 23:35:27 +00:00
patacongo
7c2070bc83 Fix accept() -- it wanted parts of return address initialized
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2008 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 16:31:50 +00:00
patacongo
7c8051a574 THTTPD now gets past initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2007 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 16:08:20 +00:00
patacongo
4322c23e43 Initialize THTTPD integration changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2006 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 15:08:09 +00:00
patacongo
ea16dce2f3 Fix some ez80 compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2005 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 13:24:47 +00:00
patacongo
b63c500c14 Add non-blocking capability for TCP sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1996 42af7a65-404d-4744-a932-0658087f49c3
2009-07-19 13:50:08 +00:00
patacongo
297cb5e256 Add fcntl(F_DUPFD)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1995 42af7a65-404d-4744-a932-0658087f49c3
2009-07-19 00:14:46 +00:00
patacongo
e68c54fea0 Still fleshing out THTTPD example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1994 42af7a65-404d-4744-a932-0658087f49c3
2009-07-18 22:59:44 +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
e29fdf0267 Add conditional compilation to eliminate or limit cloning of descriptors when a new task is created
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1886 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 21:44:27 +00:00
patacongo
e9711ca1a7 Add logic to clone socket descriptors when a new task is started.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1885 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 19:50:06 +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
5cc7066b41 Changes for clean build on ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1637 42af7a65-404d-4744-a932-0658087f49c3
2009-03-21 19:56:54 +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
dd85c333d4 Fix some debug statements that print long as int
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1612 42af7a65-404d-4744-a932-0658087f49c3
2009-03-15 16:02:25 +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
e8a4d3516b cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1572 42af7a65-404d-4744-a932-0658087f49c3
2009-03-07 23:28:10 +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
a6c528bcd1 More fixes for picky ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1454 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 19:02:28 +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
bb45db5b2e Filename changes needed by ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1452 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 18:33:36 +00:00
patacongo
1a3d9672fe Fix compile error only noted with ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1449 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 16:55:51 +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
74e239317c cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1444 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 02:18:34 +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
cf12e1690e Move poll save area back into struct pollfd (as it was
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1288 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 18:43:50 +00:00
patacongo
0985c273fa Move poll storage slot from pollfd struct to socket struct
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1286 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 02:40:09 +00:00
patacongo
0dd623a473 Basic setup of network select
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1278 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 22:14:25 +00:00
patacongo
b2b69f173b Implement poll/select for sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1277 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 17:30:30 +00:00
patacongo
8e53b72627 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1276 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 17:24:50 +00:00
patacongo
72d4fbf168 Poll API may be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1259 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 22:05:28 +00:00
patacongo
dbda581f26 Add infrastructure to support poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1258 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 18:48:29 +00:00
patacongo
59fab4f74b Fix recvfrom port bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@886 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 16:45:28 +00:00
patacongo
a9bc69b83e TFTP Get integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@885 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 15:44:41 +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
patacongo
4dd12b73af Add NSH ping command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@870 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 23:04:10 +00:00
patacongo
51a1ea2774 sendto.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@868 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 20:38:12 +00:00
patacongo
ff89809755 Fix timeout setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@867 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 20:36:10 +00:00
patacongo
6dad5e248b Verify UDP support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@859 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 15:22:54 +00:00
patacongo
ad1e5e145b Add uIP support more multi-threaded socket access
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@858 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 13:59:54 +00:00
patacongo
67814a8f49 Fixes for clean Neuros OSD NSH build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@851 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:29:42 +00:00
patacongo
360cc0a648 typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@799 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 17:22:22 +00:00
patacongo
291270beb5 Using tool-specific clean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@545 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:23:08 +00:00
patacongo
d8b91b19e5 Make logic reorganized for non-GNU toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@528 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 17:06:21 +00:00
patacongo
131931c877 Reduce make output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@526 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 13:41:00 +00:00
patacongo
c5a589f25b Add support for tools that can't make dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@522 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 00:19:24 +00:00
patacongo
23e67efbbd Moved MAC and ethernet definitions to include/net/ethernet.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@443 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:28:16 +00:00
patacongo
ea50c50b47 eliminate some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@442 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:27:11 +00:00
patacongo
15c9ab962a Add netdev_foreach()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@439 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:23:16 +00:00
patacongo
32b30abf8f Workaround for ARM optimization bug: Use memcmp/memcpy when working with arrays
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@435 42af7a65-404d-4744-a932-0658087f49c3
2007-12-10 16:28:08 +00:00
patacongo
a932e62067 Improved read-ahead buffer management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@430 42af7a65-404d-4744-a932-0658087f49c3
2007-12-06 23:10:31 +00:00
patacongo
c3b6c26c1b First clean C5471 Ethernet compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@424 42af7a65-404d-4744-a932-0658087f49c3
2007-12-04 20:23:43 +00:00
patacongo
3e64d53637 Add TELNET front end to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@421 42af7a65-404d-4744-a932-0658087f49c3
2007-12-02 18:18:59 +00:00
patacongo
4c54d7d07e Add send() timeout logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@420 42af7a65-404d-4744-a932-0658087f49c3
2007-12-02 15:11:32 +00:00
patacongo
929a52b3e0 Basic DHPC client functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@419 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 23:15:06 +00:00
patacongo
fedadd3064 correct handling of UDP broadcast
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@418 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 23:12:11 +00:00
patacongo
c3669a3104 Fix UDP recvfrom timeout logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@417 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 21:45:41 +00:00
patacongo
4ca632d1e6 Fix error in BROADCAST=y compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@416 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 21:08:29 +00:00
patacongo
5fe8b2974d Add examples/dhcpd
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@413 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 20:46:29 +00:00
patacongo
77aca3e58f Remove commented out logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@411 42af7a65-404d-4744-a932-0658087f49c3
2007-11-28 18:17:04 +00:00
patacongo
a89062967e Improve send/close performance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@410 42af7a65-404d-4744-a932-0658087f49c3
2007-11-28 15:25:09 +00:00
patacongo
34e4d846a6 Fixed missing logic in readahead buffer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@409 42af7a65-404d-4744-a932-0658087f49c3
2007-11-27 19:19:30 +00:00
patacongo
9a0b25efcd Must disconnect TCP socket on close()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@405 42af7a65-404d-4744-a932-0658087f49c3
2007-11-24 13:02:03 +00:00
patacongo
b72a7ab50b Debug can now be selectively enabled by subystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@404 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 22:32:52 +00:00
patacongo
2d9b57758b Removed unused uIP files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@403 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 21:16:43 +00:00
patacongo
2ce5085cc8 Verified recvfrom()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@402 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 19:25:39 +00:00
patacongo
ef651cc6bc Debug UDP send logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@401 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 13:31:28 +00:00
patacongo
961336e574 Added UDP test/example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@400 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 21:59:30 +00:00
patacongo
5a508351e4 TCP and ICMP protocols may now be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@398 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 18:36:46 +00:00
patacongo
99c94d9cbe Add TX data notification
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@397 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 14:42:52 +00:00
patacongo
21c9f463a2 Fix confusion in listening socket vs accepted sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@395 42af7a65-404d-4744-a932-0658087f49c3
2007-11-21 23:30:24 +00:00
patacongo
7d1031cc71 Fix leak in socket close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@394 42af7a65-404d-4744-a932-0658087f49c3
2007-11-21 23:29:14 +00:00
patacongo
295bf51f3f Fix TCP list managment bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@392 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 21:55:06 +00:00
patacongo
27192d3a00 Prep for 0.3.1 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@389 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 01:26:34 +00:00
patacongo
ab1f88c3b8 Need to free any readahead buffers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@388 42af7a65-404d-4744-a932-0658087f49c3
2007-11-19 23:35:42 +00:00
patacongo
0e1b8b8b11 Add TCP readahead logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@387 42af7a65-404d-4744-a932-0658087f49c3
2007-11-19 23:09:39 +00:00
patacongo
dd0e40bbed Fix DM90x0 driver problem that caused TX overruns
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@384 42af7a65-404d-4744-a932-0658087f49c3
2007-11-17 14:28:10 +00:00