summaryrefslogtreecommitdiffstats
path: root/include/netlink/route/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netlink/route/rule.h')
-rw-r--r--include/netlink/route/rule.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/netlink/route/rule.h b/include/netlink/route/rule.h
index 2602f77..928dc0f 100644
--- a/include/netlink/route/rule.h
+++ b/include/netlink/route/rule.h
@@ -27,16 +27,16 @@ struct rtnl_rule;
extern struct rtnl_rule * rtnl_rule_alloc(void);
extern void rtnl_rule_put(struct rtnl_rule *);
-extern int rtnl_rule_alloc_cache(struct nl_handle *, int,
+extern int rtnl_rule_alloc_cache(struct nl_sock *, int,
struct nl_cache **);
extern void rtnl_rule_dump(struct rtnl_rule *, FILE *, struct nl_dump_params *);
extern int rtnl_rule_build_add_request(struct rtnl_rule *, int,
struct nl_msg **);
-extern int rtnl_rule_add(struct nl_handle *, struct rtnl_rule *, int);
+extern int rtnl_rule_add(struct nl_sock *, struct rtnl_rule *, int);
extern int rtnl_rule_build_delete_request(struct rtnl_rule *, int,
struct nl_msg **);
-extern int rtnl_rule_delete(struct nl_handle *, struct rtnl_rule *, int);
+extern int rtnl_rule_delete(struct nl_sock *, struct rtnl_rule *, int);
/* attribute modification */