]> git.baikalelectronics.ru Git - kernel.git/commit
net/flow_dissector: add support for dissection of misc ip header fields
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 1 Jun 2017 18:37:37 +0000 (21:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Jun 2017 22:12:23 +0000 (18:12 -0400)
commite2548aab1a6999422990b752a2113afd4ec9c580
tree1f10a6e3e6da7803e931bf5c363ae7397d524ec0
parentf6271d9d6ccf6b5653e50673a48c35525ab6f277
net/flow_dissector: add support for dissection of misc ip header fields

Add support for dissection of ip tos and ttl and ipv6 traffic-class
and hoplimit. Both are dissected into the same struct.

Uses similar call to ip dissection function as with tcp, arp and others.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-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