summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/nfs/bootp_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2008-05-01 Maarten Van Es <maarten@mind.be>Chris Johns2008-05-011-67/+116
| | | | | | | | | | | | | | | | | | * 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.
* Eliminate __P().Ralf Corsepius2007-03-281-12/+12
|
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-311-3/+4
| | | | | | | | | | | | | | | * ftpd/ftpd.c, libcsupport/include/sys/ioccom.h, libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c, libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h, libnetworking/net/if.c, libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h, libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c, libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_bsdnet_internal.h, libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings due to improper use of int which shows up on 16 bit targets. Added ioctl_command_t since IOCTL command argument does not reliably fit into 16 bits.
* CosmeticsRalf Corsepius2005-09-161-8/+6
|
* Remove superfluous includes.Ralf Corsepius2005-09-161-4/+1
|
* 2005-08-06 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-08-061-2/+0
| | | | | * libnetworking/nfs/bootp_subr.c: Don't include nfs/nfs.h, nfs/krpc.h.
* 2005-04-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-281-9/+9
| | | | | | | | | | | | * libnetworking/kern/kern_sysctl.c, libnetworking/libc/inet_ntop.c, libnetworking/net/if_ppp.c, libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c, libnetworking/netinet/ip_output.c, libnetworking/netinet/udp_usrreq.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_select.c, libnetworking/rtems/rtems_showifstat.c, libnetworking/rtems/rtems_showroute.c, libnetworking/rtems/rtems_syscall.c: Fixed type mismatch and uninitialized variable warnings.
* Reflect having introduced nfsclient/.Ralf Corsepius2005-04-171-1/+2
|
* 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-031-0/+1
| | | | | | PR 755/rtems * libnetworking/libc/res_init.c, libnetworking/lib/rtems_bsdnet_ntp.c, libnetworking/nfs/bootp_subr.c: Include <rtems/bsdnet/servers.h>.
* 2004-09-17 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2004-09-171-1/+1
| | | | | | PR 676/networking * libnetworking/nfs/bootp_subr.c: /etc/resolv.conf contains NTP instead of DNS servers.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-201-3/+8
| | | | | | PR 351/networking * nfs/bootp_subr.c: Fix ridiculous leak in bootp and use strdup_bootp_realloc() everywhere for sake of consistency.
* Till Straumann's patch to:Eric Norum2002-11-011-0/+10
| | | | | use bootp option 129 to get command line string change inet_ntoa->inet_ntop
* 2002-10-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-281-1/+5
| | | | | | | | | | | | | | | | | | | | | * Pass to eliminate warnings. * kern/uipc_mbuf.c: Conditional SYSINIT() usage on __rtems__. Fix return statement without a value. * lib/ftpfs.c: read and write filesystem routines return ssize_t. * lib/syslog.c: Add include of <string.h> to eliminate warning. * lib/tftpDriver.c: read and write filesystem routines return ssize_t. * libc/gethostbydns.c: Prototype abort(). * libc/inet_ntoa.c: Prototype strcpy(). * libc/rcmd.c: Add include of <sys/select.h> * net/if_loop.c: Turn token at end of endif to comment. * net/rtsock.c, nfs/bootp_subr.c: Conditional SYSINIT() usage on __rtems__. * rtems/rtems_bootp.c: Add include of <rtems/rtems_bsdnet_internal.h>. * rtems/rtems_bsdnet_internal.h: Added prototypes for memcpy() and memset() since the BSD code tries to avoid using libc .h files since it is used to being in the kernel. * rtems/rtems_syscall.c: read and write filesystem routines return ssize_t.
* 2002-07-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-301-0/+1
| | | | | | | | | | * machine/types.h: Removed as a simpler version of this file is now part of the RTEMS newlib support. * machine/Makefile.am, machine/endian.h, nfs/bootp_subr.c, rtems/rtems_bsdnet_internal.h, sys/Makefile.am, sys/systm.h: Minor modifications to use the simpler machine/types.h. Mostly more complete sets of #include's to account for machine/types.h no longer doing this.
* 2002-03-27 Thomas.Doerfler@imd-systems.deJoel Sherrill2002-03-271-9/+39
| | | | | | | * PR144 * nfs/bootp_subr.c bootpc_init(): Performs a write to memory address 0 when called for the first time. This is done when trying to clear the variable "dhcp_hostname".
* 2001-09-19 Chris Johns <ccj@acm.org>Joel Sherrill2001-09-191-3/+81
| | | | | | | * nfs/bootp_subr.c, rtems/rtems_bootp.c, rtems/rtems_bsdnet.h, rtems/rtems_bsdnet_internal.h Added support for populating the initial "root" filesystem with information obtained via the DHCP response.
* Patch from Eric Norum <eric@cls.usask.ca> which includes:Joel Sherrill1999-11-101-8/+2
| | | | | Patches against 1105 snapshot to add NTP server support to network configuration/BOOTP.
* Patch from Eric Norum <eric@cls.usask.ca> to add NTP BOOTP support becauseJoel Sherrill1999-11-091-1/+32
| | | | | | | | EPICS needs a synchronized time-of-day clock. This patch is the changes needed to get NTP server information from a BOOTP server. This patch also adds NTP server information to the network configuration structure, too.
* Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove compilerJoel Sherrill1999-05-171-1/+1
| | | | warnings.
* Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1998-11-191-169/+212
| | | | | | | | | | | | | | | 1) Socket timeout field changed from `short' to `long'. This makes longer timeouts possible. With a 1 kHz system clock the old system allowed timeouts only up to a little over 30 seconds! This change is a slightly cleaned-up version of the patch proposed by Ian Lance Taylor. 2) Major changes to BOOTP/DHCP reply handling. Now supports much of RFC2132. These changes were done at the request of, and with the assistance of, Erik Ivanenko. If you're making changes, you might want to change the network supplement Essentially just do a global search and replace of BOOTP with BOOTP/DHCP.
* Fixed many warnings.Joel Sherrill1998-08-201-4/+12
|
* Base filesJoel Sherrill1998-08-191-0/+960