]> 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)
commit9bc5970d8034a512bb530b60dd2188d13fdbb1d2
tree1f10a6e3e6da7803e931bf5c363ae7397d524ec0
parent170be515014af3740e332dd779f5361a0cf341db
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