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

config: convert 'clockClass' to the new scheme.

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

a71ecc2816fcba48b7845b103b8f19b407f8eed3 authored over 9 years ago
config: port: convert 'logSyncInterval' to the new scheme.

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

769a8d3fa68cbc1f932cbcdccd29b306454459ce authored over 9 years ago
config: convert 'priority1' and 'priority2' to the new scheme.

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

0c9d54d3fff2162507e92abd14fc65e063b60d50 authored over 9 years ago
config: convert 'udp6_scope' to the new scheme.

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

6fa42d3491ba64ffc8f9e5626aa505534a0d911b authored over 9 years ago
config: remove the 'port_defaults' structure.

This definition is now empty and can serve no purpose any more.

Signed-off-by: Richard Cochran ...

0bb690c16cb28071e49f9b4c1d0c43a211da8e4b authored over 9 years ago
config: convert the fault interval options to the new scheme.

This conversion is not straightforward due to the fact that these options
can take a value of "A...

bbd8d62bec9efadec92ce191a5bf251f47586446 authored over 9 years ago
config: convert 'timeSource' to the new scheme.

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

76f8d5eb48864c7d8cb8da11010461c50e08fa0e authored over 9 years ago
config: convert 'sanity_freq_limit' to the new scheme.

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

5277396b3afdfc752211547cae50f8c7a5f532b1 authored over 9 years ago
config: convert 'kernel_leap' to the new scheme.

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

0aff268a4e023cdbeddc0e9ac75d4c5297f3070e authored over 9 years ago
config: convert 'summary_interval' to the new scheme.

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

f2da3cc48438cf9dc3523177221c954d7121e25f authored over 9 years ago
config: convert 'free_running' to the new scheme.

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

5eeea1365227b8bfb94bf78d5a5727f3b1216078 authored over 9 years ago
config: clock, port: convert 'boundary_clock_jbod' to the new scheme.

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

38c891b2c8ae4967b7eb26ac09b5f27f86f756de authored over 9 years ago
config: port: convert 'delay_filter_length' to the new scheme.

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

eaa70f165fb3ecc48a69f269c1cff513a1933f8a authored over 9 years ago
config: port: convert 'egressLatency' to the new scheme.

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

a19318b413aeaca234bef5f26b4af1240ee2824b authored over 9 years ago
config: port: convert 'min_neighbor_prop_delay' to the new scheme.

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

3ff0e4a589672e4eb58bf02a28f66347f72eb79f authored over 9 years ago
config: port: convert 'neighborPropDelayThresh' to new scheme.

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

7895466de1331bddadaea885a749e374dc6fef5f authored over 9 years ago
config: port: convert 'follow_up_info' to the new scheme.

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

becc6262cc05faa60df47b48bfdc9bbe5e0b0f4a authored over 9 years ago
config: port: convert 'path_trace_enabled' to the new scheme.

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

e1dcf8ea110eb814cc01e3747c02f579a28c9e54 authored over 9 years ago
port: change 'announce_span' into a macro.

This probably should not have been a variable in the first place.

Signed-off-by: Richard Cochra...

54f45063df4998e93b5e2344df20a1ff9df640d1 authored over 9 years ago
config: prot: convert 'transportSpecific' to the new scheme.

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

8efb623f128d066212a31ceb0bfd6a03daf33938 authored over 9 years ago
config: port: convert 'syncReceiptTimeout' to the new scheme.

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

fffb6a53bd1bfda9984a6a536e2f97d2eada007e authored over 9 years ago
config: port: convert 'announceReceiptTimeout' to the new scheme.

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

35227f2d1f55264014430966fe9b6122b5f00c3d authored over 9 years ago
config: port: convert 'logMinPdelayReqInterval' to the new scheme.

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

639ce56fa0e167344ceb85c20235841086485d70 authored over 9 years ago
config: port: convert 'logAnnounceInterval' to the new scheme.

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

8026663c43cbceeb4a8cebc8a60b40d3c4ef203b authored over 9 years ago
config: port: convert 'delayAsymmetry' to the new scheme.

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

95a629624f61cfc04b6d86e4dabbbee2b17fafe9 authored over 9 years ago
config: convert 'pi_integral_norm_max' to the new scheme.

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

177a7104d5e92bdbf43f440565a8c9b310a7e5c5 authored over 9 years ago
config: convert 'pi_integral_exponent' to the new scheme.

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

85c358ebe027b866c6a4c493dea998ca8ec12dd6 authored over 9 years ago
config: convert 'pi_integral_scale' to the new scheme.

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

