Skip to content

Test PTP timestamping and more in a controlled manner

License

Notifications You must be signed in to change notification settings

cappe987/tstest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tstest - TimeStamp Testing

A tool to test the functionalities required by Linuxptp in a controlled manner. Rather than running the complex daemons you can use tstest to try out one functionality at a time. Great for debugging purposes.

Features

  • tstest pkt can send and receive individual packets with timestamps.
  • tstest delay can perform basic peer delay measurement.
  • tstest extts can listen to EXTTS events from the kernel.

TODO

  • Add PPS configuration
  • Add E2E delay
  • Idea: tstest check mode that takes a config file of actions it should check (send, receive, verify values). Should be run with a looped cable, else it would require two instances (which might be an option too).

Credit

A lot of the code is directly taken from the Linuxptp project and the Linux kernel and simplified/modified.

About

Test PTP timestamping and more in a controlled manner

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published