net: define receive timestamp filter for NTP
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 19 May 2017 15:52:35 +0000 (17:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 May 2017 17:37:32 +0000 (13:37 -0400)
commitb8210a9e4bea6354eccc5d8a50ecc21ea7486dc9
treeac8e1a9e76ec59e2dee0e7185e1373aef24bc14d
parent2061ec3f1370d5491e801a693618af2b933781fe
net: define receive timestamp filter for NTP

Add HWTSTAMP_FILTER_NTP_ALL to the hwtstamp_rx_filters enum for
timestamping of NTP packets. There is currently only one driver
(phyter) that could support it directly.

CC: Richard Cochran <richardcochran@gmail.com>
CC: Willem de Bruijn <willemb@google.com>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/net_tstamp.h
net/core/dev_ioctl.c