summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/flowtable.t.payload
blob: 4dbd03d019262d396b0bc5012755485c52f1f43e (plain)
1
2
3
4
5
6
7
# meter name xyz { ip saddr timeout 30s counter}
xyz test-ip 31
xyz test-ip 0
ip test-ip input 
  [ payload load 4b @ network header + 12 => reg 1 ]
  [ dynset update reg_key 1 set xyz timeout 30000ms expr [ counter pkts 0 bytes 0 ] ]