Menu

Tree [018866] master v4.4 /
 History

HTTPS access


File Date Author Commit
 configs 2024-06-12 Miroslav Lichvar Miroslav Lichvar [d3f16d] Drop example snmpd.conf.
 .gitignore 2024-07-29 Erez Geva Erez Geva [fe7cf8] Complete SNMP cleanup.
 CODING_STYLE.org 2013-02-06 Richard Cochran Richard Cochran [89562f] Add a coding style document.
 COPYING 2011-11-01 Richard Cochran Richard Cochran [af380e] Add the license, a readme, and some header files.
 README.org 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [15ae0b] man: add man/README updates for authentication tlv
 address.h 2017-08-09 Feras Daoud Feras Daoud [754643] ptp4l: Add IPoIB interface support for ptp4l
 as_capable.h 2018-10-03 Vedang Patel Vedang Patel [3f764a] port: Add configurable option to set asCapable.
 bmc.c 2022-12-05 Luigi Mantellini Luigi Mantellini [02bc39] The PortId is defined as a couple of ClockId (a...
 bmc.h 2017-02-14 Richard Cochran Richard Cochran [0c30ab] telecom: Add a configuration option to use the ...
 clock.c 2024-07-29 Christopher S Hall Christopher S Hall [7c2b44] Add permanent subscription option
 clock.h 2021-08-12 Richard Cochran Richard Cochran [f70a3d] Implement the ALTERNATE_TIME_OFFSET_ENABLE mana...
 clockadj.c 2023-02-13 Wojtek Wasko via Linuxptp-devel Wojtek Wasko via Linuxptp-devel [08ba9b] clockadj: return error if failed to adjust clock
 clockadj.h 2023-02-13 Wojtek Wasko via Linuxptp-devel Wojtek Wasko via Linuxptp-devel [08ba9b] clockadj: return error if failed to adjust clock
 clockcheck.c 2022-10-24 Miroslav Lichvar Miroslav Lichvar [2f989b] Extend clockcheck to check for changes in frequ...
 clockcheck.h 2022-10-24 Miroslav Lichvar Miroslav Lichvar [2f989b] Extend clockcheck to check for changes in frequ...
 config.c 2024-06-03 Miroslav Lichvar Miroslav Lichvar [f722bd] ts2phc: Add option to correct for NMEA delay.
 config.h 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [60980b] port: add security processing to bc_event()
 contain.h 2022-12-22 Sebastian Andrzej Siewior Sebastian Andrzej Siewior [c74df1] raw: Use BPF filter based on tcpdump syntax.
 ddt.h 2022-02-18 Alexander Bulimov via Linuxptp-devel Alexander Bulimov via Linuxptp-devel [c63d1f] Add UNICAST_MASTER_TABLE_NP management TLV
 designated_fsm.c 2018-10-03 Vedang Patel Vedang Patel [83be05] Add BMCA config option.
 designated_fsm.h 2018-10-30 Cliff Spradlin via Linuxptp-devel Cliff Spradlin via Linuxptp-devel [e27cc2] Include missing headers.
 dm.h 2023-12-02 Richard Cochran Richard Cochran [9aaadc] Implement the COMMON_P2P delay mechanism.
 ds.h 2021-02-26 Karthikkumar V Karthikkumar V [f77470] Clock Class Threshold Feature addition for PTP4L
 e2e_tc.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [719204] sad: introduce sad_update_auth_tlv()
 ether.h 2022-12-22 Sebastian Andrzej Siewior Sebastian Andrzej Siewior [c74df1] raw: Use BPF filter based on tcpdump syntax.
 fault.c 2014-11-01 Richard Cochran Richard Cochran [e706f4] port: allow running a boundary clock with multi...
 fault.h 2015-11-03 Richard Cochran Richard Cochran [62ce44] fault: protect header against multiple inclusion.
 fd.h 2023-12-02 Richard Cochran Richard Cochran [9aaadc] Implement the COMMON_P2P delay mechanism.
 filter.c 2013-10-29 Miroslav Lichvar Miroslav Lichvar [ed9e0f] Add median filter.
 filter.h 2013-10-29 Miroslav Lichvar Miroslav Lichvar [ed9e0f] Add median filter.
 filter_private.h 2013-10-29 Miroslav Lichvar Miroslav Lichvar [2c9718] Add modular filter interface.
 foreign.h 2011-11-12 Richard Cochran Richard Cochran [49cd10] Implement the PTP clock.
 fsm.c 2016-10-27 Richard Cochran Richard Cochran [b738af] fsm: Make the transition out of INITIALIZING pa...
 fsm.h 2018-10-03 Vedang Patel Vedang Patel [83be05] Add BMCA config option.
 hash.c 2015-08-08 Richard Cochran Richard Cochran [8601aa] Introduce a simple hash table implementation.
 hash.h 2015-08-08 Richard Cochran Richard Cochran [8601aa] Introduce a simple hash table implementation.
 hwstamp_ctl.8 2014-06-04 Richard Cochran Richard Cochran [abd433] Bump the date on the hwstamp_ctl man page.
 hwstamp_ctl.c 2014-09-17 Miroslav Lichvar Miroslav Lichvar [9ddd2a] Fix copying of device name to ifreq.
 incdefs.sh 2024-08-12 Thomas Devoogdt Thomas Devoogdt [815755] rtnl: check if the kernel provides if_team
 interface.c 2023-11-30 Richard Cochran Richard Cochran [653c71] interface: Add an optional remote address for u...
 interface.h 2023-11-30 Richard Cochran Richard Cochran [653c71] interface: Add an optional remote address for u...
 linreg.c 2022-11-28 Jacob Keller Jacob Keller [4612e4] servo: stop rounding initial frequency to neare...
 linreg.h 2022-11-28 Jacob Keller Jacob Keller [4612e4] servo: stop rounding initial frequency to neare...
 lstab.c 2024-04-05 Maciek Machnikowski Maciek Machnikowski [b4a7d9] lstab: Update Leap Second table validity
 lstab.h 2023-02-08 Maciek Machnikowski Maciek Machnikowski [efed95] lstab: move update_leapsecond_table function to...
 makefile 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [1a307a] nsm: add authentication tlv for nsm
 mave.c 2018-03-01 Michael Brown Michael Brown [288810] tmv: Add missing uses of tmv_zero()
 mave.h 2013-10-29 Miroslav Lichvar Miroslav Lichvar [2c9718] Add modular filter interface.
 missing.h 2024-08-12 Thomas Devoogdt Thomas Devoogdt [815755] rtnl: check if the kernel provides if_team
 mmedian.c 2018-03-01 Michael Brown Michael Brown [1b7ff8] tmv: Generalise tmv_eq() to tmv_cmp()
 mmedian.h 2013-10-29 Miroslav Lichvar Miroslav Lichvar [ed9e0f] Add median filter.
 monitor.c 2020-04-16 Richard Cochran Richard Cochran [4466d7] monitor: Add support for slave delay timing dat...
 monitor.h 2020-04-16 Richard Cochran Richard Cochran [4466d7] monitor: Add support for slave delay timing dat...
 msg.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [719204] sad: introduce sad_update_auth_tlv()
 msg.h 2024-07-23 Chwee-Lin Choong Chwee-Lin Choong [365c99] port: Drop received 802.1AS packets with invali...
 mtab.h 2018-03-27 Richard Cochran Richard Cochran [0fffa6] Introduce the unicast client finite state machine.
 nmea.c 2024-08-26 Nicolas Nicolas [0bec0d] nmea: Fix tm_isdst uninitialized
 nmea.h 2019-12-29 Richard Cochran Richard Cochran [7486e6] ts2phc: Support using a GPS radio as the master...
 notification.h 2023-11-29 Richard Cochran Richard Cochran [342e7a] Add a push notification for the CMLDS TLV.
 nsm.8 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [1a307a] nsm: add authentication tlv for nsm
 nsm.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [1a307a] nsm: add authentication tlv for nsm
 ntpshm.c 2023-03-16 Maciek Machnikowski Maciek Machnikowski [8d094c] ntpshm: Invalidate SHM data before releasing th...
 ntpshm.h 2015-08-14 Richard Cochran Richard Cochran [4c9c44] config: convert 'ntpshm_segment' to the new sch...
 nullf.c 2022-12-20 Rahul Rameshbabu via Linuxptp-devel Rahul Rameshbabu via Linuxptp-devel [64e223] Improve efficiency of nullf servo synchronization
 nullf.h 2015-06-08 Richard Cochran Richard Cochran [fa7914] Add a servo that inhibits all frequency adjustment
 p2p_tc.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [719204] sad: introduce sad_update_auth_tlv()
 pdt.h 2022-12-29 SyncMonk Technologies SyncMonk Technologies [0f8026] organization TLV support for interface rate
 phc.c 2020-05-04 Richard Cochran Richard Cochran [7df88a] Add support for write phase mode.
 phc.h 2020-05-04 Richard Cochran Richard Cochran [7df88a] Add support for write phase mode.
 phc2sys.8 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 phc2sys.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 phc_ctl.8 2023-09-25 Rahul Rameshbabu via Linuxptp-devel Rahul Rameshbabu via Linuxptp-devel [6bfcda] phc_ctl: Add phase command to support ADJ_OFFSET
 phc_ctl.c 2024-04-24 Michael Galassi Michael Galassi [34d7d8] Clean up compiler warnings about print_level.
 pi.c 2022-11-28 Jacob Keller Jacob Keller [4612e4] servo: stop rounding initial frequency to neare...
 pi.h 2022-11-28 Jacob Keller Jacob Keller [4612e4] servo: stop rounding initial frequency to neare...
 pmc.8 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 pmc.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 pmc_agent.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 pmc_agent.h 2023-11-14 Miroslav Lichvar Miroslav Lichvar [e3ca7e] pmc_agent: Make update interval configurable.
 pmc_common.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 pmc_common.h 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 port.c 2024-07-23 Chwee-Lin Choong Chwee-Lin Choong [365c99] port: Drop received 802.1AS packets with invali...
 port.h 2023-11-28 Richard Cochran Richard Cochran [69a3af] Introduce the Common Mean Link Delay Informatio...
 port_private.h 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [60980b] port: add security processing to bc_event()
 port_signaling.c 2023-02-28 Christopher S M Hall Christopher S M Hall [c37781] Set controlField to zero in message headers
 power_profile.h 2021-07-24 Richard Cochran Richard Cochran [7059a0] Introduce the power profile.
 pqueue.c 2018-04-04 Richard Cochran Richard Cochran [a076fd] Introduce a priority queue implementation.
 pqueue.h 2018-04-04 Richard Cochran Richard Cochran [a076fd] Introduce a priority queue implementation.
 print.c 2023-11-14 Miroslav Lichvar Miroslav Lichvar [fb1701] print: Support log level in message tag.
 print.h 2021-12-17 Kosta Demirev Kosta Demirev [f885fd] Check 'print_log' before arguments are evaluate...
 ptp4l.8 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [15ae0b] man: add man/README updates for authentication tlv
 ptp4l.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [fccebe] sad: introduce security association database
 raw.c 2024-04-15 Christopher S Hall Christopher S Hall [ab3eb1] Filter any PTP frames with the source MAC of th...
 raw.h 2015-08-21 Richard Cochran Richard Cochran [852c28] config: convert 'p2p_dst_mac', letting it be a ...
 refclock_sock.c 2023-02-06 Miroslav Lichvar Miroslav Lichvar [b7a495] Add refclock_sock servo.
 refclock_sock.h 2023-02-06 Miroslav Lichvar Miroslav Lichvar [b7a495] Add refclock_sock servo.
 rtnl.c 2024-08-12 Thomas Devoogdt Thomas Devoogdt [815755] rtnl: check if the kernel provides if_team
 rtnl.h 2022-03-08 Miroslav Lichvar Miroslav Lichvar [1efabf] rtnl: Add function to detect virtual clocks.
 sad.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [719204] sad: introduce sad_update_auth_tlv()
 sad.h 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [719204] sad: introduce sad_update_auth_tlv()
 sad_gnupg.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [5c56e3] sad: introduce gnupg mac library
 sad_gnutls.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [b0ceda] sad: introduce gnutls mac library
 sad_nettle.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [875051] sad: introduce nettle mac library
 sad_openssl.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [6e037d] sad: introduce openssl mac library
 sad_private.h 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [6e037d] sad: introduce openssl mac library
 serial.c 2022-10-17 Amar Subramanyam Amar Subramanyam [3c2840] Added support for Standard Baudrates supported ...
 serial.h 2019-12-29 Richard Cochran Richard Cochran [7486e6] ts2phc: Support using a GPS radio as the master...
 servo.c 2023-11-22 Rahul Rameshbabu via Linuxptp-devel Rahul Rameshbabu via Linuxptp-devel [a4014a] servo: Use util.h NSEC_PER_SEC macro instead of...
 servo.h 2023-02-06 Miroslav Lichvar Miroslav Lichvar [b7a495] Add refclock_sock servo.
 servo_private.h 2019-03-29 Vedang Patel Vedang Patel [3f5f56] port: Add interval update mechanism.
 sk.c 2024-02-27 Miroslav Lichvar Miroslav Lichvar [57e3cf] sk: Fix descriptor leak in sk_get_if_info().
 sk.h 2023-04-26 Miroslav Lichvar Miroslav Lichvar [ab19bb] Clear pending errors on sockets.
 sock.c 2019-12-29 Richard Cochran Richard Cochran [7486e6] ts2phc: Support using a GPS radio as the master...
 sock.h 2019-12-29 Richard Cochran Richard Cochran [7486e6] ts2phc: Support using a GPS radio as the master...
 stats.c 2013-02-07 Miroslav Lichvar Miroslav Lichvar [3136e3] Add summary statistics.
 stats.h 2013-02-07 Miroslav Lichvar Miroslav Lichvar [3136e3] Add summary statistics.
 sysoff.c 2022-05-18 Miroslav Lichvar Miroslav Lichvar [dadd25] sysoff: Retry on EBUSY when probing supported i...
 sysoff.h 2022-05-18 Miroslav Lichvar Miroslav Lichvar [7824b1] sysoff: Change sysoff_measure() to return errno.
 tc.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [719204] sad: introduce sad_update_auth_tlv()
 tc.h 2015-11-02 Richard Cochran Richard Cochran [a13212] tc: Add the transparent clock implementation.
 telecom.c 2017-02-14 Richard Cochran Richard Cochran [f848a3] telecom: Add the data set comparison algorithm ...
 timemaster.8 2023-02-06 Miroslav Lichvar Miroslav Lichvar [b2ef98] timemaster: Use refclock_sock servo with chrony.
 timemaster.c 2024-09-04 Miroslav Lichvar Miroslav Lichvar [0f8ff2] timemaster: Wait for udev to set up vclock devi...
 tlv.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [d74864] tlv: add authentication tlv
 tlv.h 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [d74864] tlv: add authentication tlv
 tmv.h 2021-03-22 Miroslav Lichvar Miroslav Lichvar [68eb7c] Avoid undefined integer operations.
 transport.c 2018-06-25 Rafaël Carré Rafaël Carré [bdaff2] transport_txts(): transport argument is unused
 transport.h 2020-04-30 Richard Cochran Richard Cochran [306ac6] transport: Correct grammar in the doxygen comme...
 transport_private.h 2018-03-17 Richard Cochran Richard Cochran [4247ee] transport: Use the proper enumerated event code.
 ts2phc.8 2024-09-02 Miroslav Lichvar Miroslav Lichvar [3cf179] ts2phc: Fix description of holdover option in m...
 ts2phc.c 2024-06-03 Miroslav Lichvar Miroslav Lichvar [c6e576] ts2phc: Allow longer NMEA delays.
 ts2phc.h 2024-05-16 Miroslav Lichvar Miroslav Lichvar [5ce45b] ts2phc: Add holdover support.
 ts2phc_generic_pps_source.c 2024-01-25 Miroslav Lichvar Miroslav Lichvar [f27125] ts2phc: Don't switch system clock to nanosecond...
 ts2phc_generic_pps_source.h 2022-08-30 Vladimir Oltean Vladimir Oltean [c7ee08] ts2phc: instantiate a full clock structure for ...
 ts2phc_nmea_pps_source.c 2024-06-11 Miroslav Lichvar Miroslav Lichvar [59e6f2] ts2phc: Fix timestamp conversion for leap seconds.
 ts2phc_nmea_pps_source.h 2022-08-30 Vladimir Oltean Vladimir Oltean [c7ee08] ts2phc: instantiate a full clock structure for ...
 ts2phc_phc_pps_source.c 2022-08-30 Vladimir Oltean Vladimir Oltean [4abd3e] ts2phc_phc_pps_source: make use of new kernel A...
 ts2phc_phc_pps_source.h 2022-08-30 Vladimir Oltean Vladimir Oltean [c7ee08] ts2phc: instantiate a full clock structure for ...
 ts2phc_pps_sink.c 2024-09-05 Jacob Keller Jacob Keller [e2dc1e] ts2phc: check is_running in ts2phc_pps_sink_poll()
 ts2phc_pps_sink.h 2022-08-30 Vladimir Oltean Vladimir Oltean [4bda5d] ts2phc: create a private data structure
 ts2phc_pps_source.c 2024-06-03 Miroslav Lichvar Miroslav Lichvar [ada36c] ts2phc: Provide source type.
 ts2phc_pps_source.h 2024-06-03 Miroslav Lichvar Miroslav Lichvar [ada36c] ts2phc: Provide source type.
 ts2phc_pps_source_private.h 2024-06-03 Miroslav Lichvar Miroslav Lichvar [ada36c] ts2phc: Provide source type.
 tsproc.c 2018-03-01 Michael Brown Michael Brown [ffc5b9] tmv: Add tmv_sign()
 tsproc.h 2015-03-26 Miroslav Lichvar Miroslav Lichvar [06fcfe] tsproc: add raw and weighting modes.
 tz.h 2021-08-03 Richard Cochran Richard Cochran [929942] Prepare clock based storage of up to four time ...
 tz2alt.8 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 tz2alt.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [cbb23a] pmc: add authentication tlv for pmc
 udp.c 2024-04-25 Miroslav Lichvar Miroslav Lichvar [8a26c9] udp+udp6: Make IP addresses configurable.
 udp.h 2012-03-17 Richard Cochran Richard Cochran [9d4d68] Add missing release method to the UDPv4 transport.
 udp6.c 2024-04-25 Miroslav Lichvar Miroslav Lichvar [8a26c9] udp+udp6: Make IP addresses configurable.
 udp6.h 2015-08-15 Richard Cochran Richard Cochran [6fa42d] config: convert 'udp6_scope' to the new scheme.
 uds.c 2024-02-22 Miroslav Lichvar Miroslav Lichvar [accd35] uds: Warn if replacing existing socket.
 uds.h 2015-08-21 Richard Cochran Richard Cochran [e27b03] config: convert 'uds_address' to the new scheme.
 unicast_client.c 2023-02-07 Miroslav Lichvar Miroslav Lichvar [9eb077] unicast: Avoid undefined integer shifts.
 unicast_client.h 2022-12-07 Vincent Cheng Vincent Cheng [3b9b85] unicast_client: fix checkpatch ERROR: trailing ...
 unicast_fsm.c 2018-03-27 Richard Cochran Richard Cochran [0fffa6] Introduce the unicast client finite state machine.
 unicast_fsm.h 2018-03-27 Richard Cochran Richard Cochran [0fffa6] Introduce the unicast client finite state machine.
 unicast_service.c 2023-02-07 Miroslav Lichvar Miroslav Lichvar [9eb077] unicast: Avoid undefined integer shifts.
 unicast_service.h 2018-03-31 Richard Cochran Richard Cochran [635986] Introduce unicast service.
 util.c 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [fccebe] sad: introduce security association database
 util.h 2024-05-24 Clay Kaiser (via linuxptp-devel Mailing List) Clay Kaiser (via linuxptp-devel Mailing List) [fccebe] sad: introduce security association database
 version.c 2012-12-09 Richard Cochran Richard Cochran [c31198] Add utility functions to get the software versi...
 version.h 2012-12-09 Richard Cochran Richard Cochran [c31198] Add utility functions to get the software versi...
 version.sh 2024-09-07 Richard Cochran Richard Cochran [018866] Version 4.4

Read Me

* Introduction

  This software is an implementation of the Precision Time Protocol
  (PTP) according to IEEE standard 1588 for Linux. The dual design
  goals are to provide a robust implementation of the standard and to
  use the most relevant and modern Application Programming Interfaces
  (API) offered by the Linux kernel. Supporting legacy APIs and other
  platforms is not a goal.

* License

  The software is copyrighted by the authors and is licensed under the
  GNU General Public License. See the file, COPYING, for details of
  the license terms.

* Features

  - Supports hardware and software time stamping via the Linux
    SO_TIMESTAMPING socket option.

  - Supports the Linux PTP Hardware Clock (PHC) subsystem by using the
    clock_gettime family of calls, including the clock_adjtimex system
    call.

  - Implements Boundary Clock (BC), Ordinary Clock (OC) and
    Transparent Clock (TC).

  - Transport over UDP/IPv4, UDP/IPv6, and raw Ethernet (Layer 2).

  - Supports IEEE 802.1AS-2011 in the role of end station.

  - Modular design allowing painless addition of new transports and
    clock servos.

  - Implements unicast operation.

  - Supports a number of profiles, including:

    - The automotive profile

    - The default 1588 profile.

    - The enterprise profile.

    - The telecom profiles G.8265.1, G.8275.1, and G.8275.2.

  - Supports the NetSync Monitor protocol.

  - Implements Peer to peer one-step.

  - Supports bonded, IPoIB, and vlan interfaces.

  - Supports Authentication TLV using Nettle, GnuTLS, or OpenSSL

    - NOTE: OpenSSLv3+ is distributed under Apache 2 license. When
            compiled with this library, LinuxPTP is distributed
            under GPL3. An additional flag is required for linking:
            ~make EXTRA_CFLAGS=-DUSE_OPENSSL~

* Getting the Code

  You can download the latest released version at Source Forge.

  http://sourceforge.net/projects/linuxptp/files/latest/download

  The source code is managed using the git version control system. To
  get your own copy of the project sources, use the following command.

#+BEGIN_EXAMPLE
  git clone git://git.code.sf.net/p/linuxptp/code linuxptp
#+END_EXAMPLE

  If the git protocol is blocked by your local area network, then you
  can use the alternative HTTP protocol instead.

#+BEGIN_EXAMPLE
  git clone http://git.code.sf.net/p/linuxptp/code linuxptp
#+END_EXAMPLE

* System Requirements

  In order to run this software, you need Linux kernel version 3.0 or
  newer.  Check whether your network interface supports PTP with the
  following command.

#+BEGIN_EXAMPLE
  ethtool -T eth0
#+END_EXAMPLE

  This command shows whether a MAC supports hardware or software time
  stamping.  The following example output indicates support for
  hardware time stamping.

#+BEGIN_EXAMPLE
Time stamping parameters for eth6:
Capabilities:
        hardware-transmit     (SOF_TIMESTAMPING_TX_HARDWARE)
        software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
        hardware-receive      (SOF_TIMESTAMPING_RX_HARDWARE)
        software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
        software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
        hardware-raw-clock    (SOF_TIMESTAMPING_RAW_HARDWARE)
PTP Hardware Clock: 1
Hardware Transmit Timestamp Modes:
        off                   (HWTSTAMP_TX_OFF)
        on                    (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
        none                  (HWTSTAMP_FILTER_NONE)
        all                   (HWTSTAMP_FILTER_ALL)
#+END_EXAMPLE

  The next example shows the case where the MAC only supports software
  time stamping.  The ~ptp4l~ program requires either the ~-S~ command
  line argument or the ~time_stamping software~ configuration option
  when using such interfaces.

#+BEGIN_EXAMPLE
Time stamping parameters for enp6s0:
Capabilities:
        software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
        software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
        software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none
#+END_EXAMPLE

  Note the ~software-transmit (SOF_TIMESTAMPING_TX_SOFTWARE)~
  capability.  If this is lacking, then the MAC cannot be used at
  all.  However, adding this capability entails adding a single line
  of code to the device driver.

* Installation

   1. Just type 'make'

   2. If you compiled your own kernel (and the headers are not
      installed into the system path), then you should set the
      KBUILD_OUTPUT environment variable as in the example, above.

   3. In order to install the programs and man pages into /usr/local,
      run the 'make install' target. You can change the installation
      directories by setttings the variables prefix, sbindir, mandir,
      and man8dir on the make command line.

* Getting Involved

  The software development is hosted at Source Forge.

  https://sourceforge.net/projects/linuxptp/

** Reporting Bugs

   Please report any bugs or other issues with the software to the
   linuxptp-users mailing list.

   https://lists.nwtime.org/sympa/info/linuxptp-users

** Development

   If you would like to get involved in improving the software, please
   join the linuxptp-devel mailing list.

   https://lists.nwtime.org/sympa/info/linuxptp-devel

*** Submitting Patches

   1. Before submitting patches, please make sure that you are starting
      your work on the *current HEAD* of the git repository.

   2. Please checkout the ~CODING_STYLE.org~ file for guidelines on how to
      properly format your code.

   3. Describe your changes. Each patch will be reviewed, and the reviewers
      need to understand why you did what you did.

   4. *Sign-Off* each commit, so the changes can be properly attributed to
      you and you explicitely give your agreement for distribution under
      linuxptp's license. Signing-off is as simple as:

      #+BEGIN_EXAMPLE
      git commit -s
      #+END_EXAMPLE

      or by adding the following line (replace your real name and email)
      to your patch:

      #+BEGIN_EXAMPLE
      Signed-off-by: Random J Developer <random@developer.example.org>
      #+END_EXAMPLE

   5. Finally, send your patches via email to the linuxptp-devel mailing
      list, where they will be reviewed, and eventually be included in the
      official code base.

      #+BEGIN_EXAMPLE
      git send-email --to linuxptp-devel@lists.nwtime.org origin/master
      #+END_EXAMPLE

* Thanks

  Thanks to AudioScience Inc for sponsoring the 8021.AS support.

  - http://www.audioscience.com

  Thanks to Exablaze for donating an ExaNIC X10

  - http://exablaze.com/exanic-x10

  Thanks to Intel Corporation for donating four NICs, the 82574,
  82580, 82599, and the i210.

  - http://www.intel.com
  - http://e1000.sourceforge.net

  Thanks to Meinberg Funkuhren for donating a LANTIME M1000.

  - https://www.meinbergglobal.com

  Thanks to Moser Baer for sponsoring the Telecom Profiles and unicast
  support.

  - http://www.mobatime.com

  For testing I use an OTMC 100 grandmaster clock donated by OMICRON Lab.

  - http://www.omicron-lab.com/ptp