Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Network Time Foundation
Collective -
Host: opensource -
https://opencollective.com/network-time-foundation
- Website: https://www.nwtime.org
- Code: https://github.com/nwtime
When acting as a slave, we accept the foreign master's advertised
TAI-UTC offset for as long as ...
Now that we test the UTC flags in clock_update_slave(), the similar
code in clock_utc_correct() ...
The clock code uses two different variables to store the TAI-UTC
offset. One variable represent...
The current implementation of ptp4l always assumes 6 octets MAC
address, which is correct for Et...
Signed-off-by: Hangbin Liu <[email protected]>
github.com/nwtime/linuxptp - 17aa750a49ebaecfc7b063c770aa8d36f5078b2c authored over 7 years agoWith rtnl socket we can track link status per port(except UDS port).
We can make sure we get th...
github.com/nwtime/linuxptp - c149a3dbc1b38e833de783ae863038562baca0fe authored over 7 years agoRemove rtnl fd on clock since we track the link status per port now.
Signed-off-by: Hangbin Liu...
github.com/nwtime/linuxptp - 25ec8a3b4e2222b394794ff830bd3583e9cf6c71 authored over 7 years agoRemove index2port since we don't need it now.
Signed-off-by: Hangbin Liu <[email protected]>
github.com/nwtime/linuxptp - 7c3f9579f0c230ee798644a26d664ebd3efc612f authored over 7 years ago
Since we called strdup() for clock device, we need free the memory
before exit.
Signed-off-by: ...
github.com/nwtime/linuxptp - 46cc187e82874423f3a0940d8b12c191f7455a1a authored over 7 years ago
When phc2sys synced more than one ethernet interface, such as in a JBOD
boundary clock arrangeme...
Signed-off-by: Brian Olson <[email protected]>
github.com/nwtime/linuxptp - 7c6a9862fd7c6e49350aaf527194603930b10ca2 authored over 7 years ago[ RC: Added comment explaining the ordering requirements. ]
Signed-off-by: Brian Olson <brian@a...
github.com/nwtime/linuxptp - ae28f5295fc22ff5f65533d1cbbf8d2e29e48ebc authored over 7 years ago
Unfortunately uClinux is rather inconsistent with respect to
clock_nanosleep(). Older versions ...
If handle unknown management tlv. The management message id and format are
also unknown, thus we...
TLV_PRIORITY1 and TLV_PRIORITY2 cases in do_set_action() use the same repeated
piece of generic ...
The calls to snprintf() to format /dev/phc%d use the wrong pattern.
That function always properl...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 6558bade7c4a6bd57392d75256240f3dc08301cc authored over 7 years ago
On some platforms clock_adjtime is defined in timex.h instead of time.h
Due to this fact the det...
On some platforms like br-arm-cortex-a9-musl struct ethhdr was defined twice
due to including of...
Fixes the following build errors seen with musl-libc:
In file included from print.h:25:0,
...
If the len is not enought for another tlv process. e.g. one more bytes
padding at the end of mes...
netdb.h pulls in a large chain of include files:
rpc/netdb.h
rpc/types.h
rpc/types.h re-defines...
github.com/nwtime/linuxptp - 8b61aa2c3f3103db1d4ca1d1e49bb4f8831c1abf authored almost 8 years ago
The time stamp processor features four modes resulting from the
combination of two independent B...
After a servo jump, the call to tsproc_reset() clears tsp->t3. This
causes the next call to tsp...
We will want to test whether a valid filtered delay value has been
calculated or not. However, ...
The sequence of port_nrate_calculate() and tsproc_update_delay()
in port_peer_delay() is mixed u...
The servo constructors might return a NULL pointer.
The function servo_create() uses servo witho...
When ptp4l is using multiple interfaces sharing the same clock, phc2sys
in the automatic mode sh...
Signed-off-by: Miroslav Lichvar <[email protected]>
github.com/nwtime/linuxptp - 8deb52a849cb1b7479ddda1065cbba7c83fd13c4 authored almost 8 years ago
Having one fewer port may affect the result of the BMCA. This patch
changes the main loop so th...
This global function used to return an error code, but now it always
returns zero. This patch c...
When an interface doesn't support HW time stamping, before falling back
to SW time stamping, che...
Use the new options of ptp4l and phc2sys to tag their log messages with
the PTP domain number an...
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...
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 891d56e4292653c5c19ac8345159a1f1f5b2df26 authored over 8 years ago
Poll for link up/down events. When a link goes down, the port becomes
faulty until the link goe...
We use a hash table to remember the mapping. Since our existing hash
table is a simply string h...
This patch adds a source module that implements RT netlink sockets
for the purpose of link monit...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 5e3156da156a972151ffb1ccac00027cf3a350ab authored over 8 years agoNo functional changes.
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 6b99df29e050110b1d625d3448621cd4df6501e6 authored over 8 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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...
github.com/nwtime/linuxptp - 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...
github.com/nwtime/linuxptp - d825b1d5493b8a2ef5573217bbe42adf4fe5bbf0 authored almost 9 years ago
This patch adds a #include needed for the declaration of the function,
rate_limited.
Signed-off...
github.com/nwtime/linuxptp - 1b7088dea8a6f7077284d57d8294c5df28ad14c6 authored almost 9 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 62ce44a08a5c208d28bc15d55d27a63afe0a45aa authored almost 9 years agoThis information is useful to the various clock types.
Signed-off-by: Richard Cochran <richardc...
github.com/nwtime/linuxptp - 63e530e2975821e84491cb99266a83596b8af3d0 authored almost 9 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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.
github.com/nwtime/linuxptp - 6eec5a0d48e4c9503905222298a621c6f368cd5c authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - ddd653e7a9056594b716dafbe37d5d820ecc62af authored over 9 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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...
github.com/nwtime/linuxptp - 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,...
github.com/nwtime/linuxptp - 16bb89d5bfb678238420497f0ac18fe65e9bf369 authored over 9 years ago
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - b708ee384595b386d11d98ff30428e5f21787b3c authored over 9 years ago