75333362346e3c24c01b2db0c0e5eaf85bc4ff78 authored over 9 years ago
config: convert 'pi_proportional_exponent' to the new scheme.

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

d48c8ce8a5d0d15a51f396aa4807fa4822d7155d authored over 9 years ago
config: convert 'pi_proportional_scale' to the new scheme.

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

94048a2947dc6c6f101951c572ba557a8e0531ad authored over 9 years ago
config: convert 'pi_integral_const' to the new scheme.

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

07b229907d43b62f76cec69ac342d34e5f6dc32b authored over 9 years ago
config: convert 'pi_proportional_const' to the new scheme.

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

25c903b0d2d50208ed27be6f360d1046735efc41 authored over 9 years ago
config: convert 'verbose' to the new scheme.

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

a7db9bad3790e29689c16a5c6b5aeb6fd4e2c719 authored over 9 years ago
config: convert 'use_syslog' to the new scheme.

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

f5f77b182c35787320010a8435f4abf6416ffab6 authored over 9 years ago
config: convert 'logging_level' to the new scheme.

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

caaf72c5ec4aededfeeb10590cf2c8d893126775 authored over 9 years ago
config: convert the 'first_step_threshold' option to the new scheme.

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

4f649b1ec4052818018eff168d3ec989e6483fd5 authored over 9 years ago
config: convert the 'step_threshold' option to the new scheme.

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

df578135d36afa5a5ccfd95c411c152abab65eeb authored over 9 years ago
config: add methods to set values taken from the command line.

This patch adds functions that will set and lock a certain value. The
intended use of these met...

28fbc390f63c4a86d745c0f0a1b67f4e9b98fdfd authored over 9 years ago
config: convert the 'check_fup_sync' option to the new scheme.

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

a4329f7873d4e32c867a9943e5662cb94b558da8 authored over 9 years ago
config: convert 'tx_timestamp_timeout' to the new scheme.

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

42dda4d2b7dd22c0c08964dac6be4b5f3aa201cc authored over 9 years ago
config: convert the 'assume_two_step' option to the new scheme.

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

85bbf9d9191bc66cc969cb4fb25377bca6632b90 authored over 9 years ago
config: introduce a new API for reading configuration settings.

This patch introduces generic code for adding and parsing new options.
The public 'get' methods ...

e7dbc068f6fa2bb682b9132562c153f1ad07b936 authored over 9 years ago
config: Add a hash table into the data structure.

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

8f5344eed94e56feea8322a9c1805ba38175614d authored over 9 years ago
clock: store the configuration in the clock data structure.

This will help us to simplify the passing of parameters between the main
program. clock, and por...

1579b7893b8da96a821998111cd8a3c1d2c2af11 authored over 9 years ago
transport: store the configuration in the transport data structure.

This will allow modules to read out various user options.

Signed-off-by: Richard Cochran <richa...

3189a7bc0a5cd673a1ef5794b6117b502c219e70 authored over 9 years ago
pmc: require a configuration for creating a PMC instance.

In the near future, the transports will need to consult the configuration
database in order to o...

bbbc0cd4519b62888c07543dec05b55698aa72ef authored over 9 years ago
clock: add a method to obtain the configuration.

This function allows the ports to read configuration variables without
changing the port method ...

b297f22a8245a51c2ca5c19db1ef9672104e2f22 authored over 9 years ago
Introduce a simple hash table implementation.

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

8601aa31a33a2028da07fe3bef795e07675bbe9d authored over 9 years ago
Add a configuration option to use the "nullf" servo.

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

ae09c1c4c04c8f8e83111462e67c1d99d88c2e04 authored over 9 years ago
Add a servo that inhibits all frequency adjustment

When running with Synchronous Ethernet (SyncE), the correct clock
frequency is provided by the l...

fa79141211da3bbffe1c89814ff739b0b364a3a1 authored over 9 years ago
pmc: support setting the priority attributes.

This patch lets the pmc program change the priority1 and priority2
elements of the "default data...

3e1e894d229cb3649fb97163caa47c61411bb10b authored over 9 years ago
clock: support management SET of the priority attributes.

This patch adds support for changing the priority1 and priority2
elements of the "default data s...

2318432b946070775e34b800240327e6f79879ab authored over 9 years ago
fixed hyphen/minus signs in groff

in manpages, the '-' denotes a hyphen.
for a proper minus, we need to write '\-'

Signed-off-by:...

0e1b25176d2923f210288f5980ce87c904fdff4f authored over 9 years ago
install into DESTDIR

and use 'install' throughout (rather than 'mkdir')

Signed-off-by: IOhannes m zmölnig <zmoelnig@...

