summaryrefslogtreecommitdiff
path: root/bpf_lexer.l
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-08-13 02:11:22 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-09-21 09:59:10 +0200
commit249891474f6820ab1d829601188b5e3ce82c5f0f (patch)
tree67dc0d56e15154ee315c09986b046c968d46e5df /bpf_lexer.l
parent958149795f680f77f73ca44f78279f55265728c0 (diff)
trafgen: parser: Add 'drnd()' function for proto fields
Add syntax for specify dynamic random function for proto field: drnd() | drnd(min, max) EXAMPLE: { udp(sport=drnd()) } { udp(sport=drnd(1000, 2000)) } Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf_lexer.l')
0 files changed, 0 insertions, 0 deletions