summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_bsdnet.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 03:43:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 03:43:47 +0000
commita0af97d2bfba67f952a59dfb549397d8e110dc2c (patch)
treef3e006050ad0e6bc787f775d891fb801b6ed54b7 /cpukit/libnetworking/rtems/rtems_bsdnet.h
parentAdded #define to make this file exactly like its siblings in mpc821 (diff)
downloadrtems-a0af97d2bfba67f952a59dfb549397d8e110dc2c.tar.bz2
Patch from Eric Norum <eric@cls.usask.ca> to add NTP BOOTP support because
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.
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bsdnet.h')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h
index 3152099525..b5403d21b0 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h
@@ -35,6 +35,9 @@
extern struct in_addr rtems_bsdnet_bootp_server_address;
extern char *rtems_bsdnet_bootp_server_name;
extern char *rtems_bsdnet_bootp_boot_file_name;
+extern struct in_addr rtems_bsdnet_ntpserver[];
+extern int rtems_bsdnet_ntpserver_count;
+extern long rtems_bsdnet_timeoffset;
/*
* Manipulate routing tables
@@ -127,6 +130,7 @@ struct rtems_bsdnet_config {
char *gateway; /* BOOTP */
char *log_host; /* BOOTP */
char *name_server[3]; /* BOOTP */
+ char *ntp_server[3]; /* BOOTP */
};
extern struct rtems_bsdnet_config rtems_bsdnet_config;
int rtems_bsdnet_initialize_network (void);