net: tc: helper functions to query action types
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 17 Feb 2016 05:18:03 +0000 (21:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 14:47:36 +0000 (09:47 -0500)
commit3b01cf56daf96acf9b155d6201d94bc8b4de218e
tree54c9b0a98a3659aadb1aa7313a6ebe1af217bc7c
parent1c78c64e9c6f43a490427d55cd2d213b7c6795c1
net: tc: helper functions to query action types

This is a helper function drivers can use to learn if the
action type is a drop action.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tc_act/tc_gact.h