Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/nwtime/linuxptp

Linux PTP Project
https://github.com/nwtime/linuxptp

clock: Fix stale clock parent pid usage after best master change

Problem
=======
Unselected master port may unintentionally continue to request
announce/sync/del...

6e02bb2c756c2ca9d3313f5200412da674fdced4 authored almost 2 years ago by Vincent Cheng <[email protected]>
function to support get interface speed via ethtool

When master and slave instance interacting with each other operating
at different interface spee...

0c4ea4d866ed6bf26075eea918d26e0a96f561e0 authored almost 2 years ago by SyncMonk Technologies <[email protected]>
adding delay asymmetry calculation

Delay asymmetry calculation based on the PTP port interface speed of
master obtained from TLV an...

3cb4915f95029a0fcf6061dd99fc1c60dc425cba authored almost 2 years ago by SyncMonk Technologies <[email protected]>
organization TLV support for interface rate

adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to
enable master to communicate P...

0f8026f377391dbccf8769a81a559c398d110010 authored almost 2 years ago by SyncMonk Technologies <[email protected]>
adding speed field information for interface

Get the interface speed related information using ethtool and
convert interface speed to bit rat...

3d245ba0139f3097448f1f0bb60841ba8840e70f authored almost 2 years ago by SyncMonk Technologies <[email protected]>
unicast_client: cancel sync/delay_response on UC_EV_UNSELECTED event

When a unicast master is no longer the best master, an UC_EV_UNSELECTED
event occurs for that un...

78d57e8216c22f7ec657e51d5b24584b7b530c4a authored almost 2 years ago by Vincent Cheng <[email protected]>
unicast_client: fix checkpatch ERROR: trailing whitespace

Signed-off-by: Vincent Cheng <[email protected]>

3b9b852bf89361452a5b0c538c3e81bb7e4b89a4 authored almost 2 years ago by Vincent Cheng <[email protected]>
unicast_client: stop sending abnormal contract cancel requests

On termination of a ptp4l unicast session, ptp4l sends
CANCEL_UNICAST_TRANSMISSION for announce,...

53df53a3ae73f849286445dc98be1f3b58a5687b authored almost 2 years ago by Vincent Cheng <[email protected]>
Don't re-arm fault clearing timer on unrelated netlink events

Set the timer only when an event causes the port to transition to the
FAULTY state, rather than ...

6bac465e9528ec5d427869f97ca26c28db297518 authored about 2 years ago by davidjm via Linuxptp-devel <[email protected]>
port: Avoid faults with vclocks and PHC from command line.

After commit afeabf3c90ed ("ptp4l: add VLAN over bond support") the
TS_LABEL_CHANGED flag was se...

fea457be4857927bd63eb71388f604472d97d878 authored about 2 years ago by Miroslav Lichvar <[email protected]>
makefile: use conditional assignment for KBUILD_OUTPUT

Refer [1],from make 4.4, all variables that are marked as export will
also be passed to the shel...

d3dd51ba611802d7cbb28631cb943cb882fa4aac authored about 2 years ago by Changqing Li <[email protected]>
servo: stop rounding initial frequency to nearest ppb

The interface to the Linux kernel for adjusting clock frequencies is
specified in scaled parts p...

4612e4665f916a8ee07ae6a537b7d69eab557410 authored about 2 years ago by Jacob Keller <[email protected]>
The PortId is defined as a couple of ClockId (an 8-bytes opaque) and the PortNumber (UInterger16).

The current implementation compares the entire PortId, consisting of ClockId and PortNumber, usi...

02bc393179f27bac21ec5e9fa3887532237c206c authored about 2 years ago by Luigi Mantellini <[email protected]>
config: Fix -Wformat-truncation warnings.

Check the snprintf() return value in order to avoid the following
warnings from gcc:

config.c: ...

57d5c6a81f6fa810b663f174985f03dfded4095f authored about 2 years ago by Miroslav Lichvar <[email protected]>
unciast_client: trigger BMCA upon CANCEL receive

