Mock-up PTP clock

modulename: ptp_mock.ko

configname: CONFIG_PTP_1588_CLOCK_MOCK

Linux Kernel Configuration
└─>Device Drivers
└─>PTP clock support
└─>Mock-up PTP clock
In linux kernel since version 4.14.327 (release Date: 2023-10-10)  
This driver offers a set of PTP clock manipulation operations over
the system monotonic time. It can be used by virtual network device
drivers to emulate PTP capabilities.

To compile this driver as a module, choose M here: the module
will be called ptp_mock.

source code:

is selected by
CONFIG_NETDEVSIM