572438b85eff859c1ec623e07cdc4bcc2cca0595 authored over 9 years ago
fixed spelling: "MANAGEMENT"

rather than "MANAGMENT"

Signed-off-by: IOhannes m zmölnig <[email protected]>

6415f56acbb36cd22771e968301c88957685f2e4 authored over 9 years ago
Explain how to contribute patches

Make the workflow of contribution (creating patches, submitting,
reviewing) explicit.

Signed-of...

bb88fb11175f377196231d637f5ef346e351fa64 authored over 9 years ago
timemaster: kill processes by PID instead of process group.

Instead of killing the whole process group, which may contain other
processes than timemaster an...

0ee9b9000f3d96832d8b052034a6c344c187c949 authored over 9 years ago
Convert and correct time stamps early.

Convert time stamps to tmv_t and apply all corrections before passing
them to clock/port functio...

6813fd7c3d573ee03c88b1622c3ac52e41f7cba8 authored almost 10 years ago
pi: use sample weight.

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

32689328f11de2c566a561dd244f7d70a3e380ed authored almost 10 years ago
linreg: use sample weight.

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

5d6c3433f78648fed81fa26fc80199ebf49322b6 authored almost 10 years ago
servo: add support for weighted samples.

Add weight parameter to the sample function. Samples with smaller weight
are less reliable, they...

f0b0c1116a884a0710516317292bf86b8118f526 authored almost 10 years ago
tsproc: add raw and weighting modes.

Add new time stamp processing modes to return raw delay and offset based
on the raw delay instea...

06fcfe123c6bbf7a947c359fd090e51ebbc5ad10 authored almost 10 years ago
Refactor time stamp processing.

Introduce a time stamp processor for offset/delay calculations and use
it in the clock and port ...

c452e862dd929936131d3f1f7d15072674f305ca authored almost 10 years ago
phc2sys: don't synchronize clock to itself in automatic mode.

When no source is found in the automatic mode and a clock is selected as
the default source, set...

09e5e6e934814a0ce3528822a35b7f89b0ce8e11 authored almost 10 years ago
timemaster: set mode in ntp config to create private SHM segments.

In ntp-4.2.8p1 the segment access was made configurable with the
refclock mode option. Set the m...

e9ac26f909dc7ebc99600043ebd57e9a1d13fcd5 authored almost 10 years ago
Version 1.5

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

a1e2a08b4e564ea51e14f96ea18dcf5462aed923 authored about 10 years ago
phc2sys: default to the first clock in automatic mode.

If we have clocks to synchronize but no source, just pick the last one in
the list, which is the...

2ab2fbbdda868ff5481fbdc95b07359d7b1ddf77 authored about 10 years ago
port: allow running a boundary clock with multiple clock devices.

If the user has configured the appropriate option, then simply warn
about the clock device misma...

e706f489819f7bc0b22c47346f7c16bd2c561897 authored about 10 years ago
phc2sys: automatic mode: synchronize all non-slave ports.

When running a "jbod" Boundary Clock, as long as we have one slaved port,
we always want the clo...

e1ea4ea8109af1d241ac0e0b126fc1309c47600f authored about 10 years ago
clock: Introduce a function to switch the PTP Hardware Clock.

When switching clock devices in JBOD mode, we need to be able to reset the
servo. The existing s...

a96797a7fc7de9b1a20dbd5c5df0c98bc424a944 authored about 10 years ago
config: add a option to enable a poor man's boundary clock.

This patch adds a configuration option that allows running a boundary clock
using "just a bunch ...

d70d38ade34148ac2f1553b31fff65e2690a7996 authored about 10 years ago
Introduce a helper function to identify valid (non-zero) time stamps.

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

b295df24b50fe0d6ccf8aa224458182a926a4803 authored about 10 years ago
config: Introduce options for correcting transmit and receive delays.

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

53a08ec4df670e9be824f0cbff5d4f83f085655c authored about 10 years ago
port: correct transmit and receive time stamps for their calibrated delays.

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

017235f8812f58785c4e5a4dff6b098fd9d7ee23 authored about 10 years ago
Invoke the clock check even if the time stamp nanoseconds field is zero.

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

ef4962938721b46c87e6fb2acfc1e4c893a26925 authored about 10 years ago
Add a bunch more drivers into the support matrix.

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

4fb0346520dedcb22335e7b622e240037fc08b7e authored about 10 years ago
linreg: fix servo resetting

The stats for the maximum size were not reset, which caused the
the servo to reuse old data inst...

37459fd1ad1ac48a121ab0edae331090fb8e2833 authored about 10 years ago
phc2sys: fix overwriting of the clock state

