1HWSTAMP_CTL(8) System Manager's Manual HWSTAMP_CTL(8)
2
3
4
6 hwstamp_ctl - set time stamping policy at the driver level
7
8
10 hwstamp_ctl -i interface [ -r rx-filter ] [ -t tx-type ] [ -v ]
11
12
14 hwstamp_ctl is a program used to set and get the hardware time stamping
15 policy at the network driver level with the SIOCSHWTSTAMP ioctl(2).
16 The tx-type and rx-filter values are hints to the driver what it is
17 expected to do. If the requested fine-grained filtering for incoming
18 packets is not supported, the driver may time stamp more than just the
19 requested types of packets.
20
21 If neither tx-type nor rx-filter values are passed to the program, it
22 will use the SIOCGHWTSTAMP ioctl(2) to non-destructively read the cur‐
23 rent hardware time stamping policy.
24
25 This program is a debugging tool. The ptp4l(8) program does not need
26 this program to function, it will set the policy automatically as
27 appropriate.
28
29
31 -i interface
32 Specify the network interface of which the policy should be
33 changed.
34
35 -r rx-filter
36 Specify which types of incoming packets should be time stamped,
37 rx-filter is an integer value.
38
39 -t tx-type
40 Enable or disable hardware time stamping for outgoing packets,
41 tx-type is an integer value.
42
43 -h Display a help message and list of possible values for rx-filter
44 and tx-type.
45
46 -v Prints the software version and exits.
47
48
50 ioctl(2), ptp4l(8)
51
52
53
54linuxptp June 2014 HWSTAMP_CTL(8)