2018-11-29 |
net: dns: return error codes
...
The resolv() function used to return the IP address. When net_udp_new()
fails we return an error code though which the callers of resolv() take
as an IP address. This is wrong of course and we could return 0 in this
case. Instead we return an error code and pass the resolved IP as a
pointer which allows us to return proper error codes.
This patch also adds error messages and error returns to the various
callers of resolv() which used to just continue with a zero IP and
let the user figure out what went wrong.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Nov 2018
|
2016-01-07 |
net: Add SNTP support
...
This adds support for retrieving the time via Simple Network Time
Protocol (SNTP). No fancy features are supported, only plainly getting
the current time.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 7 Jan 2016
|
2009-10-13 |
remove sntp support. Has been broken for long enough
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 13 Oct 2009
|
net: remove switch/case in NetLoop()
...
Instead of having a big switch/case for every protocol, do
the right things in the individual functions before callong
NetLoop().
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 13 Oct 2009
|
net: split NetLoop in NetLoop and NetLoopInit
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 13 Oct 2009
|
2007-07-05 |
svn_rev_108
...
removed ifdefs, moved ping to own file, fix timeout handler
Sascha Hauer
authored
on 5 Jul 2007
Sascha Hauer
committed
on 5 Jul 2007
|
2005-04-02 |
Fix problems with SNTP support;
...
enable SNTP support in some boards.
wdenk
committed
on 2 Apr 2005
|
2005-03-31 |
* Patch by Masami Komiya, 30 Mar 2005:
...
add SNTP support and expand time server and time offset fields of
DHCP support. See doc/README.SNTP
* Patch by Steven Scholz, 13 Dec 2004:
Fix bug in at91rm920 ethernet driver
wdenk
committed
on 31 Mar 2005
|