Cancel messages don't trigger BMCA leaving best GM select for the port.
In case when new Announc...

ac972fba82b39fab83075806cb63f793513c71cd authored about 2 years ago by Vadim Fedorenko via Linuxptp-devel <[email protected]>
ptp4l: Add profile_id configuration support for G.8275.1 and G.8275.2.

Signed-off-by: Izunna Otiji <[email protected]>

1af983d0d691c5fcf4598a019c4cbf7df686e755 authored about 2 years ago by Izunna Otiji <[email protected]>
config: allow fractional freq_est_interval

The freq_est_interval value is documented as the time interval over which
to estimate the ratio ...

1cc4f4694bd02fc497d691e5d79f2bf6d7b3c246 authored about 2 years ago by Jacob Keller <[email protected]>
Added support for Standard Baudrates supported by GNSS receivers

Signed-off-by: Amar Subramanyam <[email protected]>

3c2840f2e0af4e49bfd94732d4b7e5b1cc9167e4 authored about 2 years ago by Amar Subramanyam <[email protected]>
phc2sys: Add clocks after processing configuration.

Clocks specified by the -c option, or the default CLOCK_REALTIME, were
added before the default ...

3ffbf92a0396eab21cc2bec66e4b3178bf099232 authored about 2 years ago by Miroslav Lichvar <[email protected]>
Don't accept errors in clockadj_get_freq().

Exit if an error is returned from the clock_adjtime() call in
clockadj_get_freq(). No recoverabl...

f19ced6baf7933452d1fec4eaa211b6a9c839040 authored about 2 years ago by Miroslav Lichvar <[email protected]>
Extend clockcheck to check for changes in frequency.

Before setting the new frequency offset on a clock update, compare the
current frequency returne...

2f989b3125a3f498e7c268391059ef874fb209b6 authored about 2 years ago by Miroslav Lichvar <[email protected]>
Drop support for old kernels returning zero frequency.

Kernels before 3.10 had a bug in reading of the system clock frequency,
which was worked around ...

b57e9e938b227ec18bf8b71d2a78557c453ec094 authored about 2 years ago by Miroslav Lichvar <[email protected]>
ts2phc: Use system time as the default ToD source

If no other Time of Day source is specified use the system timer
by default.

Signed-off-by: Mac...

539939c5c67d15d4a1a75b26c1bee6aaea7a053b authored about 2 years ago by Maciej Machnikowski <[email protected]>
ts2phc: Add option to specify the ToD source in the config file

Current implementation requires specifying the -s argument for PPS
sources that don't provide To...

b3b452f22c48ac401424b345e386d0247b40bad1 authored about 2 years ago by Maciej Machnikowski <[email protected]>
ts2phc: Rename pps_sink to tod_sink in main()

Rename pps_sink to tod_sink, as it stores the source
of the time of day

Signed-off-by: Maciej M...

dbc56425f64fd131870b176dce84bbbdb2c79393 authored about 2 years ago by Maciej Machnikowski <[email protected]>
port: don't clear fault if link is down

When ptp4l detects a fault, the application stops for a short time until
the fault_reset_interva...

a1155637a438bb503a37709712099401ed8b16fb authored about 2 years ago by Jacob Keller <[email protected]>
sk: Handle EINTR when waiting for transmit timestamp.

