Changeset 4787739 in rtems


Ignore:
Timestamp:
Feb 3, 2005, 5:35:38 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b90307a
Parents:
2d9d8ff6
Message:

2005-02-03 Ralf Corsepius <ralf.corsepius@…>

PR 755/rtems

  • libnetworking/rtems_glue.c: Rename rtems_bsdnet_nameservers to _rtems_bsdnet_nameservers. Rename rtems_bsdnet_ntpservers to _rtems_bsdnet_ntpservers. Add new rtems_bsdnet_nameservers, rtems_bsdnet_ntpservers as pointers to _rtems_bsdnet_*servers arrays.
  • libnetworking/rtems/rtems_bsdnet_internal.h: Remove rtems_bsdnet_nameserver, rtems_bsdnet_nameserver_count.
  • libnetworking/rtems/rtems_bsdnet.h: Remove rtems_bsdnet_ntpserver, rtems_bsdnet_ntp_count.
  • libnetworking/rtems/bsdnet/servers.h: New.
  • libnetworking/opt_ipsec.h: New (BSD compatibility).
  • libnetworking/Makefile.am: Reflect changes above.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2d9d8ff6 r4787739  
     12005-02-03      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        PR 755/rtems
     4        * libnetworking/rtems_glue.c:
     5        Rename rtems_bsdnet_nameservers to _rtems_bsdnet_nameservers.
     6        Rename rtems_bsdnet_ntpservers to _rtems_bsdnet_ntpservers.
     7        Add new rtems_bsdnet_nameservers, rtems_bsdnet_ntpservers as
     8        pointers to _rtems_bsdnet_*servers arrays.
     9        * libnetworking/rtems/rtems_bsdnet_internal.h: Remove
     10        rtems_bsdnet_nameserver, rtems_bsdnet_nameserver_count.
     11        * libnetworking/rtems/rtems_bsdnet.h: Remove
     12        rtems_bsdnet_ntpserver, rtems_bsdnet_ntp_count.
     13        * libnetworking/rtems/bsdnet/servers.h: New.
     14        * libnetworking/opt_ipsec.h: New (BSD compatibility).
     15        * libnetworking/Makefile.am: Reflect changes above.
     16
    1172005-02-02      Ralf Corsepius <ralf.corsepius@rtems.org>
    218
  • cpukit/libnetworking/rtems/rtems_bsdnet.h

    r2d9d8ff6 r4787739  
    4141extern char *rtems_bsdnet_bootp_boot_file_name;
    4242extern char *rtems_bsdnet_bootp_cmdline;
    43 extern struct in_addr rtems_bsdnet_ntpserver[];
    44 extern int rtems_bsdnet_ntpserver_count;
    4543extern long rtems_bsdnet_timeoffset;
    4644
  • cpukit/libnetworking/rtems/rtems_bsdnet_internal.h

    r2d9d8ff6 r4787739  
    3030
    3131#include <sys/time.h>
    32 /*
    33 struct  itimerval {
    34   struct  timeval it_interval;
    35   struct  timeval it_value;
    36 };
    37 */
     32
    3833struct mdproc {
    3934        int     md_flags;
     
    163158extern struct in_addr rtems_bsdnet_log_host_address;
    164159extern char *rtems_bsdnet_domain_name;
    165 extern struct in_addr rtems_bsdnet_nameserver[];
    166 extern int rtems_bsdnet_nameserver_count;
    167160
    168161/*
  • cpukit/libnetworking/rtems/rtems_glue.c

    r2d9d8ff6 r4787739  
    9090char *rtems_bsdnet_domain_name = 0;
    9191char *rtems_bsdnet_bootp_cmdline = 0;
    92 struct in_addr rtems_bsdnet_nameserver[sizeof rtems_bsdnet_config.name_server /
     92static struct in_addr _rtems_bsdnet_nameserver[sizeof rtems_bsdnet_config.name_server /
    9393                        sizeof rtems_bsdnet_config.name_server[0]];
     94struct in_addr *rtems_bsdnet_nameserver = _rtems_bsdnet_nameserver;
    9495int rtems_bsdnet_nameserver_count = 0;
    95 struct in_addr rtems_bsdnet_ntpserver[sizeof rtems_bsdnet_config.ntp_server /
     96static struct in_addr _rtems_bsdnet_ntpserver[sizeof rtems_bsdnet_config.ntp_server /
    9697                        sizeof rtems_bsdnet_config.ntp_server[0]];
     98struct in_addr *rtems_bsdnet_ntpserver = _rtems_bsdnet_ntpserver;
    9799int rtems_bsdnet_ntpserver_count = 0;
    98100long rtems_bsdnet_timeoffset = 0;
Note: See TracChangeset for help on using the changeset viewer.