[Linuxptp-devel] [PATCH RFC v4 09/83] config: convert the 'assume_two_step' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - ptp4l.c | 5 - 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/config.c b/config.c index d3c19e5..871e277 100644 --- a/config.c +++ b/config.c @@ -77,6 +77,7 @@ struct config_item { CONFIG_ITEM_IN

[Linuxptp-devel] [PATCH RFC v4 02/83] clock: add a method to obtain the configuration.

2015-08-23 Thread Richard Cochran
This function allows the ports to read configuration variables without changing the port method signatures. Signed-off-by: Richard Cochran --- clock.c | 5 + clock.h | 7 +++ 2 files changed, 12 insertions(+) diff --git a/clock.c b/clock.c index 1569108..a47e1e9 100644 --- a/clock.c +++

[Linuxptp-devel] [PATCH RFC v4 15/83] config: convert the 'first_step_threshold' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - phc2sys.c | 5 +++-- ptp4l.c | 1 - servo.c | 5 - servo.h | 9 - 6 files changed, 8 insertions(+), 20 deletions(-) diff --git a/config.c b/config.c index 6732b23..d539a5b 100644 --- a/config.c +++ b/con

[Linuxptp-devel] [PATCH RFC v4 06/83] config: Add a hash table into the data structure.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 11 +++ config.h | 4 2 files changed, 15 insertions(+) diff --git a/config.c b/config.c index 934caa2..9ef8be1 100644 --- a/config.c +++ b/config.c @@ -24,6 +24,7 @@ #include #include "config.h" #include "ether.h" +#include "hash.h

[Linuxptp-devel] [PATCH RFC v4 12/83] servo: store the configuration in the servo data structure.

2015-08-23 Thread Richard Cochran
This will allow removing the code that passes configuration options via global variables. Signed-off-by: Richard Cochran --- clock.c | 4 ++-- phc2sys.c | 3 ++- servo.c | 3 ++- servo.h | 5 - 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/clock.c b/clock.c index a47e

[Linuxptp-devel] [PATCH RFC v4 04/83] transport: store the configuration in the transport data structure.

2015-08-23 Thread Richard Cochran
This will allow modules to read out various user options. Signed-off-by: Richard Cochran --- pmc_common.c| 2 +- port.c | 3 ++- transport.c | 7 +-- transport.h | 6 +- transport_private.h | 1 + 5 files changed, 14 insertions(+), 5 deletions(-) dif

[Linuxptp-devel] [PATCH RFC v4 00/83] New configuration implementation

2015-08-23 Thread Richard Cochran
Changes in V5: - Add a string type - Convert every last option - Lightly refactor the pasring code Changes in V4: - Added missing calls to config_get_double() for: "pi_integral_exponent" "pi_integral_norm_max" "pi_integral_scale" "pi_proportional_exponent" "pi_proportional_norm_max" Cha

[Linuxptp-devel] [PATCH RFC v4 07/83] config: introduce a new API for reading configuration settings.

2015-08-23 Thread Richard Cochran
This patch introduces generic code for adding and parsing new options. The public 'get' methods return option values directly. Although the API is easy to use, it does not provide error checking in case the option does not exist or if there is a type mismatch. Therefore the code performs a BIST t

[Linuxptp-devel] [PATCH RFC v4 13/83] config: add methods to set values taken from the command line.

2015-08-23 Thread Richard Cochran
This patch adds functions that will set and lock a certain value. The intended use of these methods is to give command line options priority over the configuration file. Signed-off-by: Richard Cochran --- config.c | 50 ++ config.h | 11 ++

[Linuxptp-devel] [PATCH RFC v4 14/83] config: convert the 'step_threshold' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 21 +++-- config.h | 1 - phc2sys.c | 9 ++--- ptp4l.c | 1 - servo.c | 4 +++- servo.h | 9 - 6 files changed, 24 insertions(+), 21 deletions(-) diff --git a/config.c b/config.c index aa856ad..6732b23 100644

[Linuxptp-devel] [PATCH RFC v4 10/83] config: convert 'tx_timestamp_timeout' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - ptp4l.c | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config.c b/config.c index 871e277..ad398c1 100644 --- a/config.c +++ b/config.c @@ -78,6 +78,7 @@ struct config_item { struct config_item con

[Linuxptp-devel] [PATCH RFC v4 25/83] config: convert 'pi_integral_scale' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 14 -- pi.h | 8 ptp4l.c | 1 - 5 files changed, 9 insertions(+), 22 deletions(-) diff --git a/config.c b/config.c index 5775272..fc7dd23 100644 --- a/config.c +++ b/config.c @@ -97,

[Linuxptp-devel] [PATCH RFC v4 33/83] config: port: convert 'logMinPdelayReqInterval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 56a86e9..833d894 100644 --- a/config.c +++ b/config.c @@ -97,6 +97,7 @@ struct config_item config_t

[Linuxptp-devel] [PATCH RFC v4 19/83] config: convert 'verbose' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 8 +--- config.h | 3 --- ptp4l.c | 7 ++- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/config.c b/config.c index 90d7659..b649cf0 100644 --- a/config.c +++ b/config.c @@ -100,6 +100,7 @@ struct config_item config_tab[] = {

[Linuxptp-devel] [PATCH RFC v4 22/83] config: convert 'pi_proportional_scale' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 13 +++-- pi.h | 8 ptp4l.c | 1 - 5 files changed, 8 insertions(+), 22 deletions(-) diff --git a/config.c b/config.c index 2437ec0..07cb016 100644 --- a/config.c +++ b/config.c @@ -98,6

[Linuxptp-devel] [PATCH RFC v4 30/83] config: port: convert 'logAnnounceInterval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 3 ++- ptp4l.c | 1 - 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 678471a..4ebe1b8 100644 --- a/config.c +++ b/config.c @@ -95,6 +95,7 @@ struct config_item config_

[Linuxptp-devel] [PATCH RFC v4 20/83] config: convert 'pi_proportional_const' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - phc2sys.c | 7 --- pi.c | 11 +++ pi.h | 8 +--- ptp4l.c | 1 - servo.c | 2 +- 7 files changed, 14 insertions(+), 23 deletions(-) diff --git a/config.c b/config.c index b649cf0..3bd98d

[Linuxptp-devel] [PATCH RFC v4 01/83] clock: store the configuration in the clock data structure.

2015-08-23 Thread Richard Cochran
This will help us to simplify the passing of parameters between the main program. clock, and ports. Signed-off-by: Richard Cochran --- clock.c | 9 ++--- clock.h | 8 +--- ptp4l.c | 3 ++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/clock.c b/clock.c index 9e9feba..15

[Linuxptp-devel] [PATCH RFC v4 17/83] config: convert 'logging_level' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 10 +- config.h | 2 -- ptp4l.c | 9 - 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/config.c b/config.c index 08508be..143d9db 100644 --- a/config.c +++ b/config.c @@ -94,6 +94,7 @@ struct config_item config_tab[]

[Linuxptp-devel] [PATCH RFC v4 03/83] pmc: require a configuration for creating a PMC instance.

2015-08-23 Thread Richard Cochran
In the near future, the transports will need to consult the configuration database in order to obtain various options. This patch also introduces the idea of a configuration file into the phc2sys and pmc programs. Signed-off-by: Richard Cochran --- phc2sys.c| 10 ++ pmc.c|

[Linuxptp-devel] [PATCH RFC v4 16/83] config: convert the 'max_frequency' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 2 -- ptp4l.c | 2 -- servo.c | 4 ++-- servo.h | 6 -- 5 files changed, 3 insertions(+), 18 deletions(-) diff --git a/config.c b/config.c index d539a5b..08508be 100644 --- a/config.c +++ b/config.c @@ -94,6 +94,7 @@ stru

[Linuxptp-devel] [PATCH RFC v4 27/83] config: convert 'pi_integral_norm_max' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 8 +--- config.h | 1 - pi.c | 12 ++-- pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 7 insertions(+), 22 deletions(-) diff --git a/config.c b/config.c index 2f184dd..1ae564f 100644 --- a/config.c +++ b/config.c @@ -98,6

[Linuxptp-devel] [PATCH RFC v4 21/83] config: convert 'pi_integral_const' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - phc2sys.c | 7 --- pi.c | 7 --- pi.h | 6 -- ptp4l.c | 1 - 6 files changed, 9 insertions(+), 20 deletions(-) diff --git a/config.c b/config.c index 3bd98da..2437ec0 100644 --- a/config.c +++ b/co

[Linuxptp-devel] [PATCH RFC v4 35/83] config: port: convert 'syncReceiptTimeout' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 6401e44..c17ab73 100644 --- a/config.c +++ b/config.c @@ -112,6 +112,7 @@ struct config_item config

[Linuxptp-devel] [PATCH RFC v4 32/83] config: port: convert 'logMinDelayReqInterval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 0cd26e2..56a86e9 100644 --- a/config.c +++ b/config.c @@ -96,6 +96,7 @@ struct config_item config_t

[Linuxptp-devel] [PATCH RFC v4 08/83] udp: configure the socket with the TTL option.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- udp.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/udp.c b/udp.c index b100dbf..b8aa76a 100644 --- a/udp.c +++ b/udp.c @@ -30,6 +30,7 @@ #include #include "address.h" +#include "config.h" #include "contain.h" #inclu

[Linuxptp-devel] [PATCH RFC v4 05/83] Introduce a simple hash table implementation.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- hash.c | 113 +++ hash.h | 59 + makefile | 2 +- 3 files changed, 173 insertions(+), 1 deletion(-) create mode 100644 hash.c create mode 100644 hash.h diff --g

[Linuxptp-devel] [PATCH RFC v4 18/83] config: convert 'use_syslog' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 8 +--- config.h | 2 -- ptp4l.c | 6 ++ 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/config.c b/config.c index 143d9db..90d7659 100644 --- a/config.c +++ b/config.c @@ -99,6 +99,7 @@ struct config_item config_tab[] = {

[Linuxptp-devel] [PATCH RFC v4 36/83] config: prot: convert 'transportSpecific' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 3 ++- ptp4l.c | 1 - 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index c17ab73..2c97002 100644 --- a/config.c +++ b/config.c @@ -113,6 +113,7 @@ struct config_item confi

[Linuxptp-devel] [PATCH RFC v4 40/83] config: clock, port: convert 'freq_est_interval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 2 +- config.c | 8 +--- ds.h | 2 -- port.c | 4 +++- ptp4l.c | 2 -- 5 files changed, 5 insertions(+), 13 deletions(-) diff --git a/clock.c b/clock.c index 8a5ef05..0856f81 100644 --- a/clock.c +++ b/clock.c @@ -823,7 +823,7 @@ struct cl

[Linuxptp-devel] [PATCH RFC v4 11/83] config: convert the 'check_fup_sync' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 2 -- ptp4l.c | 4 +--- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/config.c b/config.c index ad398c1..2cd2788 100644 --- a/config.c +++ b/config.c @@ -78,6 +78,7 @@ struct config_item { struct config_item

[Linuxptp-devel] [PATCH RFC v4 29/83] config: port: convert 'delayAsymmetry' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 11 +++ 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/config.c b/config.c index c1d5aeb..678471a 100644 --- a/config.c +++ b/config.c @@ -93,6 +93,7 @@ struct config_item { struct co

[Linuxptp-devel] [PATCH RFC v4 28/83] config: convert 'ntpshm_segment' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 2 -- ntpshm.c | 9 +++-- ntpshm.h | 7 +-- phc2sys.c | 3 +++ ptp4l.c | 2 -- servo.c | 2 +- 7 files changed, 9 insertions(+), 23 deletions(-) diff --git a/config.c b/config.c index 1ae564f..c1d5aeb 100644 ---

[Linuxptp-devel] [PATCH RFC v4 31/83] config: port: convert 'logSyncInterval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 4ebe1b8..0cd26e2 100644 --- a/config.c +++ b/config.c @@ -96,6 +96,7 @@ struct config_item config_t

[Linuxptp-devel] [PATCH RFC v4 41/83] config: port: convert 'neighborPropDelayThresh' to new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 11 ++- ds.h | 1 - port.c | 2 +- ptp4l.c | 3 --- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/config.c b/config.c index 4c5182e..d8ce1e2 100644 --- a/config.c +++ b/config.c @@ -104,6 +104,7 @@ struct config_ite

[Linuxptp-devel] [PATCH RFC v4 37/83] port: change 'announce_span' into a macro.

2015-08-23 Thread Richard Cochran
This probably should not have been a variable in the first place. Signed-off-by: Richard Cochran --- ds.h| 1 - port.c | 3 ++- ptp4l.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ds.h b/ds.h index f9a5d7b..d30c418 100644 --- a/ds.h +++ b/ds.h @@ -125,7 +125,6 @@ s

[Linuxptp-devel] [PATCH RFC v4 26/83] config: convert 'pi_integral_exponent' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 8 +--- pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 6 insertions(+), 18 deletions(-) diff --git a/config.c b/config.c index fc7dd23..2f184dd 100644 --- a/config.c +++ b/config.c @@ -97,6 +97,7 @@ s

[Linuxptp-devel] [PATCH RFC v4 23/83] config: convert 'pi_proportional_exponent' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 8 +--- pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 6 insertions(+), 18 deletions(-) diff --git a/config.c b/config.c index 07cb016..43f96fe 100644 --- a/config.c +++ b/config.c @@ -98,6 +98,7 @@ s

[Linuxptp-devel] [PATCH RFC v4 39/83] config: port: convert 'follow_up_info' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 10 ++ ptp4l.c | 1 - 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/config.c b/config.c index 2c10158..7cc3ca5 100644 --- a/config.c +++ b/config.c @@ -96,6 +96,7 @@ struct config_i

[Linuxptp-devel] [PATCH RFC v4 38/83] config: port: convert 'path_trace_enabled' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 8 +--- ptp4l.c | 1 - 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/config.c b/config.c index 2c97002..2c10158 100644 --- a/config.c +++ b/config.c @@ -103,6 +103,7 @@ struct config_item

[Linuxptp-devel] [PATCH RFC v4 24/83] config: convert 'pi_proportional_norm_max' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 10 ++ pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 7 insertions(+), 19 deletions(-) diff --git a/config.c b/config.c index 43f96fe..5775272 100644 --- a/config.c +++ b/config.c @@ -99,6 +99

[Linuxptp-devel] [PATCH RFC v4 34/83] config: port: convert 'announceReceiptTimeout' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 833d894..6401e44 100644 --- a/config.c +++ b/config.c @@ -91,6 +91,7 @@ struct config_item {

[Linuxptp-devel] BAD SUBJECT LINE!

2015-08-23 Thread Richard Cochran
I screwed up the subject line with V4 instead of V5. I'll resend the bunch. Sorry, Richard -- ___ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lis

[Linuxptp-devel] [PATCH RFC V5 01/83] clock: store the configuration in the clock data structure.

2015-08-23 Thread Richard Cochran
This will help us to simplify the passing of parameters between the main program. clock, and ports. Signed-off-by: Richard Cochran --- clock.c | 9 ++--- clock.h | 8 +--- ptp4l.c | 3 ++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/clock.c b/clock.c index 9e9feba..15

[Linuxptp-devel] [PATCH RFC V5 02/83] clock: add a method to obtain the configuration.

2015-08-23 Thread Richard Cochran
This function allows the ports to read configuration variables without changing the port method signatures. Signed-off-by: Richard Cochran --- clock.c | 5 + clock.h | 7 +++ 2 files changed, 12 insertions(+) diff --git a/clock.c b/clock.c index 1569108..a47e1e9 100644 --- a/clock.c +++

[Linuxptp-devel] [PATCH RFC V5 04/83] transport: store the configuration in the transport data structure.

2015-08-23 Thread Richard Cochran
This will allow modules to read out various user options. Signed-off-by: Richard Cochran --- pmc_common.c| 2 +- port.c | 3 ++- transport.c | 7 +-- transport.h | 6 +- transport_private.h | 1 + 5 files changed, 14 insertions(+), 5 deletions(-) dif

[Linuxptp-devel] [PATCH RFC V5 12/83] servo: store the configuration in the servo data structure.

2015-08-23 Thread Richard Cochran
This will allow removing the code that passes configuration options via global variables. Signed-off-by: Richard Cochran --- clock.c | 4 ++-- phc2sys.c | 3 ++- servo.c | 3 ++- servo.h | 5 - 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/clock.c b/clock.c index a47e

[Linuxptp-devel] [PATCH RFC V5 15/83] config: convert the 'first_step_threshold' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - phc2sys.c | 5 +++-- ptp4l.c | 1 - servo.c | 5 - servo.h | 9 - 6 files changed, 8 insertions(+), 20 deletions(-) diff --git a/config.c b/config.c index 6732b23..d539a5b 100644 --- a/config.c +++ b/con

[Linuxptp-devel] [PATCH RFC V5 08/83] udp: configure the socket with the TTL option.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- udp.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/udp.c b/udp.c index b100dbf..b8aa76a 100644 --- a/udp.c +++ b/udp.c @@ -30,6 +30,7 @@ #include #include "address.h" +#include "config.h" #include "contain.h" #inclu

[Linuxptp-devel] [PATCH RFC V5 14/83] config: convert the 'step_threshold' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 21 +++-- config.h | 1 - phc2sys.c | 9 ++--- ptp4l.c | 1 - servo.c | 4 +++- servo.h | 9 - 6 files changed, 24 insertions(+), 21 deletions(-) diff --git a/config.c b/config.c index aa856ad..6732b23 100644

[Linuxptp-devel] [PATCH RFC V5 03/83] pmc: require a configuration for creating a PMC instance.

2015-08-23 Thread Richard Cochran
In the near future, the transports will need to consult the configuration database in order to obtain various options. This patch also introduces the idea of a configuration file into the phc2sys and pmc programs. Signed-off-by: Richard Cochran --- phc2sys.c| 10 ++ pmc.c|

[Linuxptp-devel] [PATCH RFC V5 18/83] config: convert 'use_syslog' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 8 +--- config.h | 2 -- ptp4l.c | 6 ++ 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/config.c b/config.c index 143d9db..90d7659 100644 --- a/config.c +++ b/config.c @@ -99,6 +99,7 @@ struct config_item config_tab[] = {

[Linuxptp-devel] [PATCH RFC V5 10/83] config: convert 'tx_timestamp_timeout' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - ptp4l.c | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config.c b/config.c index 871e277..ad398c1 100644 --- a/config.c +++ b/config.c @@ -78,6 +78,7 @@ struct config_item { struct config_item con

[Linuxptp-devel] [PATCH RFC V5 09/83] config: convert the 'assume_two_step' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - ptp4l.c | 5 - 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/config.c b/config.c index d3c19e5..871e277 100644 --- a/config.c +++ b/config.c @@ -77,6 +77,7 @@ struct config_item { CONFIG_ITEM_IN

[Linuxptp-devel] [PATCH RFC V5 06/83] config: Add a hash table into the data structure.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 11 +++ config.h | 4 2 files changed, 15 insertions(+) diff --git a/config.c b/config.c index 934caa2..9ef8be1 100644 --- a/config.c +++ b/config.c @@ -24,6 +24,7 @@ #include #include "config.h" #include "ether.h" +#include "hash.h

[Linuxptp-devel] [PATCH RFC V5 20/83] config: convert 'pi_proportional_const' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - phc2sys.c | 7 --- pi.c | 11 +++ pi.h | 8 +--- ptp4l.c | 1 - servo.c | 2 +- 7 files changed, 14 insertions(+), 23 deletions(-) diff --git a/config.c b/config.c index b649cf0..3bd98d

[Linuxptp-devel] [PATCH RFC V5 00/83] New configuration implementation

2015-08-23 Thread Richard Cochran
Changes in V5: - Add a string type - Convert every last option - Lightly refactor the pasring code Changes in V4: - Added missing calls to config_get_double() for: "pi_integral_exponent" "pi_integral_norm_max" "pi_integral_scale" "pi_proportional_exponent" "pi_proportional_norm_max" Cha

[Linuxptp-devel] [PATCH RFC V5 13/83] config: add methods to set values taken from the command line.

2015-08-23 Thread Richard Cochran
This patch adds functions that will set and lock a certain value. The intended use of these methods is to give command line options priority over the configuration file. Signed-off-by: Richard Cochran --- config.c | 50 ++ config.h | 11 ++

[Linuxptp-devel] [PATCH RFC V5 17/83] config: convert 'logging_level' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 10 +- config.h | 2 -- ptp4l.c | 9 - 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/config.c b/config.c index 08508be..143d9db 100644 --- a/config.c +++ b/config.c @@ -94,6 +94,7 @@ struct config_item config_tab[]

[Linuxptp-devel] [PATCH RFC V5 07/83] config: introduce a new API for reading configuration settings.

2015-08-23 Thread Richard Cochran
This patch introduces generic code for adding and parsing new options. The public 'get' methods return option values directly. Although the API is easy to use, it does not provide error checking in case the option does not exist or if there is a type mismatch. Therefore the code performs a BIST t

[Linuxptp-devel] [PATCH RFC V5 23/83] config: convert 'pi_proportional_exponent' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 8 +--- pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 6 insertions(+), 18 deletions(-) diff --git a/config.c b/config.c index 07cb016..43f96fe 100644 --- a/config.c +++ b/config.c @@ -98,6 +98,7 @@ s

[Linuxptp-devel] [PATCH RFC V5 22/83] config: convert 'pi_proportional_scale' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 13 +++-- pi.h | 8 ptp4l.c | 1 - 5 files changed, 8 insertions(+), 22 deletions(-) diff --git a/config.c b/config.c index 2437ec0..07cb016 100644 --- a/config.c +++ b/config.c @@ -98,6

[Linuxptp-devel] [PATCH RFC V5 19/83] config: convert 'verbose' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 8 +--- config.h | 3 --- ptp4l.c | 7 ++- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/config.c b/config.c index 90d7659..b649cf0 100644 --- a/config.c +++ b/config.c @@ -100,6 +100,7 @@ struct config_item config_tab[] = {

[Linuxptp-devel] [PATCH RFC V5 16/83] config: convert the 'max_frequency' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 2 -- ptp4l.c | 2 -- servo.c | 4 ++-- servo.h | 6 -- 5 files changed, 3 insertions(+), 18 deletions(-) diff --git a/config.c b/config.c index d539a5b..08508be 100644 --- a/config.c +++ b/config.c @@ -94,6 +94,7 @@ stru

[Linuxptp-devel] [PATCH RFC V5 11/83] config: convert the 'check_fup_sync' option to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 2 -- ptp4l.c | 4 +--- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/config.c b/config.c index ad398c1..2cd2788 100644 --- a/config.c +++ b/config.c @@ -78,6 +78,7 @@ struct config_item { struct config_item

[Linuxptp-devel] [PATCH RFC V5 21/83] config: convert 'pi_integral_const' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - phc2sys.c | 7 --- pi.c | 7 --- pi.h | 6 -- ptp4l.c | 1 - 6 files changed, 9 insertions(+), 20 deletions(-) diff --git a/config.c b/config.c index 3bd98da..2437ec0 100644 --- a/config.c +++ b/co

[Linuxptp-devel] [PATCH RFC V5 05/83] Introduce a simple hash table implementation.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- hash.c | 113 +++ hash.h | 59 + makefile | 2 +- 3 files changed, 173 insertions(+), 1 deletion(-) create mode 100644 hash.c create mode 100644 hash.h diff --g

[Linuxptp-devel] [PATCH RFC V5 26/83] config: convert 'pi_integral_exponent' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 8 +--- pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 6 insertions(+), 18 deletions(-) diff --git a/config.c b/config.c index fc7dd23..2f184dd 100644 --- a/config.c +++ b/config.c @@ -97,6 +97,7 @@ s

[Linuxptp-devel] [PATCH RFC V5 24/83] config: convert 'pi_proportional_norm_max' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 10 ++ pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 7 insertions(+), 19 deletions(-) diff --git a/config.c b/config.c index 43f96fe..5775272 100644 --- a/config.c +++ b/config.c @@ -99,6 +99

[Linuxptp-devel] [PATCH RFC V5 29/83] config: port: convert 'delayAsymmetry' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 11 +++ 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/config.c b/config.c index c1d5aeb..678471a 100644 --- a/config.c +++ b/config.c @@ -93,6 +93,7 @@ struct config_item { struct co

[Linuxptp-devel] [PATCH RFC V5 39/83] config: port: convert 'follow_up_info' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 10 ++ ptp4l.c | 1 - 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/config.c b/config.c index 2c10158..7cc3ca5 100644 --- a/config.c +++ b/config.c @@ -96,6 +96,7 @@ struct config_i

[Linuxptp-devel] [PATCH RFC V5 28/83] config: convert 'ntpshm_segment' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 2 -- ntpshm.c | 9 +++-- ntpshm.h | 7 +-- phc2sys.c | 3 +++ ptp4l.c | 2 -- servo.c | 2 +- 7 files changed, 9 insertions(+), 23 deletions(-) diff --git a/config.c b/config.c index 1ae564f..c1d5aeb 100644 ---

[Linuxptp-devel] [PATCH RFC V5 45/83] config: port: convert 'delay_filter_length' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 6 -- config.c | 14 +- config.h | 1 - ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 6 files changed, 6 insertions(+), 19 deletions(-) diff --git a/clock.c b/clock.c index 0856f81..73cf016 100644 --- a/clock.c +++ b/clock.c @

[Linuxptp-devel] [PATCH RFC V5 25/83] config: convert 'pi_integral_scale' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - pi.c | 14 -- pi.h | 8 ptp4l.c | 1 - 5 files changed, 9 insertions(+), 22 deletions(-) diff --git a/config.c b/config.c index 5775272..fc7dd23 100644 --- a/config.c +++ b/config.c @@ -97,

[Linuxptp-devel] [PATCH RFC V5 35/83] config: port: convert 'syncReceiptTimeout' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 6401e44..c17ab73 100644 --- a/config.c +++ b/config.c @@ -112,6 +112,7 @@ struct config_item config

[Linuxptp-devel] [PATCH RFC V5 27/83] config: convert 'pi_integral_norm_max' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 8 +--- config.h | 1 - pi.c | 12 ++-- pi.h | 7 --- ptp4l.c | 1 - 5 files changed, 7 insertions(+), 22 deletions(-) diff --git a/config.c b/config.c index 2f184dd..1ae564f 100644 --- a/config.c +++ b/config.c @@ -98,6

[Linuxptp-devel] [PATCH RFC V5 60/83] config: convert 'offsetScaledLogVariance' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- ptp4l.c | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/config.c b/config.c index e14156b..afb3879 100644 --- a/config.c +++ b/config.c @@ -118,6 +118,7 @@ struct config_item config_tab[] = { PORT_ITEM_INT("

[Linuxptp-devel] [PATCH RFC V5 54/83] config: remove the 'port_defaults' structure.

2015-08-23 Thread Richard Cochran
This definition is now empty and can serve no purpose any more. Signed-off-by: Richard Cochran --- config.c | 3 --- config.h | 2 -- ds.h | 3 --- port.c | 2 -- 4 files changed, 10 deletions(-) diff --git a/config.c b/config.c index ee91a40..e1eac73 100644 --- a/config.c +++ b/config.c

[Linuxptp-devel] [PATCH RFC V5 64/83] config: convert 'delay_mechanism' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 33 + config.h | 4 port.c | 2 +- ptp4l.c | 14 ++ 4 files changed, 16 insertions(+), 37 deletions(-) diff --git a/config.c b/config.c index 66d6954..3fce7d2 100644 --- a/config.c +++ b/config.c

[Linuxptp-devel] [PATCH RFC V5 63/83] config: convert 'network_transport' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 5 - config.c | 33 + config.h | 3 --- port.c | 6 -- ptp4l.c | 17 + 5 files changed, 26 insertions(+), 38 deletions(-) diff --git a/clock.c b/clock.c index ab048f5..d0298f4 100644 --- a

[Linuxptp-devel] [PATCH RFC V5 72/83] config: convert 'ptp_dst_mac', letting it be a per-port option.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 10 ++ config.h | 1 - ether.h | 1 - ptp4l.8 | 8 ptp4l.c | 1 - raw.c| 16 raw.h| 5 - 7 files changed, 18 insertions(+), 24 deletions(-) diff --git a/config.c b/config.c index c878178..c88a308

[Linuxptp-devel] [PATCH RFC V5 49/83] config: convert 'summary_interval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 2 +- config.c | 7 +-- ds.h | 1 - ptp4l.c | 1 - 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/clock.c b/clock.c index f31ae42..c64fdaa 100644 --- a/clock.c +++ b/clock.c @@ -882,7 +882,7 @@ struct clock *clock_create(struc

[Linuxptp-devel] [PATCH RFC V5 73/83] config: convert 'p2p_dst_mac', letting it be a per-port option.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 11 ++- config.h | 1 - ether.h | 1 - ptp4l.8 | 8 ptp4l.c | 1 - raw.c| 15 ++- raw.h| 5 - 7 files changed, 16 insertions(+), 26 deletions(-) diff --git a/config.c b/config.c index c88a308..5aac1c7

[Linuxptp-devel] [PATCH RFC V5 52/83] config: convert 'timeSource' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 2 +- config.c | 7 +-- ds.h | 1 - ptp4l.c | 1 - 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/clock.c b/clock.c index ee20a3c..ab048f5 100644 --- a/clock.c +++ b/clock.c @@ -830,7 +830,7 @@ struct clock *clock_create(struc

[Linuxptp-devel] [PATCH RFC V5 74/83] config: convert 'uds_address' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 3 ++- config.c | 8 ++-- config.h | 1 - phc2sys.c | 5 - pmc.c | 6 +- ptp4l.c | 2 -- uds.c | 3 +-- uds.h | 5 - 8 files changed, 14 insertions(+), 19 deletions(-) diff --git a/clock.c b/clock.c index 320a84c..f94

[Linuxptp-devel] [PATCH RFC V5 46/83] config: clock, port: convert 'boundary_clock_jbod' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 15 +-- config.h | 1 - ds.h | 1 - port.c | 4 ++-- ptp4l.c | 1 - 5 files changed, 3 insertions(+), 19 deletions(-) diff --git a/config.c b/config.c index f9d5777..d0451e3 100644 --- a/config.c +++ b/config.c @@ -93,6 +93,7 @

[Linuxptp-devel] [PATCH RFC V5 53/83] config: convert the fault interval options to the new scheme.

2015-08-23 Thread Richard Cochran
This conversion is not straightforward due to the fact that these options can take a value of "ASAP" or a number. We check for the special ASAP case in a helper function and leave the numbers to the generic code. Signed-off-by: Richard Cochran --- config.c | 66 ++---

[Linuxptp-devel] [PATCH RFC V5 61/83] config: convert 'domainNumber' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 12 ++-- ptp4l.c | 5 ++--- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/config.c b/config.c index afb3879..3f4014c 100644 --- a/config.c +++ b/config.c @@ -99,6 +99,7 @@ struct config_item config_tab[] = { GLOB_IT

[Linuxptp-devel] [PATCH RFC V5 47/83] config: convert 'free_running' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 2 +- config.c | 7 +-- ds.h | 1 - ptp4l.c | 3 +-- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/clock.c b/clock.c index 73cf016..8c20d64 100644 --- a/clock.c +++ b/clock.c @@ -824,7 +824,7 @@ struct clock *clock_create(st

[Linuxptp-devel] [PATCH RFC V5 59/83] config: convert 'clockAccuracy' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- ptp4l.c | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/config.c b/config.c index 516ce7a..e14156b 100644 --- a/config.c +++ b/config.c @@ -95,6 +95,7 @@ struct config_item config_tab[] = { GLOB_ITEM_INT("ass

[Linuxptp-devel] [PATCH RFC V5 68/83] config: convert 'clock_servo' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 3 ++- clock.h | 3 +-- config.c | 21 + config.h | 2 -- ptp4l.c | 7 ++- 5 files changed, 14 insertions(+), 22 deletions(-) diff --git a/clock.c b/clock.c index 112d0a2..320a84c 100644 --- a/clock.c +++ b/clock.c @@ -8

[Linuxptp-devel] [PATCH RFC V5 50/83] config: convert 'kernel_leap' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 2 +- config.c | 7 +-- ds.h | 1 - ptp4l.c | 3 +-- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/clock.c b/clock.c index c64fdaa..1d5e2b6 100644 --- a/clock.c +++ b/clock.c @@ -827,7 +827,7 @@ struct clock *clock_create(st

[Linuxptp-devel] [PATCH RFC V5 51/83] config: convert 'sanity_freq_limit' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 6 -- config.c | 7 +-- ds.h | 1 - ptp4l.c | 3 +-- 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/clock.c b/clock.c index 1d5e2b6..ee20a3c 100644 --- a/clock.c +++ b/clock.c @@ -810,6 +810,7 @@ struct clock *clock_creat

[Linuxptp-devel] [PATCH RFC V5 65/83] config: convert 'tsproc_mode' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 3 ++- config.c | 35 ++- config.h | 1 - ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 6 files changed, 13 insertions(+), 30 deletions(-) diff --git a/clock.c b/clock.c index d0298f4..a923915 100644 --- a/cloc

[Linuxptp-devel] [PATCH RFC V5 70/83] config: introduce a string type.

2015-08-23 Thread Richard Cochran
Global default values will be static strings, but values from the configuration file will be dynamic, so the code remembers whether or it should free the string when cleaning up. Signed-off-by: Richard Cochran --- config.c | 70 co

[Linuxptp-devel] [PATCH RFC V5 32/83] config: port: convert 'logMinDelayReqInterval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 0cd26e2..56a86e9 100644 --- a/config.c +++ b/config.c @@ -96,6 +96,7 @@ struct config_item config_t

[Linuxptp-devel] [PATCH RFC V5 55/83] config: convert 'udp6_scope' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 7 +-- config.h | 1 - ptp4l.c | 1 - udp6.c | 5 ++--- udp6.h | 6 -- 5 files changed, 3 insertions(+), 17 deletions(-) diff --git a/config.c b/config.c index e1eac73..1c4421b 100644 --- a/config.c +++ b/config.c @@ -133,6 +133,7 @@ str

[Linuxptp-devel] [PATCH RFC V5 30/83] config: port: convert 'logAnnounceInterval' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 3 ++- ptp4l.c | 1 - 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 678471a..4ebe1b8 100644 --- a/config.c +++ b/config.c @@ -95,6 +95,7 @@ struct config_item config_

[Linuxptp-devel] [PATCH RFC V5 48/83] config: convert 'gmCapable' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- clock.c | 2 +- config.c | 7 +-- ds.h | 1 - ptp4l.c | 5 ++--- 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/clock.c b/clock.c index 8c20d64..f31ae42 100644 --- a/clock.c +++ b/clock.c @@ -826,7 +826,7 @@ struct clock *clock_create(

[Linuxptp-devel] [PATCH RFC V5 34/83] config: port: convert 'announceReceiptTimeout' to the new scheme.

2015-08-23 Thread Richard Cochran
Signed-off-by: Richard Cochran --- config.c | 9 ++--- ds.h | 1 - port.c | 2 +- ptp4l.c | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/config.c b/config.c index 833d894..6401e44 100644 --- a/config.c +++ b/config.c @@ -91,6 +91,7 @@ struct config_item {

  1   2   >