Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: Implement rule comparison | Carlos Falgueras García | 2016-08-17 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | | This patch implements the function: bool nftnl_rule_cmp(const struct nftnl_rule *r1, const struct nftnl_rule *r2) for rule comparison. Expressions within rules need to be compared, so also has been created the function: bool nftnl_expr_cmp(const struct nftnl_expr *e1, const struct nftnl_expr *e2); Also includes all expression comparators. Signed-off-by: Carlos Falgueras García <carlosfg@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | expr: add hash expression | Laura Garcia Liebana | 2016-08-17 | 1 | -0/+294 |
Support for the nft hash expression in libnftnl. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |