Gregory Nutt
95424d9ef3
NETDB: Add support for caching DNS name resultion mappings
2015-07-13 10:41:32 -06:00
Gregory Nutt
fcaac468b1
NETDB: Make sure that we have a valid DNS server address before attempting DNS queuries; Provide an optional default DNS server address in the configuration
2015-07-13 08:19:31 -06:00
Gregory Nutt
9a6cf5724e
DNS: Finish off low-level DNS IPv6 request processing. Untested on initial commit
2015-07-12 16:23:08 -06:00
Gregory Nutt
d8da7009c6
Refresh submodules
2015-07-12 14:13:38 -06:00
Gregory Nutt
835878b003
This completes all interface level support for IPv6 DNS. Still some missing logic at the lowest protocol levels
2015-07-12 13:45:52 -06:00
Alan Carvalho de Assis
504d6c42b9
SAML21" Fix small typo. It should be 2-Wire I2C instead of 1-Wire. From Alan Carvalho de Assis.
2015-07-12 12:17:42 -06:00
Gregory Nutt
67378ed65e
Upate ChangeLog
2015-07-12 11:59:23 -06:00
Gregory Nutt
3407ef5f33
netdb: Modifications to DNS client logic and to dns_get/setserver() interfaces to support DNS clients at IPv6 addresses (still no support for resolution to IPv6 addresses).
2015-07-12 11:56:53 -06:00
Gregory Nutt
95ae3ef23f
Oops. Forgot to add a file in a previous commit
2015-07-12 09:28:03 -06:00
Alan Carvalho de Assis
21905bff31
AMDL: Add support to Peripheral as Output with Read back. From Alan Carvalho de Assis.
2015-07-12 09:23:40 -06:00
Gregory Nutt
5ace3311d9
Repartitioning of DNS client logic in preparation for IPv6 support
...
- Rename include/nuttx/net/dnsclient.h to dns.h
- Move internal DNS prototypes from dns.h to libc/netdb/lib_dns.h
- Global standard DNS definitions from libc/netdb/dns_soccket.c to dns.h
- Eliminate dns_gethostip(). This is now an internal part of gethostbyname()
- Eliminate interface dns_whois(). Not needed in this new context.
2015-07-12 09:19:40 -06:00
Gregory Nutt
14dedf3dea
Refresh submodules
2015-07-11 08:16:26 -06:00
Gregory Nutt
e243b082ee
DNS: Remove some unused, non-functional DNS functions; remove the annoying _sock at the end of some DNS functions names, it is no longer needed to distinguish the functions
2015-07-11 07:17:00 -06:00
Gregory Nutt
e69d14d89b
Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
2015-07-10 18:41:26 -06:00
Gregory Nutt
c37bc37693
Fix yet another system/netdb configuration dependency
2015-07-10 16:03:41 -06:00
Gregory Nutt
fb70a0a95b
Fix a confitional compilation error introduced with the last commit
2015-07-10 15:52:55 -06:00
Gregory Nutt
ed004be6d0
Clean up some syscall logic that has changed due to revised netdb configuration
2015-07-10 15:41:20 -06:00
Gregory Nutt
a4a29f4ead
Update ChangeLog
2015-07-10 15:27:11 -06:00
Janne Rosberg
d960ac257b
samdl/sam_usb.h: fix USBDEV_CTRLB_SPDCONF defines Datasheet 03-2015 and 06-2015 is wrong. These defines are correct verified with analyser and also same values are used on Atmel xdk-asf-3.24.2 sources. From Janne Rosberg.
2015-07-10 15:23:41 -06:00
Janne Rosberg
507408daa1
samdl/saml_usb.h: fix wrong EP offset calculation. From Janne Rosberg
2015-07-10 15:21:37 -06:00
Janne Rosberg
2fd0bf4748
Fix some typos. From Janne Rosberg
2015-07-10 15:19:24 -06:00
Janne Rosberg
615914d36b
samdl: fix USBDEV_PKTSIZE_BCNT size. From Janne Rosberg
2015-07-10 15:15:55 -06:00
Gregory Nutt
89e91333af
Fix a warning
2015-07-10 14:53:30 -06:00
Gregory Nutt
23d8ab0fb1
Fix some mangled conditional compilation
2015-07-10 14:10:53 -06:00
Gregory Nutt
dc478617e5
Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME
2015-07-10 14:03:03 -06:00
Gregory Nutt
b7708f8479
Update ChangeLog
2015-07-10 13:35:13 -06:00
Gregory Nutt
1dfb94bc8f
Update submodules
2015-07-10 13:31:02 -06:00
Gregory Nutt
7dec298ef3
gethostbyname() will not attempt a DNS lookup if so enabled
2015-07-10 13:30:09 -06:00
Gregory Nutt
4102470bdd
Move the DNS server from apps/netutils/dnsclient to nuttx/libc/netdb. Move netdb functions from libc/net to libc/netdb. Fix up naming to reflect the repartitioning
2015-07-10 12:11:40 -06:00
Sebastien Lorquet
9c9b6162d8
PCA9555: Extend interface to include methods for reading more than one bit at a time. From Sébastien Lorquet.
2015-07-10 10:33:07 -06:00
SP
a5b68bb3c9
Correct a typo in configure.sh usage string
2015-07-10 08:54:25 -06:00
Gregory Nutt
07e9a02af9
Forgot to add two files in previous commit
2015-07-10 08:46:13 -06:00
Gregory Nutt
b7bc6ce598
Update ChangeLog
2015-07-10 08:45:35 -06:00
Gregory Nutt
59cc4a7a7b
Protected mode: Redesign how the user space heap is accessed from the kernel code. It used to call memory management functions in user space via function pointers in the userspace interface. That is inefficient because the first thing that those memory management functions do is to trap back into the kernel to get the current PID. Worse, that operation can be fatal is certain fragile situations such as when a task is exitting.
...
The solution is to remove all of the memory management function calls from the interface. Instead, the interface exports the userspace heap structure and then kernel size implementations of those memory management functions will operate on the userspace heap structure. This avoids the unnecessary system calls and, more importantly, failures do to freeing memory when a test exits.
2015-07-10 08:37:02 -06:00
Alessandro Temil
da1c2cd112
More changes to LPC3450 pin configuration: The hardware ETM pins will not toggle unless the SLEW FAST bit is set. From Alessandro Temil.
2015-07-09 13:36:22 -06:00
Gregory Nutt
b22769cd14
Update ChangeLog
2015-07-09 12:11:02 -06:00
Alessandro Temil
3eb14f3999
Correct some LPC4350 GPIO pin configurations. From Alessandro Temil
2015-07-09 12:09:00 -06:00
Gregory Nutt
2be9bfa40a
gethostbyname() should succeed for matches on host name aliases as well
2015-07-09 09:14:42 -06:00
Gregory Nutt
3971d97332
Update ChangeLog
2015-07-09 08:27:08 -06:00
Sebastien Lorquet
b947002d6a
This commit adds:
...
-headers in nuttx/ioexpander to define the "generic" ioexpander framework
-files in drivers/ioexpander for the implementation of the NXP PCA9555 framework
-bindings in drivers/Kconfig and drivers/Makefile
From Sebastien Lorquet
2015-07-09 08:27:07 -06:00
Gregory Nutt
434eeefe52
inet_pton and ntop need to support IPv4 and IPv6 addressing unconditionally for the netdb logic
2015-07-08 16:45:42 -06:00
Gregory Nutt
d58d668f86
Fix an addressing problem in host file read logic
2015-07-08 16:25:16 -06:00
Gregory Nutt
1cd4ef1730
Fix an assertion
2015-07-08 16:00:50 -06:00
Gregory Nutt
299782e8ec
Add support for gethostbyaddr()
2015-07-08 14:33:23 -06:00
Gregory Nutt
72701d753b
Remove some whitespace at the end of lines
2015-07-08 13:42:36 -06:00
Gregory Nutt
1b1e34e1d5
libc: Add gethostbyname(). Untested on initial commit
2015-07-08 13:40:52 -06:00
Gregory Nutt
f94fe747ae
Undo part of a previous change. Move get/sethostname back from net/netdb to libc/unistd
2015-07-08 11:11:52 -06:00
Gregory Nutt
4e98d01098
SAMD21: Correct some GCLK ID definitions for SERCOM
2015-07-06 09:26:49 -06:00
Gregory Nutt
fca919f3d2
Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL
2015-07-05 11:18:56 -06:00
Gregory Nutt
d8d4ab8c10
The libc versions of get/sethostname should just call the internal net/netdb versions in the flat build. In the protected and kernel builds, sethostname is a system call but gethostname calls uname() to get the hostname
2015-07-05 10:45:00 -06:00