]> git.baikalelectronics.ru Git - kernel.git/commit
flow_dissector: Add flag to stop parsing at L3
authorTom Herbert <tom@herbertland.com>
Tue, 1 Sep 2015 16:24:30 +0000 (09:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2015 22:06:23 +0000 (15:06 -0700)
commitca8ef4fba23b3d4f60f3936263c9b5b1e5437c30
tree81725f39b3e3905ec73e817ccdeeda187a298325
parent04a07525a42099231a5f88dc840a032a97d1a8d1
flow_dissector: Add flag to stop parsing at L3

Add an input flag to flow dissector on rather dissection should be
stopped when an L3 packet is encountered. This would be useful if a
caller just wanted to get IP addresses of the outermost header (e.g.
to do an L3 hash).

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/core/flow_dissector.c