]> granicus.if.org Git - libnl/commitdiff
add declaration for rtnl_basic_add_action()
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 4 Dec 2013 04:16:10 +0000 (20:16 -0800)
committerThomas Graf <tgraf@suug.ch>
Wed, 11 Dec 2013 08:11:23 +0000 (09:11 +0100)
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
include/netlink/route/cls/basic.h

index 068e5146a74d4d7f3dddd927f3a79938211b2679..f00793ca6189bef254699bcbb979d848ef403682 100644 (file)
@@ -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