ptp: Classify ptp over ip over vlan packets
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Fri, 27 Jun 2014 09:59:10 +0000 (11:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jul 2014 23:57:18 +0000 (16:57 -0700)
commitae5c6c6d7bcadfbedefb5fc8ff0ebe2bfa83a0a1
treed1071ae8d47415a2575f689e54e35119f541befd
parentb9c701edc7ff6ddd522497b0194b0bc3ec1b51a9
ptp: Classify ptp over ip over vlan packets

This extends the ptp bpf to also match ptp over ip over vlan packets. The ptp
classes are changed to orthogonal bitfields representing version, transport
and vlan values to simplify matching.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpts.c
drivers/net/phy/dp83640.c
include/linux/ptp_classify.h
net/core/ptp_classifier.c