OSDN Git Service

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)
commit518d8a2e9bad83c6040eccebc3d1f7388fc034e7
tree1f10a6e3e6da7803e931bf5c363ae7397d524ec0
parentf4d01666616adeebe72f84ee6e9385e309805ba5
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