summaryrefslogtreecommitdiffstats
path: root/include/netlink/route/action.h
Commit message (Collapse)AuthorAgeFilesLines
* act: Declare rtnl_act_change()Thomas Graf2014-07-271-0/+1
| | | | | Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
* act: grab a reference when adding an action to a filterCong Wang2014-04-301-0/+1
| | | | | | | | | | When we add an action to a filter, its lifetime becomes same with the filter. So in case user frees it before us, we could just grab a reference here. Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
* act: remove rtnl_act_alloc_cache()Cong Wang2014-01-151-4/+0
| | | | | | | | | | | | | | | | It is complicated to cache tc actions, they are different from tc qdisc's and filters by design. So, it is simple if we just don't cache them. This patch only removes the tc action cache allocation API. We still need to bypass the libnl cache layer from scratch, but that would not break ABI any more, therefore we can do it later. Cc: Thomas Graf <tgraf@suug.ch> Cc: Thomas Haller <thaller@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
* u32: add action removal APICong Wang2013-12-091-0/+1
| | | | | Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* fix linux/pkt_act.h inclusionCong Wang2013-11-111-1/+0
| | | | | | | We should copy and use the kernel header linux/tc_act/tc_mirred.h. Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* add mirred tc actionCong Wang2013-11-091-0/+1
| | | | | Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* add initial tc action supportCong Wang2013-11-091-0/+48
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>