Changeset cbccd37 in rtems


Ignore:
Timestamp:
Nov 10, 1999, 2:31:11 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
74db82a
Parents:
442d0478
Message:

Patch from Eric Norum <eric@…> which includes:

Patches against 1105 snapshot to add NTP server support to network
configuration/BOOTP.

Files:
3 added
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libnetworking/nfs/bootp_subr.c

    r442d0478 rcbccd37  
    731731      break;
    732732
    733     case 2:    /* Time offset */
     733    case 2:
    734734      /* Time offset */
    735735      if (len!=4)
     
    749749      break;
    750750
    751     /*
    752      * Some old BOOTP daemons don't support the NTP server (42) tag,
    753      * but do support the RFC 868 time server (4) tag.  Cheat here
    754      * and assume they mean the same thing.
    755      */
    756     case 4:
    757751    case 42:
    758       /* Time servers */
     752      /* NTP servers */
    759753      if (len % 4)
    760754        panic ("bootpc: time server Len is %d", len);
  • c/src/exec/libnetworking/rtems/rtems_bsdnet.h

    r442d0478 rcbccd37  
    136136int rtems_bsdnet_initialize_network (void);
    137137void rtems_bsdnet_do_bootp (void);
     138int rtems_bsdnet_synchronize_ntp (int interval, rtems_task_priority priority);
    138139
    139140#endif /* _RTEMS_BSDNET_ */
  • c/src/libnetworking/lib/Makefile.in

    r442d0478 rcbccd37  
    1818
    1919# C and C++ source names, if any, go here -- minus the .c or .cc
    20 C_PIECES = getprotoby syslog tftpDriver
     20C_PIECES = getprotoby rtems_bsdnet_ntp syslog tftpDriver
    2121C_FILES = $(C_PIECES:%=%.c)
    2222C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
  • c/src/libnetworking/nfs/bootp_subr.c

    r442d0478 rcbccd37  
    731731      break;
    732732
    733     case 2:    /* Time offset */
     733    case 2:
    734734      /* Time offset */
    735735      if (len!=4)
     
    749749      break;
    750750
    751     /*
    752      * Some old BOOTP daemons don't support the NTP server (42) tag,
    753      * but do support the RFC 868 time server (4) tag.  Cheat here
    754      * and assume they mean the same thing.
    755      */
    756     case 4:
    757751    case 42:
    758       /* Time servers */
     752      /* NTP servers */
    759753      if (len % 4)
    760754        panic ("bootpc: time server Len is %d", len);
  • c/src/libnetworking/rtems/rtems_bsdnet.h

    r442d0478 rcbccd37  
    136136int rtems_bsdnet_initialize_network (void);
    137137void rtems_bsdnet_do_bootp (void);
     138int rtems_bsdnet_synchronize_ntp (int interval, rtems_task_priority priority);
    138139
    139140#endif /* _RTEMS_BSDNET_ */
  • cpukit/libnetworking/nfs/bootp_subr.c

    r442d0478 rcbccd37  
    731731      break;
    732732
    733     case 2:    /* Time offset */
     733    case 2:
    734734      /* Time offset */
    735735      if (len!=4)
     
    749749      break;
    750750
    751     /*
    752      * Some old BOOTP daemons don't support the NTP server (42) tag,
    753      * but do support the RFC 868 time server (4) tag.  Cheat here
    754      * and assume they mean the same thing.
    755      */
    756     case 4:
    757751    case 42:
    758       /* Time servers */
     752      /* NTP servers */
    759753      if (len % 4)
    760754        panic ("bootpc: time server Len is %d", len);
  • cpukit/libnetworking/rtems/rtems_bsdnet.h

    r442d0478 rcbccd37  
    136136int rtems_bsdnet_initialize_network (void);
    137137void rtems_bsdnet_do_bootp (void);
     138int rtems_bsdnet_synchronize_ntp (int interval, rtems_task_priority priority);
    138139
    139140#endif /* _RTEMS_BSDNET_ */
Note: See TracChangeset for help on using the changeset viewer.