summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_dhcp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit: Remove libnetworkingVijay Kumar Banerjee2021-04-071-1287/+0
| | | | Update #3850
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* Use rtems_task_exit()Sebastian Huber2018-10-021-1/+1
| | | | | Update #3530. Update #3533.
* network: Use kernel/user space header filesSebastian Huber2018-09-101-14/+3
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* network: Fix DHCP client protocolStavros Passas2017-06-081-3/+25
| | | | Close #2877.
* network: Use inet_ntoa_r()Sebastian Huber2017-06-071-1/+2
| | | | Update #2833.
* Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber2017-06-071-1/+1
| | | | Update #2833.
* network: Fix warningsSebastian Huber2016-04-221-0/+1
|
* cpukit/libnetworking/rtems/rtems_dhcp.c: Fix compilation errorMartin Galvan2015-09-031-1/+1
| | | | | | | | Apparently 'free' is defined as a macro which takes two arguments and calls rtems_bsdnet_free. When fixing #2405 I added a missing 'free' but didn't notice it was non-standard. Closes #2410.
* cpukit/libnetworking/rtems/rtems_dhcp.c: Fix leak on realloc failure for ↵Martin Galvan2015-09-031-5/+13
| | | | | | dhcp_hostname. Closes #2405.
* libnetworking: Send the hostname if set in the network configuration.Chris Johns2015-07-141-2/+16
| | | | | This allows a suitably configured DHCP server with DDNS to enter the name into the DNS table making it addressiable via it's host name.
* score: Merge tod implementation into one fileSebastian Huber2013-07-261-2/+2
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* network/bootp: PR2031: Add and use header fileSebastien Bourdeauducq2012-06-061-22/+4
|
* network/dhcp: PR1841: Fix DNS processing in DHCPSebastien Bourdeauducq2012-05-221-3/+45
|
* 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-081-2/+2
| | | | | | | * libnetworking/rtems/rtems_dhcp.c: Make format_ip, dhcp_init static. * libnetworking/nfs/bootp_subr.c: Make bootp_strdup_realloc static.
* 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-301-2/+1
| | | | | * libnetworking/rtems/rtems_dhcp.c (dhcp_init): Remove unused var "len".
* 2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-181-2/+0
| | | | | * libnetworking/rtems/rtems_dhcp.c: Remove unused var "disconnected".
* 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-161-3/+3
| | | | | | | | PR 1566/filesystem * libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h: Let rtems_rootfs_append_host_rec take an in_addr_t as first arg. * libnetworking/rtems/rtems_dhcp.c, libnetworking/nfs/bootp_subr.c: Reflect changes above.
* Whitespace removal.Ralf Corsepius2009-11-301-46/+46
|
* 2009-04-28 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-281-13/+30
| | | | | | | | | | * libnetworking/nfs/bootp_subr.c: Fixed PR1384. The route set in the initialise pass is not deleted so an exists error is returned. Ignore the error. Print the server address as an IP address not hex digits. * libnetworking/rtems/rtems_dhcp.c: Fixed PR1338. Close the socket, handle the returned event flags.
* Remove #define KERNEL.Ralf Corsepius2009-02-041-6/+0
|
* Remove -D_COMPILING_BSD_KERNEL_ (Unused).Ralf Corsepius2009-02-041-5/+0
|
* 2008-05-01 Maarten Van Es <maarten@mind.be>Chris Johns2008-05-011-73/+165
| | | | | | | | | | | | | | | | | | * libnetworking/rtems/rtems_dhcp.c: Removed panic()s. Added interface for rtems_dhcp_failsafe. * libnetworking/rtems/rtems_dhcp.h: Added interface for rtems_dhcp_failsafe. 2008-05-01 Arnout Vandecappelle <arnout@mind.be> * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and return on timeout in bootpc_call(). Removed panic()s. * libnetworking/rtems/rtems_glue.c: Fix the cast for the SIOCAIFADDR ioctl call. * libnetworking/rtems/rtems_dhcp_failsafe.c, libnetworking/rtems/rtems_dhcp_failsafe.h: New. * libnetworking/Makefile.am, libnetworking/preinstall.am: Added rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
* DHCP server for RTEMS.Chris Johns2005-06-301-0/+1133