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

interface: Introduce a method to set the time stamping label.

The ts_label field of the interface is set in different ways by different
callers. In order to ...

github.com/nwtime/linuxptp - 5f9d36c76a0118fa757d21d047fd1dbcacbad335 authored almost 5 years ago
Convert call sites to the proper method for setting the name.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

github.com/nwtime/linuxptp - d471a57aa864e620e5b8033f9029da559161c49e authored almost 5 years ago
interface: Introduce a method to set the name.

The name field of the interface is set in different ways by different
callers. In order to prev...

github.com/nwtime/linuxptp - 47982fb8c8c2c0861583ffc6b62ad0af6ee967d6 authored almost 5 years ago
Convert call sites to the proper method for initializing the time stamping label.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

github.com/nwtime/linuxptp - a8df585e044012de9f931372b750692e77fefb0f authored almost 5 years ago
interface: Introduce a method to initialize the time stamping label.

In many cases, the time stamping label will be the same as the name of
the interface. In order ...

github.com/nwtime/linuxptp - b802e3b7840b0065560cb284e3d5df7f549b41d6 authored almost 5 years ago
Convert call sites to the proper method for getting time stamp information.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

github.com/nwtime/linuxptp - 6d73e755c37d131a9204183cfcb2631bb4c0f34c authored almost 5 years ago
interface: Introduce a method to get the time stamping information.

In order to prevent users from open coding this logic, this patch
provides a method that populat...

github.com/nwtime/linuxptp - cca19dab99992659f79b000b3afc3264d53e5ff2 authored almost 5 years ago
Convert call sites to the proper method for getting interface labels.

Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...

github.com/nwtime/linuxptp - e752cac7b1198ec9b441d03c850d9001449b1445 authored almost 5 years ago
interface: Introduce an access method for the time stamping label.

Many of the users only require a read only reference to the time
stamping label of the interface...

github.com/nwtime/linuxptp - a3c0a88b82c6611abee42a406b17b1446bdeb4b8 authored almost 5 years ago
interface: Introduce an access method for the name field.

Many of the users only require a read only reference to the interface name.
This patch adds an a...

github.com/nwtime/linuxptp - 380ee349f6f2885ef4527e64deaa7983e0051000 authored almost 5 years ago
Convert call sites to the proper method for getting interface names.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 34945679fef64de38bb89ba0bff90837b606f007 authored almost 5 years ago
Move the network interface into its own header file.

Up until now, the users of the interface data structure simply access
its fields without restric...

github.com/nwtime/linuxptp - c5b9ab990a7210961810d8e3ab7eb5268b1a00ea authored almost 5 years ago
utils: Constify the posix clock interface.

The function to open a posix clock never modifies the passed in
string. This patch adds the con...

github.com/nwtime/linuxptp - 9dcd6c31e7840d6916a4ff4d948faf3a87ddff0a authored almost 5 years ago
rtnl: Constify the public interface.

Three of the rtnl methods never modify the strings passed in. This
patch adds the const keyword...

github.com/nwtime/linuxptp - e4d1988f544e4853fee61852c6eae22a2131d5e4 authored almost 5 years ago
config: Constify the public interface.

The two methods, config_create_interface and config_read, never modify the
strings passed in. T...

github.com/nwtime/linuxptp - 831f7e073b7ff8dd01e87495c6dc15e31fe8a387 authored almost 5 years ago
Group related objects together within the makefile.

Any program that links to the servo interface must also link with the
implementations of that in...

github.com/nwtime/linuxptp - b8480ef908b915f5e6a68abc5d636381345cf324 authored almost 5 years ago
clock: reset master/local rr when best clock id changes

This fixes an issue with free running clocks. When the master clock id
changes the measured mast...

github.com/nwtime/linuxptp - a380afc482e70bc4f7c2ac150598abc8d6c941dd authored about 5 years ago
unicast: Enable sharing master tables between ports.

Don't require each port to have its own master table specified in the
config. Instead of ports c...

