diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-08-13 02:11:21 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-09-21 09:58:49 +0200 |
commit | 958149795f680f77f73ca44f78279f55265728c0 (patch) | |
tree | e2fd819fae5d9bde7844dc8f1b04acaa9f090319 /ipv6.h | |
parent | 68e2a5ab4122bb826c99dfb784fa38c1c661411a (diff) |
trafgen: parser: Add support of 'dinc' function for proto fields
Add 'dinc()' function in 'field_expr' rules to be used for dynamically
incrementing of any specified field:
SYNTAX := dinc() | dinc(step) | dinc(min, max) | dinc(min, max, step)
EXAMPLES:
{ udp(sport=dinc() }
{ udp(sport=dinc(1) }
{ udp(sport=dinc(100, 125, 5) }
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ipv6.h')
0 files changed, 0 insertions, 0 deletions