net: added a BPF to help drivers detect PTP packets.
authorRichard Cochran <richardcochran@gmail.com>
Sat, 17 Jul 2010 08:49:17 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jul 2010 02:15:26 +0000 (19:15 -0700)
commit15f0127d1d189fda3294b7823e3e654afca54055
treeadc92669c93feabf1fe2264797700de36980467f
parent28b041139e344ecd0f144d6205b004ae354cfa1e
net: added a BPF to help drivers detect PTP packets.

Certain kinds of hardware time stamping units in both MACs and PHYs have
the limitation that they can only time stamp PTP packets. Drivers for such
hardware are left with the task of correctly matching skbs to time stamps.
This patch adds a BPF that drivers can use to classify PTP packets when
needed.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ptp_classify.h [new file with mode: 0644]