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
When running multiple instances of ptp4l or phc2sys, it's difficult to
tell which log message be...
Currently UTC offset is defined as a constant - CURRENT_UTC_OFFSET, and if
a leap second is adde...
The state machines in 1588 do not specify an event that causes a transition
out of the initializ...
This allows adding new FSM flavors in the future.
Signed-off-by: Richard Cochran <richardcochra...
10d4e7f8b0525bbf72981e3e5fcf0c10833a7631 authored about 8 years ago
Looking at the fault logic in port_dispatch(), you might think that
the function, fault_interval...
The code that decides whether a fault qualifies for ASAP treatment is
a tangle of logical operat...
Although leaving the INITIALIZING state and clearing the FAULTY state
ASAP both result in a port...
A leap second was applied to UTC on 2016-12-31 and the offset between
TAI and UTC is now 37 seco...
Signed-off-by: Richard Cochran <[email protected]>
4e966536c6253d73e1a3202e8b562ab0f518e33b authored about 8 years ago
The recent change allowing every configuration option to appear on the
command line wrongly used...
Signed-off-by: Richard Cochran <[email protected]>
81d97657bf8aeeb216d91ca160ff80569d10f038 authored about 8 years ago
This patch makes the build system less surprising by removing the
executable binaries in the 'cl...
This patch provides a way to use the entire table of configuration options
as "long" command lin...
Signed-off-by: Richard Cochran <[email protected]>
891d56e4292653c5c19ac8345159a1f1f5b2df26 authored about 8 years ago
Poll for link up/down events. When a link goes down, the port becomes
faulty until the link goe...
This patch adds a source module that implements RT netlink sockets
for the purpose of link monit...
Signed-off-by: Richard Cochran <[email protected]>
5e3156da156a972151ffb1ccac00027cf3a350ab authored over 8 years ago
We use a hash table to remember the mapping. Since our existing hash
table is a simply string h...
No functional changes.
Signed-off-by: Richard Cochran <[email protected]>
6b99df29e050110b1d625d3448621cd4df6501e6 authored over 8 years agoSigned-off-by: Richard Cochran <[email protected]>
c8b525755b79f2222f93e28526166952993549af authored over 8 years ago
The clock module will want to know the interface indexes, in order to
implement link monitoring....
The time stamping setup code needlessly queries the configuration data
base over and over, rathe...
We activate on-step mode based on the "time_stamping" and
"twoStepFlag" configuration options. ...
If a non-slave port on a boundary clock see an announce message, then it
must decide whether it ...
Signed-off-by: Richard Cochran <[email protected]>
159f4a265d35ed1753e18f9d3fb6e4f403238f4d authored over 8 years ago
Assume only the chronyd or ntpd process is essential for synchronization
of the system clock and...
Instead of trying to support all options of the server and refclock
directives in both NTP imple...
This allows using a sequence of SHM segments that starts with a number
larger than zero, which c...
In the last years there are several media streaming standards
evolving that are relying on PTP. ...
Since size_t is an unsigned data type, it won't evaluate correctly on errors
of vasprintf(). Thi...
During the configuration rework, the announce span was wrongly converted
into a hard coded macro...
The -p option for ptp4l, which specifies the PHC device, was added
before the ethtool get_ts_inf...
The message lists are implemented using a TAILQ from queue(3). The heads
of the list must be in...
Store the type in the clock object explicitly.
Signed-off-by: Richard Cochran <richardcochran@g...
9c8fe6a94ed2591c4fbc6e284072511450ee6324 authored almost 9 years ago
The code that determines the index of the PHC device is useful to all
kinds of clock devices.
S...
d825b1d5493b8a2ef5573217bbe42adf4fe5bbf0 authored almost 9 years ago
This patch adds a #include needed for the declaration of the function,
rate_limited.
Signed-off...
1b7088dea8a6f7077284d57d8294c5df28ad14c6 authored almost 9 years agoSigned-off-by: Richard Cochran <[email protected]>
62ce44a08a5c208d28bc15d55d27a63afe0a45aa authored almost 9 years agoThis information is useful to the various clock types.
Signed-off-by: Richard Cochran <richardc...
63e530e2975821e84491cb99266a83596b8af3d0 authored almost 9 years agoSigned-off-by: Richard Cochran <[email protected]>
8f7fb11fbc60f4c5c53b4e09c26f55a590625233 authored almost 9 years ago
This function will allow the TC code to iterate over the ports without
calling into the clock lo...
The port code is not interested in the number of ports but rather the
clock type. Since the pol...
Signed-off-by: Richard Cochran <[email protected]>
fd2eb9411feec13e9ea94b3ee9d941eb14f0abcb authored almost 9 years ago
There is no need for the 'ifaces' parameter since the list of network
interfaces is already pres...
With the new configuration API, there is no need to pass the default data
set. Instead, the clo...
There is no need to have a function to get this information as
we can easily obtain it when the ...
When the P2P link partner is using one shot mode, the residence time
in the peer (t3 - t2) is re...
When remote timestamps from P2P delay measurement are not known (the
remote processing time is s...
There is one parenthesis too many in the manpage of ptp4l.
6eec5a0d48e4c9503905222298a621c6f368cd5c authored about 9 years agoSigned-off-by: Richard Cochran <[email protected]>
b9aa4d783e1c5fe7be4173a7a7e8c8bba7276652 authored over 9 years ago
The difference between Coordinated Universal Time UTC and the International
Atomic Time TAI is :...
Signed-off-by: Miroslav Lichvar <[email protected]>
01d523fb483e2f2cb5d86a18c6fb03a8d1c4961c authored over 9 years ago
Upgrade the message level to info so the user can see it, but print it
at most once per 5 minute...
Signed-off-by: Miroslav Lichvar <[email protected]>
ddd653e7a9056594b716dafbe37d5d820ecc62af authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
776f772c36520d28d30c7008095d086bcefd7746 authored over 9 years ago
The new configuration code inadvertently causes the UDS port to use P2P
messaging when P2P is se...
Use the udp_ttl option to configure both IPv4 and IPv6 transports.
Signed-off-by: Miroslav Lich...
d8bfa0fa69b1143b5ef26cb1424042f40ba6dbef authored over 9 years ago
The draft Enterprise Profile [1] specifies a hybrid E2E delay mechanism,
where the delay respons...
The raw Ethernet transport code invented its own way of storing the MAC
address into our "struct...
Even if the caller provides the destination address, still the port must
depend on the passed 'e...
Even if the caller provides the destination address, still the port must
depend on the passed 'e...
Add wrappers for malloc(), calloc(), realloc() and strdup() that check
if the allocation failed,...
16bb89d5bfb678238420497f0ac18fe65e9bf369 authored over 9 years ago
f44178476bb1eaa34e2a1f234bbc56fddd47331b authored over 9 years ago
Buggy or mis-configured masters can place bogus logMessageInterval values
in their delay respons...
The logMessageInterval field has an improbable range from 2^-128 to 2^127
seconds. The extreme ...
Now that all of the legacy, open coded configuration fields are gone,
we can follow a normal cre...
Signed-off-by: Richard Cochran <[email protected]>
b708ee384595b386d11d98ff30428e5f21787b3c authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
bf229e1e0f8778e7e608bb060da093bc75a032cc authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
efa91dda772e1dae88128782cd48de578e651ad6 authored over 9 years ago
Now that all of the legacy parsing code is gone, there remain two
identical parsing functions. ...
Signed-off-by: Richard Cochran <[email protected]>
4e23ac1b216344582ea260f7306ad3da1746e930 authored over 9 years ago
This patch rearranges the guts of the main parsing loop to keep it
more within the 80th column. ...
Signed-off-by: Richard Cochran <[email protected]>
13aec6d133ac3894710943e86afdb8207dc19ea6 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
e82462e295d3455baf5d88ef9f32c9d12b47a62d authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
ed566513e03c7583defa9c92c964c6dd1155ae58 authored over 9 years ago
Now we have debug messages in the configuration code. Therefore set up
the print levels immedia...
Signed-off-by: Richard Cochran <[email protected]>
8836f3cc6768b409dcbdc01ade4a0a0ae3c5bd56 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
e27b036d09426d30fcba6380250e94c00edbc537 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
852c288ebe1684f947db69ddfd74473135c3edb7 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
a31f2d0ddf361bb7b558240730b6d3a7369b1d26 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
5fe77584b414904620806fdb0343a91f38a16d6c authored over 9 years ago
Global default values will be static strings, but values from the
configuration file will be dyn...
Signed-off-by: Richard Cochran <[email protected]>
b6a91303a909862a47d3f1fa6fcd2a6e30dbcede authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
b57840cef9a27dc5949e8a5e9bb8963ba6e76072 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
e8a2956ce05190da4b61af518edf38784c7b871b authored over 9 years ago
This will allow removing the code that passes configuration options via
global variables.
Signe...
bde8ef4360b742569985934644ad2b2d4bf00199 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
d4995c6d71ded118dc90834fd1f886b47ad75301 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
2816133b5e40760f2e9355b85fbf68f11aae74b0 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
4c9c44742937ee34ce49300e7d3a2ad4e8c45fd9 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
0578e321fbed602b2a87fb0d460a3b7c1646aad7 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
ffa7d49df60dc61c9e547d262082d195f3ef91fd authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
83e26ec68b7613255b88611d7ec8b85777f447a1 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
ea574c7e4f6b45bee2f8663e11249f1b1fe1435e authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
a8b550887db541aafbdfb6ab46015ec09603ebdb authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
bf290220050bec717f8e47cd887e4239b579f2a1 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
3d1d93bcb27031c6f792cfd298124195ef107c20 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
5d184839d037e6464859533d022c72a88f75d824 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
1080826d6c3e41172887c21bec318859d62eedb7 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
9d929fe424e6e0ab260f198b03c17a2409152fd8 authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
4e27856c8b4d496ffad91120a205b440840ebe6b authored over 9 years ago