Ignore:
Timestamp:
Feb 3, 2005, 5:35:38 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.