github.com/nwtime/linuxptp - ee6930a884e5b1c2b521b69bbb766e659560c80c authored about 5 years ago
Accept external PHC devices from the command line.

A single, external PTP Hardware Clock device may be wired to one or more
MAC devices, providing ...

github.com/nwtime/linuxptp - 581a6bd59b095ec06affc9847c940f9c3435d4fe authored about 5 years ago
phc2sys: Fix frequency estimation when synchronizing a PHC to the system clock.

When synchronizing a PHC to the Linux system clock (CLOCK_REALTIME),
the phc2sys uses the sysoff...

github.com/nwtime/linuxptp - e0580929f451e685d92cd10d80b76f39e9b09a97 authored about 5 years ago
Correct the signature of the legacy system offset measurement method.

The sysoff_measure() function gained an additional parameter some time
ago, but the legacy metho...

github.com/nwtime/linuxptp - a920c134137a7dc1f703b7431add823065ef7ceb authored about 5 years ago
port: Avoid calling freed servo after switching PHC.

In port_synchronize(), when the clock returned SERVO_UNLOCKED and
port_dispatch() triggered a sw...

github.com/nwtime/linuxptp - e20d8228f95180e37805f9c7d7c573466a9d4b2a authored over 5 years ago
port: Don't leak transport when unicast initialization fails.

[RC: Fix two more bad goto labels. ]

Signed-off-by: Miroslav Lichvar <[email protected]>
Sign...

github.com/nwtime/linuxptp - f9e84e69bfafaa6ccf13de2bdbc698e540e464a9 authored over 5 years ago
util: Add a function to render timestamp type

TLV_PORT_PROPERTIES_NP carries, among other attributes, a timestamp type
used for that port. In ...

github.com/nwtime/linuxptp - f9f00d8fe8f04e896ee4c95d463be51497e1c788 authored over 5 years ago
pmc: Support querying TLV_PORT_PROPERTIES_NP

TLV_PORT_PROPERTIES_NP messages serve for querying of port properties, such
as timestamp type an...

github.com/nwtime/linuxptp - 79856341797eb020c01c6da0fa86fc65da1a407e authored over 5 years ago
pmc.8: Mention PORT_STATS_NP

