Gregory Nutt
ce75017d7c
Networking: net/neighbor/Make.defs was not being included by Makefile
2015-01-19 10:36:22 -06:00
Gregory Nutt
adc91965ed
NSH library: Disable put and get commends of TFTP client is not enabled; disable wget command if web client is not enabled
2015-01-19 10:32:46 -06:00
Gregory Nutt
2842b5c5d6
Networking: Fix some problems with debug is enabled; fix a warning
2015-01-19 10:16:37 -06:00
Gregory Nutt
59c0757183
Fix a few more dangling IPv6 issues found by code inspection
2015-01-18 10:33:27 -06:00
Gregory Nutt
eb3c6e8390
Networking: Some fixes for compilation when both IPv4 and IPv6 are enabled
2015-01-18 09:23:22 -06:00
Gregory Nutt
f7663ef0ab
Networking: Final detangle off IPv4 and IPv6 TCP/UDP send logic. The Networking subsystem now compiles with IPv6 enabled
2015-01-18 08:56:05 -06:00
Gregory Nutt
ea52bda8f9
Networking: Add IPv6 suppport to TCP application level sending logic
2015-01-17 18:18:19 -06:00
Gregory Nutt
d8b046f2fb
Networking: Fix a simple IPv6 compile error
2015-01-17 17:48:15 -06:00
Gregory Nutt
2a2c925259
Merge remote-tracking branch 'origin/master' into ipv6
2015-01-17 17:08:22 -06:00
Gregory Nutt
86f617cc88
Networking: Straighten up use if IPv6/IPv4 in TCP connection logic
2015-01-17 17:07:54 -06:00
Gregory Nutt
cfbe12adb2
Networking: Fix some errors detected by Travis in configuration that have TCP on and UDP off and vice versa
2015-01-17 17:00:19 -06:00
Gregory Nutt
b187b4f381
Networking: Straighten up use if IPv6/IPv4 in TCP connection logic
2015-01-17 15:17:35 -06:00
Gregory Nutt
b80cdb3880
Fix a few warnings introduced with the last commit
2015-01-17 14:25:40 -06:00
Gregory Nutt
f7681dbb43
Networking: Detangling IPv6/4 logic in UDP connection structures
2015-01-17 14:13:56 -06:00
Gregory Nutt
94f9312150
Networking: Save the IP domain in the connection structure
2015-01-17 13:07:48 -06:00
Gregory Nutt
4a0eb1f0b1
Networking: Calculation of TCP and UDP checksums differ with IPv4 and IPv6
2015-01-17 12:31:39 -06:00
Gregory Nutt
e2933ca4cc
Networking: Oops. Forgot to add a couple of files that were part of an earlier commit
2015-01-17 09:35:27 -06:00
Gregory Nutt
820509eadc
Networking: Fix accept() so that it returns the correct IP address for the selected socket IP domain.
2015-01-17 09:27:05 -06:00
Gregory Nutt
4ad5998db3
net/socket and net/tcp: When we are ready to receive data or when we have outgoing data ready to be sent, we need to the notify the appropriate device driver of this condition. The notifying socket will be configured as either PF_INET or PF_INET6 and must look up the correct driver using the correct IP domain.
2015-01-17 08:33:14 -06:00
Gregory Nutt
2c251d845c
include/net/if.h: Add a bit to the device flags to indicate if the device packet buffer holds an IPv4 or an IPv6 domain packet. Set/clear the flag along with the correct offset to the application payload data as each packet is received.
...
net/socket, net/tcp, net/udp: Add logic to select the domain of the outputgoing packet before sending any UDP or TCP packet. This sets the bit to indicate the IPv4 or IPv6 domain and the correct offset to the output going payload data.
2015-01-17 07:42:09 -06:00
Gregory Nutt
88a0e82934
Networking: Remove field d_sndata from the device structure. It is the same as d_appdata and unnecessary
2015-01-17 05:59:13 -06:00
Gregory Nutt
0f364f6ae6
Networking: Move net/ipv6 to net/neighbor
2015-01-16 16:49:48 -06:00
Gregory Nutt
8f8259a0d6
Networking: UDP and TCP MSS depends on the IP header size (as well as the link layer header size) and cannot be represented with a single value.
2015-01-16 15:03:10 -06:00
Gregory Nutt
2663538b0a
Networking: Replace all references to the macros net_ipaddr_copy, net_ipaddr_hdrcopy, net_ipaddr_cmp, net_ipaddr_hdrcmp, and net_ipaddr_maskcmp with the appropriate IPv4 or IPv6 version of the macro (such as net_ipv4addr_copy). The goal is to support both IPv4 and IPv6 simultaneously. This requires that the macros be distinct and not conditionally defined to one on or the other.
2015-01-16 13:01:08 -06:00
Gregory Nutt
5e938941a6
Networking: Replace all references to net_ipaddr_t with either in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t.
2015-01-16 12:30:18 -06:00
Gregory Nutt
bee89be4f4
Networking: Drivers can have both IPv4 and IPv6 addesses, but a socket can only only one or the other; The socket connnection structures need to include a union of IPv4 and IPv6 addresses for the local address binding and for the remote address connections
2015-01-16 10:01:54 -06:00
Gregory Nutt
fe8b3c5220
Networking: More detangling of IPv6 logic. Next steps will be more invasive and will get moved to a branch
2015-01-16 08:51:18 -06:00
Gregory Nutt
5b45605991
Clean a few more IPv6 compilation issues; Add implementation of net_ipv6_maskcmp()
2015-01-15 15:55:52 -06:00
Gregory Nutt
630366272a
Networking: Seperate tcp_input() and udp_input() into seprate functions tcp_ipv4_input(), tcp_ipv6_input(), udp_ipv4_input(), and upd_ipv6_input() than can deal will the data offsets caused by the differing sizes of the IP header.
2015-01-15 15:06:46 -06:00
Gregory Nutt
60e50ff3b5
Networking: More IPv6 detanglement
2015-01-15 13:08:28 -06:00
Gregory Nutt
5a441ce03b
Networking: Misck IPv6 detanglement
2015-01-15 12:19:44 -06:00
Gregory Nutt
89538ac4a2
- Rename devif_input() ipv4_input()
...
- Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
a49f0231d2
Networking: A few more IPv6-related fixes
2015-01-14 18:34:28 -06:00
Gregory Nutt
a7ce1279f9
Networking: (1) Copied all ICMP sources files to net/icmpv6 with proper renaming and removal of IPv4 logic, (2) remove IPv6 logic from files in net/icmp, (3) copied include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4) removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and ipv6_chksum(), and (7) added partial support for ICMPv6 statistics.
2015-01-14 16:10:38 -06:00
Gregory Nutt
99a18c84ff
Networking: Remove all logic conditioned upon IPv6 from the net/icmp/directory
2015-01-14 14:47:40 -06:00
Gregory Nutt
fcd65e9d7d
Networking: Make a home for ICMPv6
2015-01-14 14:26:50 -06:00
Gregory Nutt
7d68c22d7f
Networking: Add support for IPv6 ioctls
2015-01-14 13:03:12 -06:00
Gregory Nutt
babe9cf08e
Network: Add an IPv4 configuration option. Hardcoded to =y for now, but I would like to be able to select IPv4 and/or IPv6 in the future
2015-01-14 10:51:09 -06:00
Gregory Nutt
a6a9452c05
net/tcp/tcp_conn.c: Fix a logic error when CONFIG_NETDEV_MULTINIC is selected: net_unlock(flags) will be called will an uninitialized variable (2015-01-03).
2015-01-02 12:03:08 -06:00
Gregory Nutt
1aa528a572
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 14:10:35 -06:00
Gregory Nutt
6a3a2f466c
Update comments and README
2014-11-24 07:25:40 -06:00
Gregory Nutt
8de38d719a
Fix included IPv6 file name
2014-11-24 07:25:03 -06:00
Gregory Nutt
aa9700c1ab
Update comments and read me
2014-11-23 12:52:18 -06:00
Gregory Nutt
b36dbe1d89
Add logic to netdev_findbyaddr() to return the correct network device for the case where a broadcast address is used. This change caused trivial ripples through other files because additional parameters are required for netdev_findbyaddr() when CONFIG_NET_MULTINIC
2014-11-23 11:00:22 -06:00
Gregory Nutt
43d036f587
Network routing: Refuse to perform routing table lookups for the Broadcast IP address. From Brennan Ashton
2014-11-23 08:36:34 -06:00
Gregory Nutt
d2a323ca19
Back inclusion of ipv6.h
2014-11-22 13:26:27 -06:00
Gregory Nutt
dc7a45ecf8
Extensions to ECP conneciton structure for the case of multiple networks. See additional comments regarding the similar change for UDP
2014-11-22 10:46:37 -06:00
Gregory Nutt
fbd82712da
Add a comment
2014-11-22 09:08:31 -06:00
Gregory Nutt
d76ed2cbc5
Fix UDP routing error in last commit
2014-11-22 09:08:06 -06:00
Gregory Nutt
251249a954
Back out a misconception about INADDR_ANY introduce with some previous commits
2014-11-22 07:55:45 -06:00
Gregory Nutt
80fc094734
Make tcp_listener static scope; it is not used outside of tcp_conn.c
2014-11-22 07:14:17 -06:00
Gregory Nutt
2c2b5e6738
Fix routing of muli-network UDP packets
2014-11-21 17:44:12 -06:00
Gregory Nutt
15c07e0d67
Network: Misc changes to UDP bind logic for the case of multiple networks
2014-11-21 17:00:08 -06:00
Gregory Nutt
4dd021f351
Some ideas for how port assignments might work with multiple network interfaces
2014-11-21 14:21:30 -06:00
Gregory Nutt
fbedc361bb
File missed in previous commit
2014-11-21 14:19:36 -06:00
Gregory Nutt
735aa4289a
Network: Add logic to get a default network device (for the case where are multiple devices). For INADDR_ANY
2014-11-21 14:14:39 -06:00
Gregory Nutt
d297b623b4
Network: Add a file of IPv6 globals
2014-11-21 14:10:25 -06:00
Gregory Nutt
c64cb19861
Move IP header flags from tcp.h to ip.h and rename IP_FLAGS vs TCPFLAGS. The problem fixed here is that there IP flags were not available when TCP was disabled. The IP flags are used in ICMP and IGFMP
2014-11-17 17:16:46 -06:00
Gregory Nutt
8b2b7afdae
Update TODO; Cosmetic changes to comments
2014-11-17 15:34:50 -06:00
Gregory Nutt
57bcb28991
changes for clean build with Ethernet+SLIP
2014-11-16 11:27:53 -06:00
Gregory Nutt
38754a3466
Completes basic changes to support per-device/per-link TCP receive window size
2014-11-16 11:15:21 -06:00
Gregory Nutt
2340d46d20
Rename NET_LL_MTU to NET_DEV_MTU; rename d_llmtu to d_mtu
2014-11-16 10:42:19 -06:00
Gregory Nutt
859748a94e
Completes conversion of CONFIG_NET_BUFIZE to CONFIG_NET_ETH/SLIP_MTU
2014-11-16 09:22:38 -06:00
Gregory Nutt
ca7486d7f3
Add link MTU size to network device structure.
2014-11-16 08:49:14 -06:00
Gregory Nutt
51adb90e9a
Network: Update SLIP configuration; Fix compile issues when building SLIP only
2014-11-15 14:36:49 -06:00
Gregory Nutt
daa94934eb
Network: netdev_register() must assign the device name appropriately according to the link layer type
2014-11-15 14:21:11 -06:00
Gregory Nutt
08de18c1a6
Network: Various fixes for clean compile with both Ethernet and SLIP
2014-11-15 13:52:39 -06:00
Gregory Nutt
2e55db369d
Network: All logic will now handle varialbe length link layer protocol headers within incoming packets. This permits use of multiple network interfaces with differing data links. For example, ETHERNET + SLIP
2014-11-15 13:13:23 -06:00
Gregory Nutt
a831ab21bc
Merge remote-tracking branch 'origin/master' into llhdrlen
2014-11-15 10:04:49 -06:00
Gregory Nutt
ebb6fd1e9c
Resove merge conflicts
2014-11-15 10:04:33 -06:00
Gregory Nutt
25d787ff12
Remove use of NET_LL_HDRLEN from net/arp logic. Use ETH_HDRLEN instead
2014-11-15 09:13:50 -06:00
Gregory Nutt
2b758537ea
Network: Misc fixes for clean complete with both Ethernet and SLIP enabled
2014-11-15 08:55:50 -06:00
Gregory Nutt
388ef8db1a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
64d18bfe12
NET: Fix some some more ARP/Ethernet releated configuration
2014-11-14 21:22:45 -06:00
Gregory Nutt
0d7c378e4e
Costmetic change
2014-11-14 18:51:57 -06:00
Gregory Nutt
ebdff66c8b
ARP: Add support for the case where there are multiple networks: One being Etherenet and the other not (say slip or perhaps someday PPP). In that case, we need to suppress ARP-related operations on the SLIP/PPP interface only
2014-11-14 18:25:33 -06:00
Gregory Nutt
e03c764d92
I don't think that the net_route function has ever worked correctly. The source ip was updated in the match struct instead of the route ip. From Brennan Ashton.
2014-11-14 16:45:25 -06:00
Gregory Nutt
8e5ae2ee18
EFM32: Fix typo in connecting ODD GPIO interrupt. Noted by Pierre
2014-11-08 06:18:21 -06:00
Gregory Nutt
ae3cc327c7
AIO now also supports socket transfers
2014-10-11 08:15:23 -06:00
Gregory Nutt
0abe6c66d7
Update everything under nuttx/net to use the corrected syslog interfaces
2014-10-08 10:48:11 -06:00
Gregory Nutt
d914f3ceec
Major structure of file system functions to better support asynchronous I/O. Respository should not be trusted until I have a chance to verify everything
2014-10-06 10:53:25 -06:00
Gregory Nutt
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
1780810d3d
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
ad9b3f8ab8
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
2014-08-21 11:16:55 -06:00
Gregory Nutt
21add71646
ARP reuestion logc needs to do the right thing if (1) the address is a broadcast or multicast address, and (2) if the IP address lies outside of the network. Thanks to Manuel Stuehn
2014-08-20 07:09:02 -06:00
Gregory Nutt
27cc2a3fc3
ARP request logic is no longer EXPERIMENTAL
2014-08-20 07:07:24 -06:00
Gregory Nutt
8e84282c05
ARP: Fix bid conversion from msec to nsec
2014-08-19 08:37:14 -06:00
Gregory Nutt
a9ca05266b
Update ChangeLog
2014-08-19 07:52:52 -06:00
Gregory Nutt
9662f1750c
ARP: Add signal logic so that we do not have to wait so long with the network responses to ARP requests quickly
2014-08-19 07:47:32 -06:00
Gregory Nutt
4bba611dc6
Move some internal networking function protoypes out of the public include/nuttx/net/arp.h into to the private net/arp/arp.h
2014-08-18 16:35:20 -06:00
Gregory Nutt
6e04518e4a
If CONFIG_NET_ARP_SEND is enabled, then all ICMP, TCP, and UDP send operations will call arp_send() before attempting the real send operation. arp_send() will check if the the IP address mapping is in the ARP table and, if not send ARP requests periodically until it is. This eliminates losing the first outgoing message because there is not mapping in the ARP table.
2014-08-18 16:22:14 -06:00
Gregory Nutt
548fda7834
arp_poll(): inished the implementation of logic to send ARP requests. Complete, fully hooked into the networking logic, and ready for test (but still untested)
2014-08-18 15:24:51 -06:00
Gregory Nutt
b440fa18ca
arp_send.c: Partial implementation of logic to send ARP requests to assure that an IP address mapping is present in the ARP table
2014-08-18 14:29:02 -06:00
Gregory Nutt
ec429fdf00
PKT sockets: Change how the IFF_NOARP flag is handled. This should be set only when data is moved into the buffer and cleared after tested by the ARP logic. Setting it globally can cause packets to be sent with no valid MAC addresses
2014-08-18 13:42:51 -06:00
Gregory Nutt
1a7e1fb93b
arp_format.c: Move the logic that formats an ARP packet into a separate file where it can be re-used.
2014-08-18 12:37:40 -06:00
Gregory Nutt
1323ab9352
Move arp_arpin() from arp_inout.c to its own file. Rename arp_inout.c to arpipin.c because that is all that is left in the file
2014-08-18 11:36:39 -06:00
Gregory Nutt
6f1d354ef1
Move arp_out() from arp_inout.c to its own file
2014-08-18 11:21:53 -06:00
Gregory Nutt
985c016150
ARP: Add missing configuration option to select dumping of ARP packet headers. Move ARP dumping logic from arp_inout.c to its own file
2014-08-18 11:08:15 -06:00
Gregory Nutt
057af36c1d
More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic
2014-08-16 15:04:09 -06:00
Gregory Nutt
eb5e2e4b20
Finishes the ioctl definition to subscribe to PHY events. Revamp network ioctl signature to support arguments other than struct mii_ioctl_data.
2014-08-16 14:08:04 -06:00
Gregory Nutt
e463730c2f
A little too much was deleted in a recent commit
2014-08-16 12:52:28 -06:00
Gregory Nutt
79e098b20e
Clean missing function headers
2014-08-16 10:24:06 -06:00
Gregory Nutt
caba61999a
Remove CONFIG_DISABLE_CLOCK
2014-08-07 12:35:24 -06:00
Gregory Nutt
cab24a4bd8
Add inclusion of assert.h to so files that use DEBUGASSERT
2014-07-21 18:46:47 -06:00
Gregory Nutt
4f60bfb485
IOB: Change suggested by Rony Xln
2014-07-08 07:13:50 -06:00
Gregory Nutt
178b2b0cbe
NET: Important fix to the read-ahead buffer queue managment: Consumed bytes were being trimmed from the head of the queue, but the queue head itself was not being updated. From Rony XLN
2014-07-07 07:28:17 -06:00
Gregory Nutt
e89eac6365
NET: Fix a few problems after big merge of network reorganization
2014-07-06 17:58:36 -06:00
Gregory Nutt
73f3ecf7e2
NET: Rename network interrupt event flags more appropriately: TCP_, UDP_, ICMP_, or PKT_ vs UIP_
2014-07-06 17:22:02 -06:00
Gregory Nutt
a251259f90
NET: Rename some non-configurable constants UIP_ to IP_ or TCP_
2014-07-06 16:19:26 -06:00
Gregory Nutt
b77fda2c95
NET: Rename TCP state values: UIP_ -> TCP_
2014-07-06 16:10:26 -06:00
Gregory Nutt
1f11a452dd
NET: Add a few missing configuration options to the Kconfig files
2014-07-06 13:04:27 -06:00
Gregory Nutt
2d52d70d4c
NET: Move private definitions from include/nuttx/net/tcp to net/tcp/tcp.h
2014-07-06 12:34:27 -06:00
Gregory Nutt
9e87ab90b8
NET: Move private definitions from include/nuttx/net/arp.h to net/arp/arp.h
2014-07-06 11:05:28 -06:00
Gregory Nutt
d392be6f73
NET: Oops. Forgot to add a file before committing
2014-07-05 15:21:13 -06:00
Gregory Nutt
811668cf15
NET: Move most of the contents of include/nuttx/net/igmp.h moved to net/igmp/igmp.h
2014-07-05 15:15:40 -06:00
Gregory Nutt
47a502a5e2
NET: Most of the contents of include/nuttx/net/udp.h moved to net/pkt/udp.h
2014-07-05 14:40:29 -06:00
Gregory Nutt
dc8cba763d
NET: Most of the contents of include/nuttx/net/pkt.h moved to net/pkt/pkt.h
2014-07-05 13:59:22 -06:00
Gregory Nutt
c5fc24e110
NET: Standardize naming of all protocal header lengths
2014-07-05 13:04:48 -06:00
Gregory Nutt
60246e613b
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
0bb153b8cb
Remove all inclusion of uip.h
2014-07-04 16:58:22 -06:00
Gregory Nutt
8615dd0aeb
NET: rename include/net/ip.h to ipopt.h
2014-07-04 16:44:53 -06:00
Gregory Nutt
a6b39d1879
NET: in-progress change... don't use
2014-07-04 16:38:51 -06:00
Gregory Nutt
cce35ce975
NET: More renaming
2014-07-04 15:40:49 -06:00
Gregory Nutt
9f5418e5d3
NET: More renaming
2014-07-03 17:53:16 -06:00
Gregory Nutt
8e9df8ade0
NET: Misc naming clean-up
2014-07-02 17:23:25 -06:00
Gregory Nutt
0526aefb4e
NET: Rename g_uipsem to g_netlock
2014-07-01 18:21:25 -06:00
Gregory Nutt
3e0bd1f1b0
NET: Rename some address comparison macros
2014-07-01 18:11:05 -06:00
Gregory Nutt
96a6c725d5
NET: Some minor clean-up
2014-06-30 19:43:30 -06:00
Gregory Nutt
85f42044df
NET: Rename uip_dataevent to tcp_data_event
2014-06-30 19:17:22 -06:00
Gregory Nutt
b54d366efd
NET: Remove uip_restart()
2014-06-30 19:14:01 -06:00
Gregory Nutt
77330679d4
NET: Rename uip_mss to tcp_mss
2014-06-30 19:09:23 -06:00
Gregory Nutt
5d7915e5ef
NET: Remove uip_stopped and uip_stop
2014-06-30 19:03:01 -06:00
Gregory Nutt
b0c1b7ef47
Rename uip_poll->devif_poll and uip_timer->devif_timer
2014-06-30 18:40:41 -06:00
Gregory Nutt
b18ac3c778
NET: Rename uip_ping to icmp_ping
2014-06-30 18:15:59 -06:00
Gregory Nutt
da7379ed18
Rename uip_input to devif_input
2014-06-30 18:11:17 -06:00
Gregory Nutt
7dd04db1d2
NET: Rename uip_nextXYZconn to XYZ_netconn
2014-06-30 18:03:58 -06:00
Gregory Nutt
ad3e39e53d
NET: Rename uiphdr_ipaddr_copy to net_ipaddr_hdrcopy, uip_ip4addr_conv to net_ip4addr_conv32, and uip_ethaddr_cmp to eth_addr_cmp
2014-06-29 13:20:00 -06:00
Gregory Nutt
c362f21815
NET: Rename uip_ipaddr* to net_ipaddr*
2014-06-29 13:11:08 -06:00
Gregory Nutt
fa68fcc843
NET: Rename uip_callback_s to devif_callback_s
2014-06-29 12:59:34 -06:00
Gregory Nutt
899dc193ca
NET: Renaming of IP address types
2014-06-29 12:22:50 -06:00
Gregory Nutt
5ac94ff988
Fixes for networking and tiny webserver from Max
2014-06-29 09:30:09 -06:00
Gregory Nutt
c179369a47
Rename static functions from uip_* to something more appropriate. Globally scoped functions will take more work
2014-06-28 19:26:16 -06:00
Gregory Nutt
8e706eb4ff
Rename many functions in net/devif from uip_* to devif_*
2014-06-28 18:36:09 -06:00
Gregory Nutt
5790c94ba3
Rename net/uip to net/devif. Rename uip/uip.h to devif/devif.h
2014-06-28 18:07:02 -06:00
Gregory Nutt
3451ce2996
Move IPv6 files from net/uip to net/ipv6
2014-06-28 17:42:34 -06:00
Gregory Nutt
76fa58ee00
Move all socket-related files from net/ to net/socket. Move net/net.h to net/socket/socket.h
2014-06-28 17:25:18 -06:00
Gregory Nutt
64c8dba8c4
NET: Create net/sockets directory and hook into the build/configuration system
2014-06-28 16:41:55 -06:00
Gregory Nutt
d6cf0f5703
Fix another place where sem_tryalloc may be called from the interrupt level. Thanks Manuel
2014-06-28 13:32:42 -06:00
Gregory Nutt
c3c8c86873
NET: Last tweaks were still in the editor
2014-06-28 11:56:48 -06:00
Gregory Nutt
c4fef5d5ff
NET: Another fix for recently introduced networking errors
2014-06-28 11:41:06 -06:00
Gregory Nutt
3b81e58047
NET: Fix some errors in recent network I/O buffering when stack runs from interrupt level
2014-06-28 11:35:14 -06:00
Gregory Nutt
50b749a636
Clean-up naming associated with network checksums
2014-06-27 17:51:32 -06:00
Gregory Nutt
fce2a79abd
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -06:00
Gregory Nutt
d30217eb63
Move net/uip/uip_checksum.c to net/utils/net_chksum.c; fix missing Make.defs include in net/Makefile
2014-06-27 15:42:21 -06:00
Gregory Nutt
081ff02ec9
Add net/README.txt
2014-06-27 15:18:18 -06:00
Gregory Nutt
1db2614c2a
Add missing source of netdev/Kconfig
2014-06-27 10:13:10 -06:00
Gregory Nutt
d8e18e7f96
Move NETDEV config from net/Kconfig to net/netdev/Kconfig
2014-06-27 10:02:14 -06:00
Gregory Nutt
238d9d9694
Fix conflict in ChangeLog
2014-06-27 10:00:28 -06:00
Gregory Nutt
953764181e
NET: Move net/netdev*.c to net/netdev/netdev*.c
2014-06-27 09:56:45 -06:00
Gregory Nutt
f183632aab
Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo
2014-06-27 09:30:41 -06:00
Gregory Nutt
78177071ef
Repartition network intialization functions
2014-06-26 14:36:24 -06:00
Gregory Nutt
64ba574ecc
Move files to net/utils; make appropriate name changes, most for uip_lock to net_lock
2014-06-26 14:23:21 -06:00
Gregory Nutt
d120befd39
NET: Move routing table functions to net/route
2014-06-26 13:02:08 -06:00
Gregory Nutt
e1091251e6
NET: Move statistcs from uip.h to new netstats.h to remove nasty circular inclusion problem.
2014-06-26 09:32:39 -06:00
Gregory Nutt
473ba2ba6c
NET: Fix an include file ordering problem when CONFIG_NET_STATISTICS=
2014-06-26 07:29:16 -06:00
Gregory Nutt
1a2bcebb4a
Clean up some networking configuration menus
2014-06-25 11:01:08 -06:00
Gregory Nutt
579ee6f573
Clean-up packet socket naming
2014-06-25 10:34:52 -06:00
Gregory Nutt
621097b6c8
Rename ip_eth_hdr to eth_hdr_s
2014-06-25 09:57:52 -06:00
Gregory Nutt
f57024406a
Clean up IGMP naming
2014-06-25 09:52:36 -06:00
Gregory Nutt
92d3075ae0
Clean up ICMP naming
2014-06-25 09:12:47 -06:00
Gregory Nutt
abf04708ce
Clean up all UDP-related naming
2014-06-24 18:55:01 -06:00
Gregory Nutt
04985d6d1e
Clean up all TCP-related naming
2014-06-24 18:12:49 -06:00
Gregory Nutt
e2947c37a1
Forget to add a file in last commit
2014-06-24 15:46:10 -06:00
Gregory Nutt
fabcb6d37e
TCP Read-Ahead: Convert to use I/O buffer chains
2014-06-24 15:38:00 -06:00
Gregory Nutt
e9a588c398
Add throttle support to the I/O buffer logic
2014-06-24 11:53:19 -06:00
Gregory Nutt
5d1f8180d4
Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h
2014-06-24 10:14:15 -06:00
Gregory Nutt
37646044ac
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h
2014-06-24 09:28:44 -06:00
Gregory Nutt
626469e30c
Move include/nuttx/net/uipopt.h to include/nuttx/net/netconfig.h
2014-06-24 08:53:28 -06:00
Gregory Nutt
4108a67b80
Net PKT: Suppress ARP requests for packet socket transfers
2014-06-24 08:33:58 -06:00
Gregory Nutt
0520270733
Net PKT: Suppress ARP requests for packet socket transfers
2014-06-24 08:22:12 -06:00
Gregory Nutt
38c6e41e8e
Separate net/net_send_buffered.c and net/net_send_unbuffered.c to net/tcp/tcp_send_buffered.c, net/tcp/tcp_send_unbuffered.c, and pkt/pkt_send.c
2014-06-24 08:03:44 -06:00
Gregory Nutt
9022bc63cf
Update Changelog
2014-06-23 19:38:10 -06:00
Gregory Nutt
7330704d36
CONFIG_NET_PKT is compatible with current TCP writebuffering logic because the share too much code; move sending of packet socket data from net_send_unbufferer.c to a new uip/uip_pktsend.c file for consistency
2014-06-23 19:25:16 -06:00
Gregory Nutt
718d9993e6
TCP write buffering: This corrects some of the basic transfer problems. But there are more
2014-06-23 17:31:30 -06:00
Gregory Nutt
240092a025
Merge remote-tracking branch 'origin/master' into netiob
2014-06-23 11:36:03 -06:00
Gregory Nutt
f30cbd1bdf
Remove some spurious spaces in field selectors
2014-06-23 11:29:13 -06:00
Gregory Nutt
30843cf46d
TCP write buffering: Add an offset to buffer dumping logic
2014-06-23 09:40:17 -06:00
Gregory Nutt
963f8f49c5
TCP write buffering: Add length to buffer dumping instrumentation
2014-06-23 07:31:55 -06:00
Gregory Nutt
6f1651d5f2
TCP write buffering: Extend and fix some buffer dumping logic
2014-06-22 18:53:18 -06:00
Gregory Nutt
14c7e2bc3c
Write buffering: Fix a minor retransmission problem
2014-06-22 16:47:32 -06:00
Gregory Nutt
d642616c5b
TCP write buffering: Fix an error in the trim logic
2014-06-22 16:25:26 -06:00
Gregory Nutt
579935bfc1
TCP write buffering: Correct handling of retry counter
2014-06-22 15:27:01 -06:00
Gregory Nutt
82dbbb05b6
Net: First bug fixes for modified write buffer logic
2014-06-22 13:34:09 -06:00
Gregory Nutt
356d25b503
First cut at conversion of write-buffering to use I/O buffer chaings (IOBs)
2014-06-22 11:27:57 -06:00
Gregory Nutt
2805582151
net: Add net/tcp/tcp.h; rename uip_tcpwrbuffer_ to tcp_wrbuffer_*
2014-06-21 15:23:39 -06:00
Gregory Nutt
e940245df9
TCP write buffering: Add buffer allocation check from Max (himax)
2014-06-19 08:31:50 -06:00
Gregory Nutt
8266624d04
Add missing CONFIG_NET_GUARDSIZE to Kconfig
2014-06-19 08:18:46 -06:00
Gregory Nutt
7622706cde
Fix file names in new net/pkt/Make.defs
2014-06-19 07:32:07 -06:00
Gregory Nutt
b9c6b9b425
Networking: Move relevant parts of net/Kconfig to tcp/Kconfig, udp/Kconfig, and pkt/Kconfig
2014-06-18 11:45:55 -06:00
Gregory Nutt
e46ff63eb8
Move Packet files from net/uip to net/pkt
2014-06-18 11:02:52 -06:00
Gregory Nutt
382920b9a9
Move UDP files from net/uip to net/udp
2014-06-18 10:50:09 -06:00
Gregory Nutt
2244dda41a
Move uip/uip_listen.c to tcp/tcp_listen.c
2014-06-18 10:47:47 -06:00
Gregory Nutt
040837eb6c
Move TCP files from net/uip to net/tcp
2014-06-18 10:21:21 -06:00
Gregory Nutt
143959c1ed
Move TCP files from net/uip to net/tcp
2014-06-18 10:18:53 -06:00
Gregory Nutt
28c4cf6d5a
Raw sockets: Various fixes for closing, free connections, TX from Daniel Lazo Sitzer
2014-06-18 09:47:08 -06:00
Gregory Nutt
04e564c9c3
Raw sockets: Various fixes for closing, free connections, TX from Daniel Lazo Sitzer
2014-06-18 09:46:45 -06:00
Gregory Nutt
3ec359d14c
Notify Ethernet driver of TX data availability on raw socket. From Daniel Lazlo Sitzer
2014-06-18 09:44:06 -06:00
Gregory Nutt
b8840dc6de
Cosmetic plus some configuration default changes
2014-06-12 13:32:07 -06:00
Gregory Nutt
bf8f8d3937
Raw sockets: Additional changes for error-free/warning-free compilation
2014-06-12 12:29:58 -06:00
Gregory Nutt
faaf641490
First check-in of Lazlo's PF_PACKET 'raw' socket implementation
2014-06-12 11:52:06 -06:00
Gregory Nutt
96c6f34825
IOB: Remove private data. Not needed
2014-06-12 08:35:59 -06:00
Gregory Nutt
60306a16d7
IOB: remove flags
2014-06-09 13:54:47 -06:00
Gregory Nutt
893bded2e1
Those pesky carriage returns
2014-06-07 11:05:31 -06:00
Gregory Nutt
0f71ea26b1
IOB: Add iob_contig()
2014-06-07 11:01:13 -06:00
Gregory Nutt
a304a73608
IOB: Add queue handling interfaces; improve lists
2014-06-06 09:35:31 -06:00
Gregory Nutt
87917ae782
IOB: Minor improvement to trimhead
2014-06-06 06:23:13 -06:00
Gregory Nutt
fc9b45f39f
IOB: Fix bugs in trimming logic
2014-06-05 18:50:30 -06:00
Gregory Nutt
6a83cc5d17
Add iob_freechain
2014-06-05 13:26:38 -06:00
Gregory Nutt
7ef0fb1460
IOB: Add iob_clone()
2014-06-05 12:56:00 -06:00
Gregory Nutt
d6c1f0e526
IOB: Fix typo in debug assertion
2014-06-05 11:45:55 -06:00
Gregory Nutt
cbb26a9991
IOB: More clean based on change of the last commit
2014-06-05 11:39:17 -06:00
Gregory Nutt
c92645017b
IOB: Need to clone header when deleting the first entry in an I/O buffer chain
2014-06-05 11:19:00 -06:00
Gregory Nutt
3881bf6b5f
IOB: Remove unimplemented VLAN stuff; add unit test and fixes to pass unit test
2014-06-05 10:43:20 -06:00
Gregory Nutt
dad0da617a
Left out some changes in last commit
2014-06-04 12:03:29 -06:00
Gregory Nutt
67d5e8d154
NET: Improvied I/O buffer logic
2014-06-04 09:03:11 -06:00
Gregory Nutt
d10c3923a2
Add iob_copyin()
2014-06-03 14:28:16 -06:00
Gregory Nutt
1a4c219626
NET: Add generic I/O buffering logic
2014-06-03 12:41:34 -06:00
Gregory Nutt
b395eab360
NET: Fix an error in networking Make.defs file
2014-06-03 12:41:06 -06:00
Gregory Nutt
b4453cbd6c
NET: Improvements to TCP connection fallback logic; Not needed with SO_LINGER. From Max Holtzberg
2014-06-02 07:48:05 -06:00
Gregory Nutt
0f5865d588
Notify upper layer when TIME_WAIT or FIN_WAIT2_2 timeout occurs
2014-06-02 07:39:29 -06:00
Gregory Nutt
6a5fdf7fe2
Add CONFIG_NET_ETHERNET (not used yet)
2014-06-01 09:40:23 -06:00
Gregory Nutt
da4277357c
Move arp, icmp, and igmp configuration values into new Kconfig files in those directories
2014-05-30 14:44:07 -06:00
Gregory Nutt
6a766544cc
Files that I forgot to add in the previous commits
2014-05-30 14:32:00 -06:00
Gregory Nutt
02b0085f89
Move ICMP files from net/uip to net/icmp
2014-05-30 13:32:35 -06:00
Gregory Nutt
0e05230c28
Move ICMP files from net/uip to net/icmp
2014-05-30 13:32:10 -06:00
Gregory Nutt
093ecf1e35
Move IGMP files from net/uip to net/igmp
2014-05-30 13:05:19 -06:00
Gregory Nutt
49fa2ff70f
A few build fixes from last, big ARP relocation change
2014-05-30 12:32:20 -06:00
Gregory Nutt
90e4b55e0c
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
2014-05-30 12:13:06 -06:00
Gregory Nutt
649a61813c
Move arp-related files from net/uip to net/arp
2014-05-30 11:14:06 -06:00
Gregory Nutt
2abe0dd6dd
Change all variadic macros to C99 style
2014-05-22 09:01:51 -06:00
Gregory Nutt
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
Gregory Nutt
494387b33b
Make sure that there is one space after for
2014-04-12 13:28:22 -06:00
Gregory Nutt
056aed1274
Make sure that there is one space between while and condition
2014-04-12 13:09:48 -06:00
Gregory Nutt
303cc1902b
Make sure that there is one space between if and condition
2014-04-12 12:53:19 -06:00
Gregory Nutt
dc0211b218
net/uip: Review all files in this directory for coding style and spelling
2014-04-12 12:13:01 -06:00
Gregory Nutt
4702536695
net/: IGMP-related bugfixes from Manuel Stühn
2014-03-24 09:34:17 -06:00
Gregory Nutt
1c258c1c02
Simplify last change to netdev_findbyaddr
2014-03-22 09:24:25 -06:00
Gregory Nutt
baa91448e6
net/netdev_findbyaddr.c: Skip network devices that are in the down state. They have no meaning address
2014-03-20 17:27:59 -06:00
Gregory Nutt
1a2845a4ef
SAM4E-EK: Add an EMAC driver. Initial commit is just a quick port of the SAMA5D3 EMAC driver
2014-03-12 15:03:59 -06:00
Gregory Nutt
f78cc7d88d
networking: Fix one place where the reference count was not being zeroed. This is really a cosmetic fix UNLESS CONFIG_DEBUG_NET is enabled, then it causes assertions
2014-02-25 16:41:11 -06:00
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
Gregory Nutt
d06b7b0afe
Can't test for UIP_CLOSED bit in TCP flags; UIP_CLOSED is defined to be 0
2013-09-25 08:42:31 -06:00
Gregory Nutt
72340b85fe
Add support for multiple PHY selections for multiple Ethernet MAC drivers
2013-09-17 10:52:23 -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
417f2006aa
Missing file change for previous driver-based UDP backlog from Max Holtzberg
2013-09-06 10:19:07 -06:00
Gregory Nutt
209946a055
Update to previous change from Max Holtzberg
2013-09-06 09:34:14 -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
abc006453f
Networking: Fix race condition that can cause missing loss-of-connection events. From Max Holtzberg
2013-09-06 08:25:03 -06:00
Gregory Nutt
bc46b447dc
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -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
4748599a43
.dSYM only needs to be in the same .gitignore files as .exe
2013-05-30 15:02:04 -06:00
Gregory Nutt
7554d2888e
Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files
2013-05-30 14:45:31 -06:00
Gregory Nutt
9d280a58aa
When readahead data is available, poll needs to return POLLIN or POLLRDNORM, not POLLOUT
2013-05-23 07:16:46 -06:00
Gregory Nutt
4d4ece78af
Add MTD partition support plus fix some typos in comments
2013-04-30 12:37:34 -06:00
Gregory Nutt
c9d98ea46c
Implement UDP sendto() timeouts. Currently disabled because it probably unnecessary.
2013-04-30 08:12:54 -06:00
Gregory Nutt
71fb1cfdb1
Networking code should use kfree, not lib_free
2013-04-11 06:54:29 -06:00
Gregory Nutt
82696356c8
Fix bad net_clone.c compilation when CONFIG_NET_SOCKOPTS is not defined
2013-04-05 06:40:40 -06:00
Gregory Nutt
db78b76102
Mostly updates and corrections to .gitignore files
2013-04-04 15:39:50 -06:00
Gregory Nutt
23db0682b7
Clone svn:ignore directory atributed to .gitignore files
2013-04-04 14:27:29 -06:00
patacongo
ebf9960deb
convert Kwikstik K40 configurations to use kconfig-frontends tools
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5784 42af7a65-404d-4744-a932-0658087f49c3
2013-03-25 17:33:41 +00: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
8a774a1712
Fix a whole in the logic from the previous check-in
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5718 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 18:43:03 +00:00
patacongo
4b3ad32ee5
Fix network poll() issue: don't interrupt poll if socket not connected. Listen sockets are not connected and the poll() is waiting for connection events.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5717 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 17:59:21 +00:00
patacongo
4c3b71131e
Move socket data from TCB to task group structure.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 23:49:02 +00:00
patacongo
03fd50017d
Add framework to support task groups
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5562 42af7a65-404d-4744-a932-0658087f49c3
2013-01-25 17:23:38 +00:00
patacongo
caf5fdf217
Fix some missing logic and inconsistencies in child status logic; Fix a bug introduced into sigaction()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5560 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 23:18:32 +00:00
patacongo
a59665cddc
Fix poll/select issue reported by Qiang
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5559 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 19:19:38 +00:00
patacongo
44c3becee8
Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 18:39:53 +00:00
patacongo
2c1e4e47e7
poll was not checking if the socket was still connected
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5543 42af7a65-404d-4744-a932-0658087f49c3
2013-01-21 14:17:11 +00:00
patacongo
28fc34c298
Centralize TCP loss-of-connection bit twiddling
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5542 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 17:21:42 +00:00
patacongo
5a7e3d551f
Yet another repair for the previouis botched recvfrom() fix; Fix telnet driver: It needs to break out of the read loop if 0 (meaning not conneced) of a value < 0 (an error) is encountered.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5541 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 00:41:33 +00:00
patacongo
00082e0da7
Minor tweak to last bugfix
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5540 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 19:45:08 +00:00
patacongo
4e7340ab13
Fix a bug where recv[from]() would hang when remote host gracefully closed connection
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5539 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 19:18:44 +00:00
patacongo
82a2cd6155
Add split package logic to improve TCP send performance with delayed ACKs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5538 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 16:40:43 +00:00
patacongo
fd08c16b8f
Add header files for z180
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5425 42af7a65-404d-4744-a932-0658087f49c3
2012-12-10 17:03:34 +00:00
patacongo
469ec154c0
Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
26c9112ad2
Most of the changes needed to support Windows native clean; distclean is has a problem
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
f751d36eee
Move some (hopefully) un-necessary quotes in Makefiles for Mike
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
a5f761c24e
Correct some issues with last check-in; ez80 still does not build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo
a1cf659333
Completes removal bash ARCHIVE loop; Adds basic Makefile for native windows build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5338 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 18:36:28 +00:00
patacongo
3d2879fc4e
Partial change: Removing bash ARCHIVE loop
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5335 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 15:42:12 +00:00
patacongo
73659bfd99
Add interfaces flags, extend ifconfig, add ifup and ifdown commands (Darcy Gong
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5308 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 18:54:04 +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
8a0899a695
STM32 fixes for DM9161 PHY; Enhancements for ADS7843e touchscreen controller
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5199 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 19:26:18 +00:00
patacongo
78b298ffad
Fix another ENC28J60 chip select bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5163 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 23:06:22 +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
3fcb8d9d6c
Fixes for z80 compilation with SDCC toolchain. There are still a few header file and linker issues
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5149 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 22:04:47 +00:00
patacongo
3e7c5c1b43
Fix for recvfrom() hang when the new CONFIG_NET_TCP_RECVDELAY is set to zero (from Max Holtzberg)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5148 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 20:37:24 +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
95b8d17849
Email address change in apps/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5143 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 16:58:49 +00:00
patacongo
52150a94d9
Reconfigured Shenzhou to use JTAG. Misc Kconfig changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5118 42af7a65-404d-4744-a932-0658087f49c3
2012-09-09 15:43:18 +00:00
patacongo
a93d7eb69e
Shenzhou board is first to use ONLY Kconfig for configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo
f39a3c9417
Remove several unused configuration values
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5113 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 04:29:48 +00:00
patacongo
11eb27ca7a
Add basic directory structure for the Shenzhou STM32107 board (not much there yet)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5108 42af7a65-404d-4744-a932-0658087f49c3
2012-09-07 19:29:21 +00:00
patacongo
5b268e4dab
Removed delay after receiving in recvfrom(). This was killing network performance
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5107 42af7a65-404d-4744-a932-0658087f49c3
2012-09-07 16:51:53 +00:00
patacongo
ac3fe6a4ba
defconfig changes for LPC17xx Kconfig
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5098 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 20:27:07 +00:00
patacongo
08ef9d0367
Add Kconfig settings for the LPC17xx
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5094 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 17:20:19 +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
4f8e4d2308
First round of compile fixes for IPv6
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4813 42af7a65-404d-4744-a932-0658087f49c3
2012-06-07 22:00:19 +00:00
patacongo
f1e682bfbe
Fix a UDP build issue
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4654 42af7a65-404d-4744-a932-0658087f49c3
2012-04-25 15:16:45 +00:00
patacongo
02a72fde6c
NFS updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4647 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 20:33:25 +00:00
patacongo
30cd61c07d
Kconfig updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4608 42af7a65-404d-4744-a932-0658087f49c3
2012-04-14 18:01:45 +00:00
patacongo
e45c3b97b3
Kconfig update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4597 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 21:52:04 +00:00
patacongo
940bdc50fb
Add tools/cmpconfig.c to compare to configuration files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4592 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 23:06:30 +00:00
patacongo
330b89ca0e
Add kconfig documentation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
4b8c0c41c8
Adding skeleton Kconfig files (part 1 of 2)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +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
927e1d0a2f
Add psock_connect()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4483 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 13:02:45 +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
4efbccf97f
Update PIC32 Ethernet driver from debugging (still does not work
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4465 42af7a65-404d-4744-a932-0658087f49c3
2012-03-08 23:05:03 +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
696285d84d
Add more low-level, thread-independent socket interfaces
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4445 42af7a65-404d-4744-a932-0658087f49c3
2012-03-02 19:57:52 +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
1e145dddae
Incoporate (more) new ARMv7-M exception handling logic contributed by Mike Smith
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4414 42af7a65-404d-4744-a932-0658087f49c3
2012-02-22 18:44:34 +00:00
patacongo
d93cfd45cc
Fix accept() logic. it was not monitoring for losses in connections.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4412 42af7a65-404d-4744-a932-0658087f49c3
2012-02-22 16:03:10 +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
f8b785f10e
Correct and error in recv() and recvfrom() return value
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4402 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 18:13:30 +00:00
patacongo
e6d521210a
Numerous cosmetic changes while debugging a telnet driver issue
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4353 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 20:32:49 +00:00
patacongo
fffd6ed613
Get rid of psock.h (bad idea); Add logic to clone the socket structure when wrapping the telnet connection as a character driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4349 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 23:13:29 +00:00
patacongo
9b617b6133
Add new psock layer; telnet session is now wrapped in a character device
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4347 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 21:29:59 +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
f4c7bd94b2
Misc compilation warning cleanup
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4155 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 13:34:25 +00:00
patacongo
b47cd866a7
Changes for clean ez80 ZDS-II compile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3733 42af7a65-404d-4744-a932-0658087f49c3
2011-06-22 15:22:56 +00:00
patacongo
13067a31d6
Minor improvement in recvfrom()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3673 42af7a65-404d-4744-a932-0658087f49c3
2011-06-05 23:29:38 +00:00
patacongo
6fa6c78928
Fix a bug in recvfrom()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3670 42af7a65-404d-4744-a932-0658087f49c3
2011-06-05 16:13:50 +00:00
patacongo
10e27f6179
FTP client debug changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3660 42af7a65-404d-4744-a932-0658087f49c3
2011-06-02 18:36:20 +00:00
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