{"id":26529491,"url":"https://github.com/cappe987/tstest","last_synced_at":"2025-03-21T16:34:04.188Z","repository":{"id":202642056,"uuid":"651962963","full_name":"cappe987/tstest","owner":"cappe987","description":"Test PTP timestamping and more in a controlled manner","archived":false,"fork":false,"pushed_at":"2025-03-12T15:03:01.000Z","size":187,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T16:22:03.303Z","etag":null,"topics":["hacktoberfest","network","ptp","timestamping"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cappe987.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-10T16:26:47.000Z","updated_at":"2025-03-12T15:03:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d2e1b68-7a66-4449-9197-cc738a704ae2","html_url":"https://github.com/cappe987/tstest","commit_stats":null,"previous_names":["cappe987/tstest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cappe987%2Ftstest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cappe987%2Ftstest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cappe987%2Ftstest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cappe987%2Ftstest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cappe987","download_url":"https://codeload.github.com/cappe987/tstest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244829828,"owners_count":20517384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","network","ptp","timestamping"],"created_at":"2025-03-21T16:34:03.496Z","updated_at":"2025-03-21T16:34:04.176Z","avatar_url":"https://github.com/cappe987.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--SPDX-License-Identifier: GPL-2.0-only--\u003e\n\u003c!--SPDX-FileCopyrightText: 2025 Casper Andersson \u003ccasper.casan@gmail.com\u003e--\u003e\n# Tstest - TimeStamp Testing\n\nA tool to test the functionalities required by Linuxptp in a controlled manner.\nRather than running the complex daemons you can use tstest to try out one\nfunctionality at a time. Great for debugging purposes.\n\n## Features\n- `tstest pkt` can send and receive individual packets with timestamps.\n- `tstest delay` can perform basic peer delay measurement.\n- `tstest extts` can listen to EXTTS events from the kernel.\n\n\n## TODO\n- Add PPS configuration\n- Add E2E delay\n- Idea: `tstest check` mode that takes a config file of actions it should check\n  (send, receive, verify values). Should be run with a looped cable, else it\n  would require two instances (which might be an option too).\n\n## TODO: TC Mode\n- Better handling for finding the initial max/min values. Use INT MIN/MAX?\n- Change to use capture time and interval, rather than packet count\n- P2P measurement\n- build_msg() should take portIdentity\n- Export Delay and Twoway error. Alternatively, only export packet\n  data and calculate externally (note: internal calculation is also\n  desired since we want to give quick output).\n- BC mode\n- Refactor stats.c to better map messages???\n- Fix SeqID handling to have separate counters for each packet type.\n\n## Credit\nSome of the code is directly taken from the Linuxptp project and the Linux\nkernel and simplified/modified.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcappe987%2Ftstest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcappe987%2Ftstest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcappe987%2Ftstest/lists"}