Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: Implement rule comparison | Carlos Falgueras García | 2016-08-17 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | libnftnl: constify object arguments to various functions | Patrick McHardy | 2016-05-09 | 1 | -5/+7 |
| | | | | | | | | | flow table support needs constant object arguments to printing functions to avoid ugly casts. While at it, also constify object arguments to message construction, destructor and a few helper functions. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | expr: add forward expression | Pablo Neira Ayuso | 2016-02-01 | 1 | -0/+187 |
Add forward expression for the netdev family. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |