.. index:: pair: group; Get PTP clock capabilities .. _doxid-group__ptp-clock__caps: Get PTP clock capabilities ========================== .. toctree:: :hidden: Check that clock cababilities can be obtained for PTP device associated with the tested network interface. Scenarios: X3-PTP007. #. Find out PTP device associated with the IUT interface, call **open()** to get its FD. #. Call **ioctl** (``PTP_CLOCK_GETCAPS``) on the PTP device FD. #. Check reported capabilities. Frequency adjustment up to 100_000_000 ppb and Pulse Per Second should be supported; there should be at least one external timestamp channel. Yurij Plotnikov `Yurij.Plotnikov@arknetworks.am `__ .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - env - Testing environment: * :ref:`env.peer2peer `