Richard Cochran
2013-09-04 17:50:32 UTC
The IEEE 802.1AS-2011 standard has a timeout for sync messages in
addition to the announce timeout. These two timeouts are used in
exactly the same way, that is, either one will trigger a BMC election.
This patch series adds support the timeout, which is only on by
default for normal gPTP applications.
Richard Cochran (7):
Enforce the absolute lower limit for the announce receipt timeout.
Rename the timer for sending sync messages.
Add a timer implementing the sync receive timeout.
Add a configuration file option for the sync receive timeout.
Announce master ambitions right away.
Add an optional extra check on sync and follow up message ordering.
Add a configuration file option for the extra sync-fup check.
config.c | 14 +++++++++++++-
config.h | 1 +
default.cfg | 2 ++
ds.h | 1 +
fd.h | 5 +++--
gPTP.cfg | 2 ++
port.c | 54 +++++++++++++++++++++++++++++++++++++++++++-----------
ptp4l.8 | 19 +++++++++++++++++++
ptp4l.c | 2 ++
raw.c | 3 +++
sk.c | 27 +++++++++++++++++++++++++--
sk.h | 14 ++++++++++++++
transport.h | 1 +
udp.c | 3 +++
udp6.c | 3 +++
15 files changed, 135 insertions(+), 16 deletions(-)
addition to the announce timeout. These two timeouts are used in
exactly the same way, that is, either one will trigger a BMC election.
This patch series adds support the timeout, which is only on by
default for normal gPTP applications.
Richard Cochran (7):
Enforce the absolute lower limit for the announce receipt timeout.
Rename the timer for sending sync messages.
Add a timer implementing the sync receive timeout.
Add a configuration file option for the sync receive timeout.
Announce master ambitions right away.
Add an optional extra check on sync and follow up message ordering.
Add a configuration file option for the extra sync-fup check.
config.c | 14 +++++++++++++-
config.h | 1 +
default.cfg | 2 ++
ds.h | 1 +
fd.h | 5 +++--
gPTP.cfg | 2 ++
port.c | 54 +++++++++++++++++++++++++++++++++++++++++++-----------
ptp4l.8 | 19 +++++++++++++++++++
ptp4l.c | 2 ++
raw.c | 3 +++
sk.c | 27 +++++++++++++++++++++++++--
sk.h | 14 ++++++++++++++
transport.h | 1 +
udp.c | 3 +++
udp6.c | 3 +++
15 files changed, 135 insertions(+), 16 deletions(-)
--
1.7.10.4
1.7.10.4