| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Use an INET socket rather than a NETLINK socket to get link speed
with ioctl() since NETLINK sockets do not support ioctl().
|
| |
| |
| |
| |
| |
| |
| |
| | |
Proper HWTimestamper_adjclockrate was not executed due to
const-overloading issue and "Failed to adjust clock rate"
error was flooding (broken syntonization). Additional fix
for compilation error ('sync_timestamp' not declared) when
verbosity logs are activated.
|
|\ \
| |/
| |
| | |
avtp_avdecc
|
| |\
| | |
| | | |
Removed clock dependence on timestamper - necessary for multiport
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
operation
Removed PHY compensation from timestamper handled in port and message
processing
Reduces copies of the PHY compensation data
Uses map object instead of various arrays and structs
Added link speed determination to Linux specific code used to correctly
compensate for PHY delay
Change sendPort from void to bool return value
Returns result of TX timestamp read
Return value still ignored (FUTURE work)
Common TX timestamp read function eliminates many "cut and paste"
instances
Added neighbor delay threshold and sync receipt threshold to port init
class avoiding chicken-egg port construction problem
Moved ethernet specific timestamp functions to EtherTimestamper class
Added simple link speed detection to Windows that *does not*
dynamically adjust
|
| |\ \
| | |/
| |/| |
gPTP: add negative time jumps detection
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change checks if time in follow_up messages is monotonic
and will discard “wrong” sync/follow_up to prevent calculating
incorrect values (ratio etc.). It was observed for some bridges
and for some cases, that such situation might happens (bridge issue)
and could lead to huge time instability, especially when syntonization
functionality is activated.
|
| |\ \
| | | |
| | | | |
Ignore twoStepFlag as per Table 11-4 of 802.1AS-2011
|
| | |/
| | |
| | |
| | |
| | | |
As the twoStepFlag value is not used, and should be ignored, added a change to not test that the flag is set.
This allows the gPTP daemon to work with switches, such as MOTU, that do not set this flag.
|
| |\ \
| | | |
| | | | |
Add special handling for rMT messages
|
| | | | |
|
| | | | |
|
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
PTP_CLOCK_IDENTITY_LENGTH is now defined once in ptptypes.hpp to reduce the
number of times it is defined.
Also made some formatting changes to make the code look nicer.
|
| | | |
|
| |/
| |
| |
| |
| | |
Added information used by AVDECC to the gPTP daemon shared memory.
Also standardized references to IEEE 802.1AS-2011 in the comments.
|
| |
| |
| |
| |
| |
| | |
PTP_CLOCK_IDENTITY_LENGTH is now defined once in ptptypes.hpp to reduce the
number of times it is defined.
Also made some formatting changes to make the code look nicer.
|
| | |
|
|\ \
| |/
| |
| | |
ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into avtp_avdecc
|
| |\
| | |
| | | |
Added YIELD command support to the MAAP daemon
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
Added a manifest indicating Windows 10 support to the Windows gPTP build, so that Windows 10 detection will work correctly. Manifest support is available with CMake 3.4 and later.
Also changed ptp_message.cpp to address a x64 compile warning.
Note that these changes were only tested with Microsoft Visual Studio Premium 2012 Update 5, and not with any other compilers.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Clients that want to interact with the MAAP daemon using text (such as
telnet clients) are now supported.
Also fixed some memory leaks with invalid command-line flags.
|
| |
| |
| |
| |
| |
| | |
needed.
The updated code calls VerifyVersionInfoW() directly, rather than calling it using the IsWindowsVersionOrGreater() function in the VersionHelpers.h header file.
|
| |\
| | |
| | | |
Separate common port functionality from Ethernet port functionality
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
port functionality (including automotive) and functionality common
across all media
These classes are pulled from the IEEE1588Port class which has been removed
This will reduce the amount of code duplication when support for 802.11
media is added
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Clients that want to interact with the MAAP daemon using text (such as
telnet clients) are now supported.
Also fixed some memory leaks with invalid command-line flags.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
lib/avtp_pipeline changes not included. They will need to be handled later.
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
All files now use tabs for indentation and space for alignment, which should
mesh better with the C and C++ in the rest of the OpenAvnu repository.
|
| |
| |
| |
| |
| |
| |
| | |
Previously, loop only tested socket creation; now it creates socket and tries
connecting before it decides an addrinfo option is good. This resolves the
client issue I had on my Debian system; the server picked IPV4 to listen on
but the client tried IPV6 first.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
While testing on a different Linux, the build failed due to a missing argument
to the open function. This also makes the log file group- and other-readable.
Also fixed a warning about discarding the return value of chdir.
|
| |
| |
| |
| |
| |
| | |
Documentation is much more comprehensive and describes how to build
and use the program as well as giving detailed information about how
the client/server protocol works.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This contains a few minor cleanups and a significant daemonization fix.
1. Fixed logging while daemonized - daemonizing now requires a log file
2. Clarified usage message and updated it to include log file
3. Changed 'daemon' to 'server' since server mode doesn't require -d
4. Moved server loop to `act_as_server` function
5. Implemented a proper double-fork daemonize routine with fd closing
|
| | |
|
| | |
|
| |
| |
| |
| | |
contribution.
|