aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@linutronix.de>2020-08-18 12:32:44 +0200
committerDavid S. Miller <davem@davemloft.net>2020-08-19 16:07:49 -0700
commit036c508ba95e573f53bd5bbb79b0c4d71003b319 (patch)
treeb09208c59aaca9fa858cdae2e4070a269bdca702 /drivers/net
parentptp: Add generic ptp v2 header parsing function (diff)
downloadlinux-dev-036c508ba95e573f53bd5bbb79b0c4d71003b319.tar.xz
linux-dev-036c508ba95e573f53bd5bbb79b0c4d71003b319.zip
ptp: Add generic ptp message type function
The message type is located at different offsets within the ptp header depending on the ptp version (v1 or v2). Therefore, drivers which also deal with ptp v1 have some code for it. Extract this into a helper function for drivers to be used. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Reviewed-by: Richard Cochran <richardcochran@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions