mirror of
https://git.netfilter.org/nftables
synced 2026-01-27 10:54:08 +00:00
Add support to add an offset to the numgen generated value. Example: ct mark set numgen inc mod 2 offset 100 This will generate marks with serie like 100, 101, 100, ... Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
9 lines
229 B
C
9 lines
229 B
C
#ifndef NFTABLES_NUMGEN_H
|
|
#define NFTABLES_NUMGEN_H
|
|
|
|
extern struct expr *numgen_expr_alloc(const struct location *loc,
|
|
enum nft_ng_types type, uint32_t until,
|
|
uint32_t offset);
|
|
|
|
#endif /* NFTABLES_NUMGEN_H */
|