summaryrefslogtreecommitdiff
path: root/daemons
Commit message (Collapse)AuthorAgeFilesLines
...
| * gPTP: Windows: MSVC compile fixesAndrew Elder2017-06-051-8/+8
| |
| * gPTP: fix link up status checkToshiki Nishioka2017-05-241-1/+1
| |
| * gPTP: fix SIOCGIFNAME ioctl failureToshiki Nishioka2017-05-241-2/+17
| | | | | | | | | | Use an INET socket rather than a NETLINK socket to get link speed with ioctl() since NETLINK sockets do not support ioctl().
| * gPTP: change HWTimestamper_adjclockrate into const functionPawel Modrzejewski2017-05-235-19/+12
| | | | | | | | | | | | | | | | 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.
* | Merge branch 'open-avb-next' of https://github.com/AVnu/Open-AVB into ↵Brant Thomsen2017-05-2231-702/+1387
|\ \ | |/ | | | | avtp_avdecc
| * Merge pull request #598 from christopher-s-hall/open-avb-nextandrew-elder2017-05-2223-677/+1033
| |\ | | | | | | Removed clock dependence on timestamper - necessary for multiport
| | * Removed clock dependence on timestamper - necessary for multiportChristopher S. Hall2017-05-1923-677/+1033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Merge pull request #595 from PawelModrzejewski/open-avb-nextandrew-elder2017-05-193-7/+29
| |\ \ | | |/ | |/| gPTP: add negative time jumps detection
| | * gPTP: add negative time jumps detectionPawel Modrzejewski2017-05-173-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge pull request #594 from bdthomsen/gptp_switch_fixandrew-elder2017-05-161-0/+4
| |\ \ | | | | | | | | Ignore twoStepFlag as per Table 11-4 of 802.1AS-2011
| | * | Ignore twoStepFlag as per Table 11-4 of 802.1AS-2011Brant Thomsen2017-05-111-0/+4
| | |/ | | | | | | | | | | | | 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.
| * | Merge pull request #596 from audioscience/rMTBrant Thomsen2017-05-157-0/+307
| |\ \ | | | | | | | | Add special handling for rMT messages
| | * | daemons: MRP: MVRP test, compiler syntax fixandrew-elder2017-05-151-2/+2
| | | |
| | * | MRP: add tests for MVRP rMT!andrew-elder2017-05-124-0/+292
| | | |
| | * | daemons: mrpd: ignore rMT! if an attribute does not existAndrew Elder2017-05-123-0/+15
| | |/
| * | PTP_CLOCK_IDENTITY_LENGTH moved to ptptypes.hppBrant Thomsen2017-05-153-11/+6
| | | | | | | | | | | | | | | | | | 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.
| * | Aligned comments (white space changes only)Brant Thomsen2017-05-121-18/+18
| | |
| * | Added AVDECC information to gPTP daemonBrant Thomsen2017-05-1113-74/+439
| |/ | | | | | | | | 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 moved to ptptypes.hppBrant Thomsen2017-05-153-11/+6
| | | | | | | | | | | | 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.
* | Temporary compile fix. Needs to be addressed later.Brant Thomsen2017-05-101-1/+1
| |
* | Merge branch 'open-avb-next' of ↵Brant Thomsen2017-05-1031-3329/+3872
|\ \ | |/ | | | | ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into avtp_avdecc
| * Merge pull request #590 from bdthomsen/maap_ui_updateandrew-elder2017-05-085-19/+89
| |\ | | | | | | Added YIELD command support to the MAAP daemon
| | * Added YIELD command support to the MAAP daemonBrant Thomsen2017-05-055-19/+89
| | |
| * | Windows 10 detection fixBrant Thomsen2017-05-063-3/+34
| |/ | | | | | | | | | | 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.
| * Fixed an issue when receiving multiple notifications.Brant Thomsen2017-05-041-1/+1
| |
| * Added prompt to tell the user to type "help" for commandsBrant Thomsen2017-05-042-3/+18
| |
| * Added support for text interaction by clientsBrant Thomsen2017-05-046-146/+220
| | | | | | | | | | | | 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.
| * Change to the gPTP daemon Windows support so that the Windows 8 SDK is not ↵Brant Thomsen2017-04-301-6/+13
| | | | | | | | | | | | needed. The updated code calls VerifyVersionInfoW() directly, rather than calling it using the IsWindowsVersionOrGreater() function in the VersionHelpers.h header file.
| * Merge pull request #585 from christopher-s-hall/open-avb-nextandrew-elder2017-04-2828-3320/+3825
| |\ | | | | | | Separate common port functionality from Ethernet port functionality
| | * Create CommonPort and EtherPort classes representing Ethernet specificChristopher S. Hall2017-04-2628-3320/+3825
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Added YIELD command supportBrant Thomsen2017-05-045-19/+89
| | |
* | | Fixed an issue when receiving multiple notifications.Brant Thomsen2017-05-041-1/+1
| | |
* | | Added prompt to tell the user to type "help" for commandsBrant Thomsen2017-05-042-3/+18
| | |
* | | Added support for text interaction by clientsBrant Thomsen2017-05-036-146/+220
| | | | | | | | | | | | | | | | | | 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.
* | | Spelling fixesBrant Thomsen2017-05-011-1/+1
| | |
* | | Merge branch 'open-avb-next' of https://github.com/AVnu/Open-AVB into maap_ver2Brant Thomsen2017-04-2831-2250/+2880
|\ \ \ | |/ / | | | | | | lib/avtp_pipeline changes not included. They will need to be handled later.
| * | Added support for Microsoft Visual Studio 2012Brant Thomsen2017-04-224-7/+43
| |/
| * Fixed indentation and format strings.Michal Galka2017-04-104-61/+59
| |
| * Removed whitespaces and re-entered default values to MakefileMichal Galka2017-04-061-3/+3
| |
| * Added README_SYETEMD_WATCHDOG.txt fileMichal Galka2017-04-061-0/+28
| |
| * Added systemd watchdog support for gptp daemonMichal Galka2017-04-065-6/+118
| |
| * Make whitespace usage consistent across maap filesLevi Pearson2017-03-3116-2125/+2129
| | | | | | | | | | 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.
| * Client for maap now tries all addrinfo optionsLevi Pearson2017-03-302-18/+8
| | | | | | | | | | | | | | 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.
| * Allow overriding OPT make var for maap buildLevi Pearson2017-03-301-1/+1
| |
| * Fix log file creation for maap_daemonLevi Pearson2017-03-301-2/+2
| | | | | | | | | | | | | | 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.
| * Update maap README.rst with build and usage docsLevi Pearson2017-03-301-36/+374
| | | | | | | | | | | | 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.
| * Cleanup of maap_daemon for daemonizationLevi Pearson2017-03-301-54/+117
| | | | | | | | | | | | | | | | | | | | 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
| * Workaround gcc-6 compile error when optimizingLevi Pearson2017-03-301-1/+1
| |
| * Casts to resolve VS2013 x64 compiler warnings.Brant Thomsen2017-03-282-3/+3
| |
| * Updated the files to use the same BSD license as Harman's avtp_pipeline ↵Brant Thomsen2017-03-2829-32/+503
| | | | | | | | contribution.