- 08 Jan, 2020 1 commit
-
-
Jean-Claude BAU authored
The 2 octets were displayed as as int16 so they can be swapped depending of the architecture.
-
- 15 May, 2019 1 commit
-
-
Jean-Claude BAU authored
- Change the Quality structure to make it compliant with the standard - Fix network to host conversion to display offsetScaledLogVariance
-
- 25 Feb, 2019 1 commit
-
-
baujc authored
. Better integrate of code optimization with PPSi Kconfig . PPSi Kconfig changes to simplify the code in PPSi and avoid #ifdef .. . Improve code optimization . Move some declaration in ppsi.h in other files to ligthen ppsi.h . Improvement of timers: global or instance dependent, dyn. allocation, renaming for better diagnostics, disabling allowed, ... . New behaviour for the PPS output generation (configurable,...) . Move control of the timing mode from HAL to PPSi . Optimization of code when a Protocol extension is not available . BMCA: Calculate the ebest,... only one time and then trigger all instances to execute the bmca state descision . Fix bug in the calculation of the clockIdentity to bring it into compliance with PTP spec 2008 document . Fix a bug related to Announce message received in SLAVE/UNCALIB . WR ext: use dynamic timer and adapt to new PPS generation . HA ext: Fix bug in fault injection mechanism
-
- 29 Jan, 2019 1 commit
-
-
baujc authored
- New L1Sync and PTP servo calculation (delayAsym,...) - Make function calls more uniforms between extensions - refactoring - Add a new state machine to enable/disable an extension and provide only PTP support: New timer, new hooks, ... - Fix bug in time format conversion - Code removed when an extension is not required (#ifdef XXX ) - Align the PTP and L1Sync servo calculation (shared fct, same calculation,...) - Force only one servo running at a given time for a given instance - New servo reset hook : called by main loop - Add function to converte a time into a string - Force to stay in FAULTY state during 60s - Optimise function wrs_enable_timing_output()
-
- 27 Nov, 2018 1 commit
-
-
Jean-Claude BAU authored
- When optParamsEnabled is set, the TLV send need to be extended with extra values. Fix here the length of the TLV and the whole message. - Fix print issue of the signaling TLV
-
- 21 Nov, 2018 2 commits
-
-
Jean-Claude BAU authored
When received frames are displayed (diagnostic mode), PPSI was staying forever in a loop due to unexpected TLV received in the frame.
-
Jean-Claude BAU authored
This implementation does not include yet the possibility to declare 2 exclusive instances on a same port (WR & HA) - Some structures are renamed with the suffix _t to make it more readable. - Some variables are renamed to be more clear - Implementation of masterOnly, slaveOnly and externalPortConfiguration - All extension specific includes (XX-api.h) is now automatically included in ppsi.h and do not need to be included in other files.
-
- 20 Nov, 2018 1 commit
-
-
Jean-Claude BAU authored
This implementation works on a WR Switch but does not yet integrate all required functionalities. List of current modifications : - Implementation of the L1SYNC protocol - Modifications of the standard protocol: new hook, TS calculation - Change WRS to integrate HA - HAL adaptations - ...
-
- 21 Sep, 2018 2 commits
-
-
Adam Wujek authored
Disect WR frames in ptpdump and during printing debug info in PPSi. Current implementation prints deltaTX and deltaRx in hex not in decimal. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This commit fixes dumping PTP packets in ptpdump and PPSi (via -d 002) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 03 Mar, 2017 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 31 Jan, 2017 2 commits
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Commit only build for arch-unix (and no tools either) This simplifies a lot the calculations. - all times are now living in a single structure - all fields are signed and 64-bit long - the 2038 bug is over (we still had 32-bit seconds) - no overflow in math or unexplained "unsigned" appearing Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 12 Dec, 2016 1 commit
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 07 Dec, 2016 1 commit
-
-
Adam Wujek authored
--Add a new function dump_vlan to print vlan number --To be able to read aux data use recvmsg instead of recvfrom --For incoming data use aux to read VLAN number --For outgoing use VLAN header Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 20 Sep, 2016 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 06 Jul, 2015 2 commits
-
-
Alessandro Rubini authored
While looking for an alignment bug I had bad frames: being able to look at the binary content of all ptp-ethtype frames (or ip/udp/ptp) is very useful in that situation. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This requires some change to the include files, to be able to build for all architectures. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 18 Sep, 2013 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 31 Jul, 2013 1 commit
-
-
Alessandro Rubini authored
This changes all "Name Surname for CERN" to "Copyright CERN, author Name Surname". This is trivial and makes no change, with a few expections: - all trivial Makefiles that had "for CERN" lines have now no attributions, as they are trivial anyways. - a few unrepresented files have not the copyright notice (especially ptpdump, that I wrote in 2012). - a few "for CERN" remain in subprojects, where I didn't touch anyrhing Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 26 Jul, 2013 2 commits
-
-
Aurelio Colosimo authored
correction field is not printed as hex value, so do not prepend it with 0x. Signed-off-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
Aurelio Colosimo authored
Signed-off-by:
Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
- 07 Jul, 2013 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 21 Mar, 2013 1 commit
-
-
Alessandro Rubini authored
The __BYTE_ORDER == __LITTLE_ENDIAN was failing on lm32, I don't know why. So dumping on the spec was wrong: "VERSION: unsupported (0)" The above symbols are defined by glibc, and I didn't even get undefined macro errors. So the commit kill bit fields, and I mask at run time instead. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 14 Mar, 2013 8 commits
-
-
Alessandro Rubini authored
This is oh so boring, but I need to differentiate send from receive when dumping from withing ppsi itself. This is a long patch that has no effect on tools/ptpdump, since it pases the empty string as prefix. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This moves some stuff between dump-main.c and dump-funcs.c, preparing for dump-funcs to be used within ppsi itself. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Since dump-funcs.c is going to be used within ppsi itself, print the empty separating lines, as well as the time difference from the previous frame in main, not in dumping functions. This has no effect on ptpdump itself, it's only a preparation for reuse of the code. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
When building freestanding we need to save space. Avoid printing pdelay messages that are neither sent nor used if received. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit allows dump-funcs.c to be build from a freestanding environment. It uses __STDC_HOSTED__ to select what to include, and relies on "network_types.h" to fill the gaps. Such header is not part of this commit. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Include <ppsi/ieee1588_types.h> in tools/, like the rest of the code does. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This commit removes the "dest" argument to dumpstruct(), which now uses printf() and not fprintf(dest,). I plan to use these functions withing PPSi itself if the "frames" diagnostic level is 2, and I'd better avoid to hack around fprintf. ptpdump is not changed, as it already used dumpstruct() with stdout as destination. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 12 Mar, 2013 1 commit
-
-
Alessandro Rubini authored
Commit f9f487ff made ClockIdentity into a structure, but I didn't rebuild the tools, which are affected by the type definitions. This fixes the building of ptpdump. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 01 Mar, 2013 2 commits
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
No effect: the final program is still called ptpdump. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 28 Mar, 2012 1 commit
-
-
Alessandro Rubini authored
This is a major patch, because header files are renamed, and the header directory with them. Still, no functional change is there.
-
- 09 Mar, 2012 2 commits
-
-
Alessandro Rubini authored
-
Alessandro Rubini authored
-
- 03 Mar, 2012 2 commits
-
-
Alessandro Rubini authored
-
Alessandro Rubini authored
-