In commit 2b5bec8d2740 ("pmc: Add a new TLV to obtain per-port
statistics"), pmc gained a new TL...

github.com/nwtime/linuxptp - 48e605ef015c59787b0a8da9abd208471830cd56 authored over 5 years ago
pmc: Add a new TLV to obtain per-port statistics

Add an ability of pmc to query per-port stats added in the previous patch.

Signed-off-by: Petr ...

github.com/nwtime/linuxptp - 2b5bec8d2740c5f466aa423ae3710d812d5b16f8 authored over 5 years ago
udp6: Make mc6_addr transport-local

mc6_addr holds the parsed multicast address to which messages should be sent.
But since each por...

github.com/nwtime/linuxptp - a48666bee3dd239a2d48833c20ec65849a949342 authored over 5 years ago
port: Introduce per-port stats for received and transmitted messages

Add struct PortStats to keep per-port number of messages sent and received,
split by message typ...

github.com/nwtime/linuxptp - e3f0891996ff6256fc1ab335d6f5b95b0b1fb36f authored over 5 years ago
phc2sys, phc_ctl: Re-factor common code.

The two programs, phc2sys and phc_ctl, use nearly identical subroutines to
open an instance of a...

github.com/nwtime/linuxptp - d32758aa09b915e84a664d4b4cbc24112b2d15d9 authored over 5 years ago
Keep configuration options in alphabetical order.

The order of the options list has gone a bit astray. This patch
restores the ordering.

Fixes: ...

github.com/nwtime/linuxptp - 46b673792ac01036d5d8345b31dd1761eaef5cf3 authored over 5 years ago
configs: default.cfg: Fix typo in inhibit_delay_req

ptp4l -f default.cfg complains:

unknown option inhibit_pdelay_req at line 41 in global sectio...

github.com/nwtime/linuxptp - 68337acd10b030f3c46111ba7e7b4624e4609cf9 authored over 5 years ago
ptp4l: Add configuration option for socket priority

Users may need to use different socket priorities for ptp4l traffic for
the purpose of traffic s...

github.com/nwtime/linuxptp - c15e8c76000cdd00335a039f89693b820044ac91 authored over 5 years ago
clock: prepend port number to grandmaster notice

Signed-off-by: Hubert Feurstein <[email protected]>

github.com/nwtime/linuxptp - f2aac1b30ebf65e689a25b313664db4e26841a75 authored over 5 years ago
sk: Recognize HWTSTAMP_FILTER_SOME

struct hwtstamp_config.rx_filter passed to SIOCSHWTSTAMP can be updated by
the kernel with the v...

github.com/nwtime/linuxptp - ba3705a0f05e4164313e9ce8411612fa61d3448c authored over 5 years ago
nsm: Add man page.

Add a man page for the nsm program based on the pmc man page.

Signed-off-by: Miroslav Lichvar <...

github.com/nwtime/linuxptp - 3962f638410dd51cc3ab897d641470f85a4154f1 authored over 5 years ago
pmc: Describe -f option in man page.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - 40e5868e66c9a2d26ff37508a115865762b55ba2 authored over 5 years ago
Improve G.8275.[12] example configs.

Set the announce, sync and delay request intervals in the example
configs per the G.8275.1 and G...

github.com/nwtime/linuxptp - 27657d0118fa03f6491e164ebb2bb70aaf5fb7d7 authored over 5 years ago
rtnl: add team activebackup support

This patch add team interface activebackup mode support. As linux team use
genl netlink message,...

github.com/nwtime/linuxptp - 268be957d275e367a86830d8b8c3724515a05785 authored over 5 years ago
port: Add interval update mechanism.

This commit adds functionality to increase the sync and pdelay request
intervals once gptp synch...

github.com/nwtime/linuxptp - 3f5f5653d7966da8ba96d64fbf74aa472e9f078c authored almost 6 years ago
clock: add APIs to access servo and servo_state

Make servo and it's current state available outside clock.c

Signed-off-by: Vedang Patel <vedang...

github.com/nwtime/linuxptp - 78b4b780da5589eb4e2a69bc7c322b3a81c68daf authored almost 6 years ago
port: Add inhibit_delay_req.

Add provision to disable delay requests. Designated masters who do not
need to calculate pdelay ...

github.com/nwtime/linuxptp - 450b1ed844f6f5e0e2a0881b08a0afd1d6a2d76a authored almost 6 years ago
port: implement message interval request processing

This implements transmission and receipt of message interval requests.
Using this mechanism, a t...

github.com/nwtime/linuxptp - 630ce719fc518227d59900a66d499de836987fc2 authored almost 6 years ago
port: Add logPdelayReqInterval.

It will be used to store the current value of Pdelay Request Interval.
It will be represented as...

github.com/nwtime/linuxptp - 888afcdbae756e0a1bc5bfcbe3089a5f37e69d4e authored almost 6 years ago
port: Separate unicast specific code from port_signaling_construct()

Make port_signaling_construct() to create a generic signaling
ptp_message. Move the unicast spec...

github.com/nwtime/linuxptp - 43085ab741a9c07aff51dbefa597b5fabc76392f authored almost 6 years ago
port: Make port_capable() accessible outside port.c

Make sure port_capable() can be accessed by the signaling construct in
port_signaling.c

Signed-...

github.com/nwtime/linuxptp - 705e5a32faf20c1ca4595840ae486d71d422aa58 authored almost 6 years ago
Ignore signaling messages on target port mismatch.

IEEE 1588 specifies dropping signaling messages if the
targetPortIdentity does not match the rec...

github.com/nwtime/linuxptp - b59a739d0fa7fda2d91328a025b6db40dc35ba6d authored almost 6 years ago
Update the unciast discovery options sections of the man page.

Ever since commit d88b4ff2298b ("util: Added IPv6 support in help
funtions addreq and str2addr")...

github.com/nwtime/linuxptp - cc54cdef27c7e2e910172f839d54af691a207fce authored almost 6 years ago
port: should check the new phc_index before switching

In logic, when we want to switch phc, we should check if the new phc
index is valid instead of c...

github.com/nwtime/linuxptp - 51d76bdfb7423947dbb3e250c86d83f9edb0a15b authored almost 6 years ago
util: Fix addreq() to not read past addresses.

Fix the length of compared data to be the size of the IPv4/IPv6 address.

Signed-off-by: Mirosla...

github.com/nwtime/linuxptp - dd30b3a0d94d1c087066066e5df6bc84e3019b0b authored almost 6 years ago
pmc: Don't leak memory when msg_tlv_append() fails.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - 86723cfc6a7ac1d9b1bff5e90b7f4696d6460a0e authored almost 6 years ago
Avoid fault when receiving zero length packets

The manpage for recvmsg says -1 will be returned on error, Zero indicates an
"orderly shutdown",...

github.com/nwtime/linuxptp - 6b61ba29c78e26109426429c6d6b354f6e4443cd authored almost 6 years ago
ptp4l: Remove bogus command line option.

Commit c8107c8d ("config: Add a configuration option for TC mode.")
added a new TC mode. An ear...

github.com/nwtime/linuxptp - 1b7a1e2cda1da59cee9aea38009663cdaf278487 authored almost 6 years ago
Chronos_d.py with smoothing algorithm (taking the minimal in case it close to the avg)

github.com/nwtime/khronos - 51f72ca0357fcf5d836771051b7d6f426f8e53b4 authored almost 6 years ago
fix bugs in Chronos.d including smooth mechanism,

ntpd.py - supports pool mode and servers mode
ntp_multi_attacker.py include log file.

github.com/nwtime/khronos - 749c45b76f8775c0752d20253357885cafa22364 authored almost 6 years ago
debugging (%1 for negative offsets) in chronos_d.py and other bugs

github.com/nwtime/khronos - be9b55d69f248d2835e2352c61fe76e85085e50e authored almost 6 years ago
Simplify the systems requirements section of the readme file.

Now that PTP support support is well established, remove the text that
attempts to explain the (...

github.com/nwtime/linuxptp - 32e34d5da381c90b2d6ef1704b90aaa6dd11be76 authored almost 6 years ago
Update the features listed in the readme file.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 47a4fd040b98243a4e8da3b6ac1d52b71c5a4be3 authored almost 6 years ago
Add an acknowledgment in the readme for Moser Baer.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 36624a43457255c95ce7f54efc71532ae3520dae authored almost 6 years ago
small fixes

github.com/nwtime/khronos - 1e9f76e9aa24e1f4cfe19ef733f4cc6ec215272d authored almost 6 years ago
tested ntp_multi_attack_server.py with chronos_d.py.bak

github.com/nwtime/khronos - da960ef0ef025321b8a3a11562e6c3a80e8f1f3e authored almost 6 years ago
added dns_attack_server.py, ntpd.py and ntp_multi_attack_server.py

github.com/nwtime/khronos - 3b038fe39a294f114c2f9a89ca97ee0d14b7f406 authored almost 6 years ago
after debugging

github.com/nwtime/khronos - 3ba06a30c9d96d6fc092db61f225ce52eae5615a authored almost 6 years ago
added calibration to chronos_d.py

github.com/nwtime/khronos - ec453f60d8d56dee94f892d760d7472e72e87c98 authored almost 6 years ago
added chronos_d

github.com/nwtime/khronos - 74838e97ec2e8ed13279c2c44102fb8241ba7d08 authored about 6 years ago
new servers pool with 500 servers

github.com/nwtime/khronos - a65d45fc1ce61f22071e4232bbe0d1b8cdcc540e authored about 6 years ago
removing attack prob from chronos client

github.com/nwtime/khronos - 80e6fae32c2f3dbb95cdecf8b9b916ec57cb228c authored about 6 years ago
updates in automation

github.com/nwtime/khronos - d6dc9f2f408cb1a623855c951c0dfd4174579af2 authored about 6 years ago
port: Prevent undefined shift operations in msg_current().

Adjust checks of logMessageInterval in received packet to prevent 1 of
type int being shifted by...

github.com/nwtime/linuxptp - 6d50817dc094b92478477a0259959494eba372e3 authored about 6 years ago
added aws_info json to contain ids of pre-built vpcs and subnets in desired regions

github.com/nwtime/khronos - 09c91d4e1d95632cbfba39abd49c4ad161d51d0b authored about 6 years ago
removed unnecessary attack logic from chronos client

github.com/nwtime/khronos - f92d0b4059e6bcc8940a4ebd933763d9265c9f45 authored about 6 years ago
rewrote README

github.com/nwtime/khronos - 7b9dcf2a68a6e0704a5bbba4650b480195337912 authored about 6 years ago
Automation update - WIP (almost ready)

github.com/nwtime/khronos - 7b38b71441b247fa1c3f4b55e51696f58101b28e authored about 6 years ago
sysoff: Add support for PTP_SYS_OFFSET_EXTENDED ioctl.

This is a more accurate variant of the the PTP_SYS_OFFSET ioctl, which
will probably be supporte...

github.com/nwtime/linuxptp - 68a9011c9d7d859920da339ba59c14dc1d617a45 authored about 6 years ago
sysoff: Add support for PTP_SYS_OFFSET_PRECISE ioctl.

This ioctl uses cross timestamping for a more accurate measurement of
the offset. It is supporte...

github.com/nwtime/linuxptp - 192b8e315c4585489d7aa7f59683035998805e40 authored about 6 years ago
sysoff: Extend API for different sysoff methods.

The kernel supports different PTP_SYS_OFFSET* ioctls. Use the sysoff
enum to allow selecting bet...

github.com/nwtime/linuxptp - 93baf34adb81046a5e1c3b9a3e685029f2046993 authored about 6 years ago
phc2sys: Use reversed sysoff when synchronizing to system clock.

If synchronizing a PHC to the system clock, use one of the
PTP_SYS_OFFSET ioctls (if supported) ...

github.com/nwtime/linuxptp - 8142da41b61fb5b9ee4ad8f5ab56adb0447cd37b authored about 6 years ago
phc2sys: Fix crash when trying to synchronize unadjustable clock.

A clock that cannot be adjusted has no servo. Check if a servo is
present before updating the cl...

github.com/nwtime/linuxptp - 3c7e4947e4e471de56ced82323f89732ef9a774f authored about 6 years ago
sysoff: Initialize data for ioctl(PTP_SYS_OFFSET).

This fixes valgrind errors.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - c0e49c708814ec783726fe92202371847703c5ed authored about 6 years ago
tmv: Avoid overflow when byte shift in tmv_to_TimeInterval

Added check so that convertion from a positive tmv not result in a negative TimeInterval and vic...

github.com/nwtime/linuxptp - 14ac29b059865de61097f296d7e272d3eb8a30fc authored about 6 years ago
Fix building with new kernel headers.

net_tstamp.h in recent kernel versions requires time.h for clockid_t.

Signed-off-by: Miroslav L...

github.com/nwtime/linuxptp - d663a483c40939bad58301c256d86da1f3da6cc0 authored about 6 years ago
msg: Added const flag in msg_type

Signed-off-by: Anders Selhammer <[email protected]>

github.com/nwtime/linuxptp - 1a4f6a26ce174db070a37d555e21d4efef7ab7ce authored about 6 years ago
Added support for opening POSIX clock devices

I have reduced the requirements for the -p option to accept
any type of device. With this it sho...

github.com/nwtime/linuxptp - a5da8c4b71dee314ed0f199e820f66b6c3df437a authored about 6 years ago
port: Fix for inhibit_announce.

When inhibit_announce is set, ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES event is
still sent once every st...

github.com/nwtime/linuxptp - d1ce07d5cbbff73303c8544020dd1c1b30aee135 authored about 6 years ago
Allow ignoring source port identity in end to end mode.

The "inhibit_announce" and "ignore_source_id" options were introduced
in order to support the au...

github.com/nwtime/linuxptp - 563c52b833b3c5d810b80422d13205fcae1f13dd authored about 6 years ago
util: Added IPv6 support in help funtions addreq and str2addr

Signed-off-by: Anders Selhammer <[email protected]>

github.com/nwtime/linuxptp - d88b4ff2298b9b6588e03fe94c2e7c0263fb4750 authored over 6 years ago
Use llabs() instead of fabs() for integers.

Change-Id: I64cf1d4e1728c31ced40aff865d66b5b4356560f
Signed-off-by: Cliff Spradlin <cspradlin@go...

github.com/nwtime/linuxptp - 2c3a501fc34ff519e0418b821f47d68b1becd216 authored over 6 years ago
sk: Added address family as inargument in sk_set_priority

Signed-off-by: Anders Selhammer <[email protected]>

github.com/nwtime/linuxptp - 80b1d25dfd6cfc1ad24fec1d2adee7aa6dead6f7 authored over 6 years ago
Include missing headers.

Signed-off-by: Cliff Spradlin <[email protected]>
Change-Id: If0fd08df74e1cf108978266cd77768d...

github.com/nwtime/linuxptp - e27cc2d8a8bc1d8735f2a1ee35f09333156239b8 authored over 6 years ago
port: correction of port name used port_open

Correction of fault introduced in "Add BMCA config option."

Signed-off-by: Anders Selhammer <an...

github.com/nwtime/linuxptp - 8f2f9bbcabd2f0381dc7dcbc9d947e0178c71d6b authored over 6 years ago
clock: Add NULL check for best clock in clock_update_slave()

This scenario will only be encountered when the clock transitions to the
slave state without kno...

github.com/nwtime/linuxptp - 386fc3ed893a2215784c76ffa745dd3fddaa451d authored over 6 years ago
Add BMCA config option.

This adds config option to specify static roles for master and slave
in the Best Master Clock Al...

github.com/nwtime/linuxptp - 83be05256b900d1d83a23ecce9d80fb7cedec865 authored over 6 years ago
port: Add configurable option to set asCapable.

If set to 'true', this unconditionally sets the asCapable variable. The
usual checks will be app...

github.com/nwtime/linuxptp - 3f764aec6a10bdff0c28a68f28fac06d5755c07f authored over 6 years ago
Add example configuration for Automotive Profile.

This commit adds example for configuring master and slave devices that
support features from the...

github.com/nwtime/linuxptp - 4d251d8358e9464c001e5e623a6f35bca4791786 authored over 6 years ago
Add ignore_source_id config option.

This config option will skip the source port identity verification in
the Sync and Follow_up mes...

github.com/nwtime/linuxptp - d58b1080bce54c60cd4375d74d32688c9e289491 authored over 6 years ago
port: Add condition to check fc.

If foreign clock is NULL, both the clocks are obviously not equal. So,
return 0 in that case.

T...

github.com/nwtime/linuxptp - 4910055bd7b426c0be50945c3c7b9007379aad90 authored over 6 years ago
Add inhibit_announce config option.

This option will accomplish 2 things. On the master, it will stop the
announce messages being se...

github.com/nwtime/linuxptp - 1cbeec80cd7b2f170a02d9fa6b071345645477ca authored over 6 years ago
timemaster: Allow ptp4l-specific sections in [ptp4l.conf].

Remove > from beginning of lines specified in the *.conf sections in
order to allow a ptp4l-spec...

github.com/nwtime/linuxptp - 78a720f2b38459f5be1089f01e4b396e6167948a authored over 6 years ago
unicast: Process timeouts equal to current time.

Don't postpone processing of a timeout if it is equal to the current
time. This prevents an infi...

github.com/nwtime/linuxptp - 241d8a064efa535029e28b87a8995add3cca8c0c authored over 6 years ago