The reconfigure function is missing a check whether state for the given
clock actually changed o...

7455c241485e01da12d107f5b665e10794330967 authored about 10 years ago
config: remove useless parameter.

The 'cfg' passed to parse_port_setting() is never used, so just remove it.

Signed-off-by: Richa...

7144aa92632d70d1b134a64fbd54b0392bb9acd2 authored about 10 years ago
trivial: update gitignore with the timemaster build product.

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

5b36399e355914c5519c2ad6285ccf33b074d635 authored about 10 years ago
Use SO_SELECT_ERR_QUEUE when available.

The current implementation fetches a transmit time stamp by polling on the
socket with pollfd.ev...

a5911e69c7635c5575814b5172e78a752ea0c6dd authored about 10 years ago
trivial: do not assign a FP constant to an integer.

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

a4264b3e6ee61fe4f4c84027202065120d607cbb authored about 10 years ago
Coding style: add missing break statement from a switch/case construct.

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

8e8a9897209f831e54c21fbc3dcef5c08fc41088 authored about 10 years ago
clock: keep ports in specified order.

When adding a new port, put it at the end of the list instead of head.
This restores the order o...

50d5c63e16b06cc14754fcf3a6baef2e3f411b8e authored about 10 years ago
port: fix fda initialization.

Initialize all descriptors to prevent polling invalid descriptors from
faulty ports.

Signed-off...

594f59c50d1a2015bfaf5b5d1a773490ef97622b authored about 10 years ago
Restore the peer addresses in P2P mode.

Commit ea7a7882 removed the calls to transport_peer(), inadvertently
substituting them with tran...

6b05b4e7d3255a3bbf49e20abccb511290b6196d authored over 10 years ago
Add string and pointer array utility functions.

Add some functions to work with strings and arrays of pointers that will
be useful later.

Signe...

2098d7c1626e934e50da24ef4c5810a5b69064b4 authored over 10 years ago
Don't print messages in signal handler.

Only reentrant functions should be called here.

Signed-off-by: Miroslav Lichvar <mlichvar@redha...

aa24ba58e1901f9397624665c1f19a2432e426d0 authored over 10 years ago
Don't include config.h in util.h

The config module is used by ptp4l only, but util is shared with other
programs.

Signed-off-by:...

48046e593efc9583335632f25805153cc2ca8114 authored over 10 years ago
Add timemaster.

timemaster is a program that uses ptp4l and phc2sys in combination with
chronyd or ntpd to synch...

82f13c594a8860274e62bc999520b8a434a80a53 authored over 10 years ago
Merge Jiri's Dynamic port allocation series.

e5f20ea6df14aecefbc4df502c30573347b96a73 authored over 10 years ago
Make uds port a separate field in struct clock

The uds port is handled specially in almost all cases, it doesn't behave
like the rest of ports ...

48a8425ff7d3d2013070dfebed34c9982198a69c authored over 10 years ago
Put fault_fd into struct port

The fault timer file descriptor is a per port item, put it inside struct
port where other per po...

2d1a88ca5d0c27799e994ac57c4dfd6a7ae0564b authored over 10 years ago
Dynamic allocation of interface config entries

Remove the limit of MAX_PORTS ports also when parsing command line
arguments.

Signed-off-by: Ji...

5e0196d6474ddd754ba63e047a149e6206739af7 authored over 10 years ago
Remember last used port number

For the ports to be truly created and removed dynamically, the last used
port number has to be r...

c017adc8d1468d484323d765ce5fd616bfa12046 authored over 10 years ago
Lazy regeneration of pollfd

There's no need to regenerate pollfd multiple times during batches of port
operations (like crea...

83f637fb8e2324948b385569af7f838622b7cf2e authored over 10 years ago
Dynamic port allocation

Remove the limit of MAX_PORTS ports (default 8) and keep the ports in
a linked list. This allows...

08575133b3462563979c47aa439cc81156463c7f authored over 10 years ago
Fix Coverity warning in sk_interface_addr().

Copy the address directly to struct sockaddr_in or sockaddr_in6 instead
of sockaddr as Coverity ...

6b459abc8c54189ec3315404057923c039c1796a authored over 10 years ago
Fix copying of device name to ifreq.

Don't overwrite the last NUL with strncpy() and also replace strcpy()
with strncpy().

Signed-of...

9ddd2a60249eaf2b2a48bf9af3843fa06cf0a095 authored over 10 years ago
Add option to set NTP SHM segment number.

Instead of setting it to the PTP domain number, add a new option to
ptp4l and phc2sys to set it ...

3760f8b6537ec4f614d9aa07d957716ee2e51059 authored over 10 years ago