net/sched: act_mirred: Add helper inlines to access tcf_mirred info.
authorYotam Gigi <yotamg@mellanox.com>
Thu, 21 Jul 2016 10:03:16 +0000 (12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2016 06:12:00 +0000 (23:12 -0700)
commit56a20680f70393d199fc5e8ecc7859549ca5a0c0
treecd44e79caaa447e725e81440c82227c2b811be15
parent230190548b7529d02d38f450748baf0721332f26
net/sched: act_mirred: Add helper inlines to access tcf_mirred info.

The helper function is_tcf_mirred_mirror helps finding whether an action
struct is of type mirred and is configured to be of type mirror.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tc_act/tc_mirred.h