[PATCH 3/4] add declaration for rtnl_basic_add_action()

Cong Wang xiyou.wangcong at gmail.com
Tue Dec 3 23:16:10 EST 2013


Signed-off-by: Cong Wang <xiyou.wangcong at gmail.com>
---
 include/netlink/route/cls/basic.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/netlink/route/cls/basic.h b/include/netlink/route/cls/basic.h
index 603fa88..2fbae64 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 *);
 
 #ifdef __cplusplus
 }
-- 
1.8.1.4




More information about the libnl mailing list