If ptp4l received a signal in poll() waiting for a transmit timestamp,
multiple (possibly confus...

3c48a398978e659c86c0e2a60ebaac147153891e authored about 2 years ago by Miroslav Lichvar <[email protected]>
ts2phc: Update default lstab expiry date

Update leap second table expiry date to 28 June 2023 based on
the latest leap-seconds.list from ...

e8843611954c8c43bfe78249164daeeae95e9739 authored about 2 years ago by Maciek Machnikowski <[email protected]>
phc2sys: Update TAI to UTC offset in manual

To avoid confusion - update offset in the man page to current value.

Signed-off-by: Maciek Mach...

10d42e3a466f1c8dac1dcc7f7a2b51e6ad4d2aa1 authored about 2 years ago by Maciek Machnikowski <[email protected]>
Strip Parallel Redundancy Protocol (PRP) trailer

Strip the IEC62439-3 PRP trailer if it is present
to support PTP over PRP.
The implementation is...

02c7ab8436ced2e92524bb7b196189c8d381f883 authored over 2 years ago by Magnus Armholt <[email protected]>
ts2phc_phc_pps_source: make use of new kernel API for perout waveform

This API was introduced for 2 reasons:

1. Some hardware can emit PPS signals but not starting f...

4abd3e91c89565baae5ae66f128f78fd4e4db7ae authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: reconfigure sync direction by subscribing to ptp4l port events

Monitor the port state change events from ptp4l, and use that
information to determine the "refe...

ecffcfb9daf25ca8210bbbd811a85364e19984fb authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: instantiate a pmc agent

This introduces the '-a' option in ts2phc, an option inspired from
phc2sys that puts the clocks ...

2064127797d90961585652b32f3bb5c09d299cbc authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: split PPS sink poll from servo loop

Previous changes/clarifications to ts2phc have established that:

- a PPS sink deals with extts ...

457ca967ebe3356705a3f0814715dfb57b154412 authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: allow PHC PPS sources to be synchronized

Now that we are registering a clock even for the PPS source when it
supports that (i.e. when it ...

5112624cb6a5e642352383ad29fe3177602c3840 authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: instantiate a full clock structure for every PPS source of the PHC kind

This propagates the use of "struct ts2phc_private" all the way into the
PPS source API, in prepa...

c7ee08cae51111fdf36e23564008f9b10368c778 authored over 2 years ago by Vladimir Oltean <[email protected]>
util: import port_state_normalize() logic from phc2sys

PMC agents such as phc2sys tend to suppress uninteresting port state
transitions, to avoid runni...

0926ca4e9a4745cb980f283888da09d53bdc0cd3 authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: instantiate a full clock structure for every PPS sink

Currently in ts2phc, PPS sinks are also the only candidates for the
clocks that get synchronized...

a994864c5a6eccb7d5147e18a4e912e9924e2dc2 authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: create a private data structure

Eliminate the ad-hoc use of global variables in the ts2phc program by
introducing one data struc...

4bda5db05df50e964077db503701daa6c99e3137 authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc_slave: print offset to the source clock

Make this information more visible by default, since it is the key
output of this program.

Sign...

9684508c84f10f79b1288f4cbef04f5d38e45fda authored over 2 years ago by Vladimir Oltean <[email protected]>
phc2sys: Add support for free-running mode

Add support for the free-running mode that will not adjust the sink
clock when enabled.

V2: cha...

6c42e5c14362a359e7a3aa8f1a01488f8fedaf3d authored over 2 years ago by Maciek Machnikowski <[email protected]>
G.8275.2 support for delay_mechanism NO_MECHANISM

As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this
case port does not implement...

b904763657c5762e9fa99fcdc81f7889c9db1b64 authored over 2 years ago by SyncMonk Technologies <[email protected]>
port: Disable PHC switch with vclocks.

With a virtual PHC, don't try to switch to the physical PHC after a
link-state change. JBOD and ...

b9a7615c2c36c13c50f5a8b3e762edb7faf402c8 authored over 2 years ago by Miroslav Lichvar <[email protected]>
unicast: Update announce timer when renew

After first timeout of Announce message ptp4l will send Announce
requests messages to all of con...

58eb8c894656d069f9ce702b4c76e6dab302f0b8 authored over 2 years ago by Vadim Fedorenko via Linuxptp-devel <[email protected]>
phc2sys: Allow multiple sink clocks

Currently, if the -c parameter is used multiple times only the last
clock will be synchronized a...

33ac7d25cd9212e79be6f7023ba18cfa5020e35b authored over 2 years ago by Maciek Machnikowski <[email protected]>
Add new ptp capability.

Add new adjust phase support flag to the phc control tool.

[RC: Trivial grammar correction ]

S...

e197a7bae61bd4067a206d3654db12aff7c24ceb authored over 2 years ago by Erez Geva <[email protected]>
Add new management TLVs to pmc.8

As far as I can tell, three new management TLVs were added recently
without updating the pmc.8 m...

ec124c550a14698a8877c7da6abe16904856c4f1 authored over 2 years ago by Alexander Bulimov via Linuxptp-devel <[email protected]>
ptp4l: init iface->ts_label when interface created

It's redundant to ensure tslabel if we could get ts_info directly from
the interface. By init if...

55722bc99cf1d426b5eef9a737a8c65524dee167 authored over 2 years ago by Hangbin Liu <[email protected]>
ptp4l: add VLAN over bond support

Latest Linux kernel has supported getting active port's PHC from bond
directly. This would help ...

afeabf3c90edf6699d7e0d058593835ec258be46 authored over 2 years ago by Hangbin Liu <[email protected]>
port: refactor port_link_status

Split port_change_phc() logic form port_link_status() to improve the
readability of the code

Si...

6070f8c7e4086de3c2a8657d152ab15a17b2cf3d authored over 2 years ago by Hangbin Liu <[email protected]>
sysoff: Change sysoff_measure() to return errno.

Return -errno from failed ioctl instead of the SYSOFF_* enum from the
measurement functions to a...

7824b13db9533ddebe37cf444d7aaa5d235575d3 authored over 2 years ago by Miroslav Lichvar <[email protected]>
clockadj: Change clockadj_compare() to return errno.

Return -errno from the failed clock_gettime() to allow the callers to
check for specific errors....

c9ae9ad790064c8e0dab2628771b964f5c8fa9b9 authored over 2 years ago by Miroslav Lichvar <[email protected]>
sysoff: Retry on EBUSY when probing supported ioctls.

Handle EBUSY when probing support for a PTP_SYS_OFFSET ioctl. Try each
ioctl up to three times b...

dadd2593c7beaee9eba5828a7bd8a0b5849dd8bb authored over 2 years ago by Miroslav Lichvar <[email protected]>
sysoff: Change log level of ioctl error messages.

Change the log level of ioctl error messages to the error level to make
them visible in default ...

270709323a161ff1cb83af511ce50691152c75cf authored over 2 years ago by Miroslav Lichvar <[email protected]>
phc2sys: Don't exit when reading of PHC fails with EBUSY.

Reading of the PHC can occasionally fail with some drivers, e.g. the ice
driver returns EBUSY wh...

e8dc364f9fd5fbdac5d2c5e433f28e9da0028d49 authored over 2 years ago by Miroslav Lichvar <[email protected]>
ts2phc: rename "master" to "source"

The ts2phc program will introduce clock synchronization which is
orthogonal to the direction in ...

58c7f9dfcdb55ee3d7616f19dc5fc3cf4da76449 authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: rename "slave clocks" to "PPS sinks"

The ts2phc program will introduce clock synchronization which is
orthogonal to the direction in ...

ddabf9b59602d61ee6c8b7c316b90f44af1cd9be authored over 2 years ago by Vladimir Oltean <[email protected]>
ts2phc: rename source code files ("master" to "source", "slave" to "sink")

At the moment, a clock which emits PPS is not synchronizable, and
therefore called "master", and...

528ec64e55b3be33afc3776efd0fb8a44d7e8652 authored over 2 years ago by Vladimir Oltean <[email protected]>
pmc_agent: make pmc_agent_query_port_properties take an enum port_state argument

Enforce type correctness and make all callers of pmc_agent_query_port_properties
pass an enum po...

f63907a127ed029f35ff9e10b8f62e200d5c73bd authored over 2 years ago by Vladimir Oltean <[email protected]>
UDS: allow specifying different file mode for the read-only socket.

[ RC: adjusted max file mode value ]

Signed-off-by: Martin Pecka <[email protected]>
Signed-...

4eca5f8db642ad02ead11ebc7d3625f6815fe3f6 authored over 2 years ago by Martin Pecka <[email protected]>
UDS: added option to set file mode for the created socket.

[ RC: adjusted max file mode value ]

Signed-off-by: Martin Pecka <[email protected]>
Signed-...

926f469f4791a2225a8344cec4b1efa49d715c33 authored over 2 years ago by Martin Pecka <[email protected]>
Fix management TLV print.

Use proper management TLV name in print.
Use a simple 16 unsigned bits format.

Signed-off-by: E...

f55f771b4a8e382c2ff555be3999d3cbe2b09d22 authored over 2 years ago by Erez Geva <[email protected]>
Add new managements TLVs get size.

Add missing managements TLVs to pmc_tlv_datalen.
Ensure alignment to 16 bits.

Signed-off-by: Er...

d7f79b9c15384ce6bd2c6927d57ff148361e82e3 authored over 2 years ago by Erez Geva <[email protected]>
unicast: Add support to check if message was received from an entry in the unicast master table.

Signed-off-by: Vincent Cheng <[email protected]>

v1->v2: new
v2->v3: unicast_client_...

14fdf4f63ab9afaddeda6a7bb67b87cfb1762445 authored over 2 years ago by Vincent Cheng <[email protected]>
unicast: Add support to send CANCEL_UNICAST_TRANSMISSION TLVs.

Signed-off-by: Vincent Cheng <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.k...

868c5ee572114ffd667fdf5c981c85b02417f696 authored over 2 years ago by Vincent Cheng <[email protected]>
port: cancel unicast transmission when closing port.

Signed-off-by: Vincent Cheng <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.k...

f8259c657c6704f8d58f76a21410d87954a31905 authored over 2 years ago by Vincent Cheng <[email protected]>
port: unicast client - do not add master to foreign master table if not in the unicast master table.

Signed-off-by: Vincent Cheng <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.k...

e04c9d2739c87d1f5899ea0397cbf2b15808aa30 authored over 2 years ago by Vincent Cheng <[email protected]>
TLV management messages need to be aligned to 16 bits.

Add reserved octet to the new port hardware clock structure.

Signed-off-by: Erez Geva <erez.gev...

1a3c9716faefec8817e013b1ec7af4e505b16b27 authored over 2 years ago by Erez Geva <[email protected]>
Fix the descriptions of "G.8275.portDS.localPriority" and "G.8275.defaultDS.localPriority" in ptp4l man page.

The descriptions of "G.8275.portDS.localPriority" and
"G.8275.defaultDS.localPriority" in ptp4l ...

b251ccfcfca048890454fc7c9b59fee8c6b3f2cb authored over 2 years ago by [email protected] <[email protected]>
phc2sys: Use PHC index from PORT_HWCLOCK_NP.

When running in the automatic mode, get the PHC index of the port
from PORT_HWCLOCK_NP instead o...

e29a334a66b402a4f5587f2cba46606474b83453 authored almost 3 years ago by Miroslav Lichvar <[email protected]>
port: Check for virtual clocks.

If the PHC specified with the phc_index or -p option is a virtual clock
of the interface, bind s...

9b9c2c58e6ed397b5a6db050fc69e8234996e575 authored almost 3 years ago by Miroslav Lichvar <[email protected]>
timemaster: Add support for virtual clocks.

Add "use_vclocks" option to enable synchronization with virtual clocks.
This enables multiple pt...

4d9f44958dff001ca48f112cecc7ca2ffc5296cc authored almost 3 years ago by Miroslav Lichvar <[email protected]>
config: Add port-specific phc_index option.

Allow the PHC index to be configured for each port. The default value is
-1, which enables the o...

e56964cd4f008640ee61ca38fca4d4ac07b2fca7 authored almost 3 years ago by Miroslav Lichvar <[email protected]>
Add support for binding sockets to virtual clocks.

With the latest kernels it is possible to create virtual PHCs on top of
a free-running physical ...

18dee4563fd81cd1c1fd139fceff8decc4a7b727 authored almost 3 years ago by Miroslav Lichvar <[email protected]>
rtnl: Add function to detect virtual clocks.

Add a function using ethtool netlink to check whether a PHC is a virtual
clock of an interface.
...

1efabfcf0aad5773b37e25f6c91c8d0ef8801404 authored almost 3 years ago by Miroslav Lichvar <[email protected]>
tlv: Add PORT_HWCLOCK_NP.

Add a new command to get the PHC index associated with the port. This
will be needed for phc2sys...

16f8f8facc6c33bd2b9528db4ed64ef85ecec204 authored almost 3 years ago by Miroslav Lichvar <[email protected]>
rtnl: Fix rtnl_rtattr_parse() to process max attribute.

Initialize the whole array passed to rtnl_rtattr_parse() and don't
ignore the last attribute wit...

ac63ec54ae24bc8793bd84a7831f48deaf704427 authored almost 3 years ago by Miroslav Lichvar <[email protected]>
phc_ctl: replace calculate_offset with clockadj_compare

The phc_ctl program includes an implementation for comparing the PHC
with CLOCK_REALTIME when PT...

af8d4edb0b6b299a93ac86c74f1a1e005fdb70e7 authored almost 3 years ago by Jacob Keller <[email protected]>
phc2sys: move read_phc into clock_adj.c

The read_phc function implemented in phc2sys.c is used to perform clock
comparison between two a...

0d53d2532cfc108b58ae20a5b6b22b1e7d095742 authored almost 3 years ago by Jacob Keller <[email protected]>
Add UNICAST_MASTER_TABLE_NP management TLV

This change adds new UNICAST_MASTER_TABLE_NP management TLV that
exposes table with details of e...

c63d1fca3f47ea22eae076114ce263bc4f30725a authored almost 3 years ago by Alexander Bulimov via Linuxptp-devel <[email protected]>
Check 'print_log' before arguments are evaluated, not after.

[ RC - put extern and inline key words on same line as identifier.
- fix commit message ]

...

f885fd8f69c714a72410bf707b8495d919743a7d authored almost 3 years ago by Kosta Demirev <[email protected]>
pmc: Initialize reserved field in management_tlv_datum.

The management_tlv_datum used in some SET commands is allocated
on stack, but nothing initialize...

7553c0918fbe6235dce36175a6ab0feb1bbc9eac authored almost 3 years ago by Miroslav Lichvar <[email protected]>
Add PORT_SERVICE_STATS_NP management TLV

We'd like to monitor the service quality of unicast PTPv2 in the DCs.
This change adds counters ...

cfbb8bdb50f5a38687fcddccbe6a264c6a078bbd authored almost 3 years ago by Alexander Bulimov via Linuxptp-devel <[email protected]>
util: fix dangling file descriptors on the error path of posix_clock_open

When we determine that the "device" argument represents a path to a char
device, we call phc_ope...

7cbda6aad66f0e1a3a6347ff33eaadfc0eff797f authored almost 3 years ago by Vladimir Oltean <[email protected]>
util: attempt to resolve symlinks to the PHC device in posix_clock_open

Ed uses the ptp_kvm driver with phc2sys, and Debian 10 has an udev rule
which creates a symlink ...

50afe81000fb0b11514664ccbbc810655b68730a authored almost 3 years ago by Vladimir Oltean <[email protected]>
Maintain one Sync sequence counter per destination address.

According to IEEE 1588, each destination should have its own, unique
message sequence with respe...

24220e87fdb7464e9876e79abe704f3f798be5b2 authored about 3 years ago by Richard Cochran <[email protected]>
Maintain one Announce sequence counter per destination address.

According to IEEE 1588, each destination should have its own, unique
message sequence with respe...

801889210b5c156f161818af964c78b948fb1107 authored over 3 years ago by Richard Cochran <[email protected]>
clock: Split update of leap status from clock_time_properties().

Add a separate function for the update of the grandmaster's state after
a leap second to avoid m...

63592effe3f3ff616a19bfff3757fd3dbd95baf5 authored over 3 years ago by Miroslav Lichvar <[email protected]>
Delay Response Timeout Feature addition for PTP4L

This code changes brings in the ability to program delay response timeout
within which, if the u...

ec8abd10be53144e39f05bdd19f8696a979a1b83 authored over 3 years ago by Karthikkumar V via Linuxptp-devel <[email protected]>
clock: Accept new UTC offset after leap second.

When the master updated the UTC offset and leap flags in an announce
message after a leap second...

130769d1dae764034aa10e779df4e102be46ebcf authored over 3 years ago by Miroslav Lichvar <[email protected]>
clock: Notify servo about leap second on UTC hardware clock.

Don't limit servo handling of leap seconds to the system clock. If the
domain doesn't use the PT...

159ca940cdbc9e0ac02eb828aa4407e719983431 authored over 3 years ago by Miroslav Lichvar <[email protected]>
clock: Print info message when leap flags change.

Log an info message when the LEAP_61 or LEAP_59 flag changes in the
accepted time properties.

S...

ee70be87ffb3d4a07ffb60ca119b909bb8157afa authored over 3 years ago by Miroslav Lichvar <[email protected]>
clock: Clear leap flags after leap second.

When operating as a grandmaster, clear the programmed leap second and
update the UTC offset when...

aa61e11d4c5ff85c188a4687d6ac00e5e8c84430 authored over 3 years ago by Miroslav Lichvar <[email protected]>
lstab: update expiration to 28 December 2021

Bring the built in leap second table up to date through IERS Bulletin C62.
No new leap seconds h...

27bc9d52fa12b78abe0b3b73e162693938fbf498 authored over 3 years ago by Yangbo Lu <[email protected]>
lstab: Close file after reading.

The lstab_read() function opens a file, but doesn't close it after use.

Signed-off-by: Miroslav...

2bd23463596e4c1e4e806a287bdcd3895b8356bc authored over 3 years ago by Miroslav Lichvar <[email protected]>
Fix quoting in ptp4l man page.

In the groff syntax lines starting with a dot or quote are requests. A
line in the servo_offset_...

6cfba54148af52d3e3b3cd0b743d22537529e286 authored over 3 years ago by Miroslav Lichvar <[email protected]>
config: Add workaround for glibc getopt_long().

getopt_long() in glibc allows shortened long option names, e.g.
ptp4l --domain works as --domain...

6116613122ea60e6c0a33359cfc39bf86d28e7a1 authored over 3 years ago by Miroslav Lichvar <[email protected]>
port: Don't check timestamps from non-slave ports.

Don't perform the sanity check on receive timestamps from ports in
non-slave states to avoid fal...

e117e37e379556fa23337db2518bb44d8793e039 authored over 3 years ago by Miroslav Lichvar <[email protected]>
clock: Reset state when switching port with same best clock.

When the best port is changed, but the ID of the best clock doesn't
change (e.g. a passive port ...

7e8eba5332671abfd95d06dd191059eded1d2cca authored over 3 years ago by Miroslav Lichvar <[email protected]>
port: Don't renew raw transport.

Renewing of the transport on announce/sync timeout is needed in the
client-only mode to avoid ge...

6df84259647757bc53818a039734f8ff85618c02 authored over 3 years ago by Miroslav Lichvar <[email protected]>