diff options
author | Patrick McHardy <kaber@trash.net> | 2012-12-14 17:50:10 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2012-12-14 17:50:10 +0100 |
commit | a70369ceaef764e2bfb83b011973e7bde6b463fb (patch) | |
tree | 2dfc46ede53d971c163a03db811986704d2827c7 /include/netlink.h | |
parent | a5dadd72bef79d92c14271fb8718a13f0e7f3814 (diff) |
rule: add rule insertion (prepend) support
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/netlink.h')
-rw-r--r-- | include/netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netlink.h b/include/netlink.h index 8edd1a39..3252569b 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -51,7 +51,7 @@ extern struct rule *netlink_delinearize_rule(struct netlink_ctx *ctx, const struct nl_object *obj); extern int netlink_add_rule(struct netlink_ctx *ctx, const struct handle *h, - const struct rule *rule); + const struct rule *rule, uint32_t flags); extern int netlink_delete_rule(struct netlink_ctx *ctx, const struct handle *h); extern int netlink_get_rule(struct netlink_ctx *ctx, const struct handle *h); |