summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2013-12-04 04:16:10 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-12-11 08:11:23 (GMT)
commitc855e4fef5ecf7e0723d65b6b16395eff5e7c097 (patch)
treecb1881c2e419819c5bec8ea51d81eb8f586f6810
parent85c0192455f06b9678dd9e48c3bf684f293d98e4 (diff)
downloadlibnl-c855e4fef5ecf7e0723d65b6b16395eff5e7c097.zip
libnl-c855e4fef5ecf7e0723d65b6b16395eff5e7c097.tar.gz
libnl-c855e4fef5ecf7e0723d65b6b16395eff5e7c097.tar.bz2
add declaration for rtnl_basic_add_action()
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r--include/netlink/route/cls/basic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink/route/cls/basic.h b/include/netlink/route/cls/basic.h
index 068e514..f00793c 100644
--- a/include/netlink/route/cls/basic.h
+++ b/include/netlink/route/cls/basic.h
@@ -15,6 +15,7 @@
#include <netlink/netlink.h>
#include <netlink/route/classifier.h>
#include <netlink/route/cls/ematch.h>
+#include <netlink/route/action.h>
#ifdef __cplusplus
extern "C" {
@@ -25,6 +26,7 @@ extern uint32_t rtnl_basic_get_target(struct rtnl_cls *);
extern void rtnl_basic_set_ematch(struct rtnl_cls *,
struct rtnl_ematch_tree *);
extern struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *);
+extern int rtnl_basic_add_action(struct rtnl_cls *, struct rtnl_act *);
extern int rtnl_basic_del_action(struct rtnl_cls *, struct rtnl_act *);
#ifdef __cplusplus