]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: flow_dissector: Parse PTP L2 packet header
authorEran Ben Elisha <eranbe@nvidia.com>
Tue, 12 Jan 2021 19:07:13 +0000 (21:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 02:24:54 +0000 (18:24 -0800)
commit4f1cc51f34886d645cd3e8fc2915cc9b7a55c3b6
treeae87c0c4220d19263c64d7895b2ed5f333615065
parent71854255820d1a479654bd2e98483129c588c118
net: flow_dissector: Parse PTP L2 packet header

Add support for parsing PTP L2 packet header. Such packet consists
of an L2 header (with ethertype of ETH_P_1588), PTP header, body
and an optional suffix.

Signed-off-by: Eran Ben Elisha <eranbe@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/flow_dissector.c