summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libnetworking/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-19 17:35:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-19 17:35:49 +0000
commit847375f3ad4af55b9bd4d8a6daff313165de5fd8 (patch)
tree53d4acf4aaffaaaa6e7aafa52f2457fdf2758e44 /c/src/exec/libnetworking/rtems
parentChanged BOOTP -> BOOTP/DHCP. (diff)
downloadrtems-847375f3ad4af55b9bd4d8a6daff313165de5fd8.tar.bz2
Patch from Eric Norum <eric@skatter.usask.ca>:
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.
Diffstat (limited to 'c/src/exec/libnetworking/rtems')
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_bsdnet.h1
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_glue.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/libnetworking/rtems/rtems_bsdnet.h b/c/src/exec/libnetworking/rtems/rtems_bsdnet.h
index 73ad92fa30..6447749f80 100644
--- a/c/src/exec/libnetworking/rtems/rtems_bsdnet.h
+++ b/c/src/exec/libnetworking/rtems/rtems_bsdnet.h
@@ -11,6 +11,7 @@
* Values that may be obtained by BOOTP
*/
extern struct in_addr rtems_bsdnet_bootp_server_address;
+extern char *rtems_bsdnet_bootp_server_name;
extern char *rtems_bsdnet_bootp_boot_file_name;
/*
diff --git a/c/src/exec/libnetworking/rtems/rtems_glue.c b/c/src/exec/libnetworking/rtems/rtems_glue.c
index dd80a13d08..aea0a548b2 100644
--- a/c/src/exec/libnetworking/rtems/rtems_glue.c
+++ b/c/src/exec/libnetworking/rtems/rtems_glue.c
@@ -85,6 +85,7 @@ int nfs_diskless_valid;
struct in_addr rtems_bsdnet_log_host_address;
struct in_addr rtems_bsdnet_bootp_server_address;
char *rtems_bsdnet_bootp_boot_file_name;
+char *rtems_bsdnet_bootp_server_name;
char *rtems_bsdnet_domain_name;
struct in_addr rtems_bsdnet_nameserver[sizeof rtems_bsdnet_config.name_server /
sizeof rtems_bsdnet_config.name_server[0]];