Trunk:
- fix for signed zero displayed for restored drift
- corrected standard deviation calculation
2.4-wowczarek branch:
- added union to hold a management message
- display fixes



[[Split portion of a mixed commit.]]
- fixes for adjTime call for systems without adjtimex()
  as per https://sourceforge.net/p/ptpd/discussion/469208/thread/1351bdb3/
Fixed expansion of short option -a into incorrect config key
- added ptpengine:max_delay_max_rejected setting which will
  reset the slave if X consecutive measurements were above
  max_delay - when combined with max_delay_stable_only,
  this will unblock a stuck slave,
- added simple but effective network failover mechanism: when going into
  LISTENING, slave will flip between primary and backup interfaces,
  setting: ptpengine:backup_interface
- removed max_delay log messages in favour of maxDelayDrops
  counter incrementing
- updated version strings and spec file to 2.3.1-rc1
Minor message cleanups
Added new R code to look at NTP offsets similar to how we work with
PTP.
Add new offset statistics and processing functions and a wrapper script.
- Remaining sequence mismatch log messages changed
  to debug
- Restored Sync sequence checking - ensures that sync
  sequence numbers always increase
- Increased robustness against sync+follow-up re-ordering
  on the network: after sync, up to MAX_FOLLOWUP_GAP (3)
  sync messages will be ignored while waiting for follow-up
- implemented adapted patch from Dan McDonald @ OmniTI:
  (Open)Solaris / OpenIndiana/Illumos/OmniOS support,
  cleaned up Solaris compiler warnings
- bumped versions to rc2
- Sync message sequence checking made optional
  (new setting ptpengine:sync_sequence_checking)
- Added clock update timeout setting
  (ptpengine:clock_update_timeout), which will
  reset the slave back to LISTENING if doesn't
  update the clock in the given amount of time -
  useful for recovering a slave "stuck" on
  maxDelay or Sync sequence numbers.
- Libpcap only used on Solaris when configured
  with support for experimental options - currently
  broken on Solaris i.e. no data is being received
- Man pages updated with new settings and ptpd2(8)
  updated with log file description.
- M4 version updated for July 2014.
- Moved option definitions outside PTPD_STATISTICS
  ifdef block
- default config updated with all new options
Finalising 2.3.1rc2:

- Most of outlier filter functions moved to separate source
  to reduce code complexity
- timestamping initialisation fixes on Linux
  with SO_TIMESTAMPING (FR #21 - really a bug)
- added auto-tune option for outlier filters:
  dynamically controls filter threshold based on
  percentage of outliers found - good results in
  noisy environments
- outlier filter data and config moved to separate
  structures
- RPM spec package version formatting fix

todo for rc2 in next commits:
- make max measured dT configurable - to stabilise
  servo when many outliers are being discarded
- protect foreign_record_best from overriting
  (FR #22)
- add autotune functions to man page
Finalising 2.3.1rc2 - next code drop:
- made maximum measured dT configurable, fixed
  bug where max dT wasn't being used,
- fixed option assignment typo for delayMS outlier filter
  threshold
- Fixed FR #22 as per pointed out by Stanislav Novikov
- Added configurable maximum and minimum outlier filter
  thresholds
- Added code to pring autotune info
2.3.1rc2 work continued:
- skip statistics updates for outliers
- display fix for autotune info
- reduced spurious stability detection
2.3.1rc2 work continued
- don't clear stats containers if less than 10 samples
- rpm spec versions updated
- rpmbuild header added
2.3.1rc2 work continued:
- updated 2.3.1 change log
- ptpengine:unicast_address no longer mandatory
  when running slave-only - ptpd will pick up
  master's address if not configured
2.3.1-rc3 - first batch

- increased robustness to network failures:
  * issue full network reset if multicast refresh
    failed (both master and slave)
  * issue full network reset after N slave resets
    (default is 5) - covers unicast cases
- minor config file parser reload flag fixes
- cleaned up multicast init failure error messages
- version updated to 2.3.1-rc3
2.3.1 final bits
- added (on by default) automatic Delay Req interval override
  if received 0x7F
- added options to force step on startup and step only once
Man page updated for the new options
Corrected automatic delay request log messages