Permalink
Commits on Feb 3, 2011
Commits on Feb 2, 2011
  1. Add a new function, divTime, which correctly divides and internal

    gvnn3 committed Feb 2, 2011
    time value by an integer divisor.
    
    Correct the calculation of one way delay for delays greater
    than one second by using the new divTime function.
    
    Bug Tracker ID: 3089966
Commits on Feb 1, 2011
  1. Add support for DNS lookups of the grandmaster when using unicast.

    gvnn3 committed Feb 1, 2011
    Clean up include file locations.
  2. Add support for unicasting delay requests.

    gvnn3 committed Feb 1, 2011
    Add code to dump packets on demand via the -P flag as well as in
    response to updates that violate either the -M or -O flags.
Commits on Dec 2, 2010
Commits on Nov 16, 2010
  1. Rename ptpd.8 to ptpd2.8

    skreuzer committed Nov 16, 2010
    Fix release target so that files are not added to CWD
    Fix release target so that the 'extra' symlink is not created
Commits on Nov 10, 2010
Commits on Oct 26, 2010
  1. Fix a bug in the quality file recreation code when receiving a SIGHUP.

    gvnn3 committed Oct 26, 2010
    Previously the quality file would not get recreated on SIGHUP and
    now it does.
Commits on Oct 13, 2010
  1. Move the timer code back to it's old, 1Hz setup as the newer setup broke

    gvnn3 committed Oct 13, 2010
    master mode timings.  It was also broken with its use of float for
    the interval.
  2. Update Makefiles so that they use a replacement syntax acceptable to

    gvnn3 committed Oct 13, 2010
    both FreeBSD's make and GNU's make.
Commits on Oct 12, 2010
  1. Fix typo.

    gvnn3 committed Oct 12, 2010
  2. Update the version string.

    gvnn3 committed Oct 12, 2010
  3. Clean up the src Makefile to make it a bit more modern.

    gvnn3 committed Oct 12, 2010
    Add INSTALL file and instructions.
    
    Update COPYRIGHT with new developers.
    
    Create a root Makefile with which to build releases.
  4. 2.1.0 release

    gvnn3 committed Oct 12, 2010
Commits on Sep 27, 2010
  1. Add support, under FreeBSD, for the BINTIME option which gets us

    gvnn3 committed Sep 27, 2010
    nanosecond accurracy for packet timestamps.  There is of course
    variation in the kernel but we can do better than the original
    microsecond version.
  2. Add support for quality files. See the commit under v1 for an explana…

    gvnn3 committed Sep 27, 2010
    …tion.
    
    The correlation script is also only in the trunk.
Commits on Aug 27, 2010
  1. Continued code cleanup.

    gvnn3 committed Aug 27, 2010
    Force all display functions to use DBGV so that all program output
    is coordinated.  Perviously some output was to stdout and some to
    stderr which made correlating debugging output more difficult.
    
    Show the master to slave and slave to master values in the statistics
    output.
    
    Add display routines for delay request and delay response messages.
    
    Add a Doxyfile and a tags target for building working cross references.
        NOTE: This requires cscope, global, doxygen and dot to be installed
  2. Fix End to End mode so that it now works correctly. Previously

    gvnn3 committed Aug 27, 2010
    if more than one client was started on the same subnet in
    End to End mode the clients would interfere with each other.
    The bug was due to a copy/paste problem in the handling of
    delay response packets.
  3. Fixed a bug in ptpv2d where the multicast TTL was initially 0 and thu…

    mburnicki committed Aug 27, 2010
    …s no packets were sent in master mode (this had been introduced in SVN rev. 69).
    
    Cleaned up initialization of run-time options.
    Display own ID in stats output when becoming master. This makes it easier to identify PTP nodes.
Commits on Aug 26, 2010
  1. ptpv2d:

    mburnicki committed Aug 26, 2010
    Valid C-style function prototypes for logToFile() and getRand().
    
    ptpv2d and ptpd:
    Changed logged date format to ISO format, e.g. 2010-08-26
    
    In slave mode log ID and also grandmaster ID, if it differs from parent ID
    (e.g. in case of a boundary clock).
    
    Use snprintf() instead of sprintf() in displayStats().
    
    ptpd:
    Backported the fix for printing negative time offsets correctly from ptpv2d.
    
    Files dep/sys.c for ptpv2d and ptpd are now identical, except for different field names in PtpClock, and a different implementation of getRand().
Commits on Aug 25, 2010
  1. Remove define of BSD_INTERFACE_FUNCTIONS in favor of using the

    gvnn3 committed Aug 25, 2010
    Makefile version.
Commits on Aug 19, 2010
  1. Bring version 2 daemon to feature parity with version 1 daemon.

    gvnn3 committed Aug 19, 2010
    Add syslog support.
    
    Add variable TTL support.
    
    Add support for overwriting the log with SIGHUP which is useful
    in nightly scripts.
    
    Change the displayStats() routine to mirror the one in version 1
    including have a date and time on each line
    
    Document all command line argument changes in the updated manual page.
Commits on Aug 17, 2010
  1. Properly indent code and make it mostly conform to style(9) from

    gvnn3 committed Aug 17, 2010
    the BSD's.
    
    All developers please be aware that the convention going forwards
    for whitepace and indentation is style(9).
    
    http://www.freebsd.org/cgi/man.cgi?query=style&sektion=9&manpath=FreeBSD+9-current
Commits on Jul 23, 2010
Commits on Jul 13, 2010
  1. This is basically the fix for bug #2975925 - UTC Offset not correctly…

    mburnicki committed Jul 13, 2010
    … handled
    
    as provided by the patch in the bug report. Still need to check whether other
    parts of the code are also affected, e.g. in master mode.
  2. Remove trailing whitespaces

    skreuzer committed Jul 13, 2010