search for: netlink_gen_limit_stmt

Displaying 1 result from an estimated 1 matches for "netlink_gen_limit_stmt".

2013 Jun 08
2
[Bug 827] New: limit: support is broken
...m: x86_64 OS/Version: All Status: NEW Severity: blocker Priority: P5 Component: nft AssignedTo: pablo at netfilter.org ReportedBy: eric at regit.org Estimated Hours: 0.0 In src/netlink-linearize.c we have: <pre> static void netlink_gen_limit_stmt(struct netlink_linearize_ctx *ctx, const struct stmt *stmt) { struct nfnl_nft_expr *nle; nle = alloc_nft_expr(nfnl_nft_limit_init); nfnl_nft_limit_set_rate(nle, stmt->limit.rate); nfnl_nft_limit_set_depth(nle, stmt->limit.depth); nfnl_nft_rule_add_expr(...