OSDN Git Service

flow dissector: ICMP support
authorSimon Horman <simon.horman@netronome.com>
Wed, 7 Dec 2016 12:48:27 +0000 (13:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 16:45:21 +0000 (11:45 -0500)
commit972d3876faa8a9195122b2d2bcd3155f904fff37
tree1f8babbc7497c6d5da9be741371472306d804b9b
parent7cc99fd29b982964e63afa92a7e29db49b69c90e
flow dissector: ICMP support

Allow dissection of ICMP(V6) type and code. This should only occur
if a packet is ICMP(V6) and the dissector has FLOW_DISSECTOR_KEY_ICMP set.

There are currently no users of FLOW_DISSECTOR_KEY_ICMP.
A follow-up patch will allow FLOW_DISSECTOR_KEY_ICMP to be used by
the flower classifier.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/core/flow_dissector.c