summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/sets.t.payload.netdev.got
blob: 792d84160eeb377b80937b0cd68d81516e25b835 (plain)
1
2
3
4
5
6
7
8
9
# add @map1 { ip6 saddr . ip6 daddr : meta mark }
netdev test-netdev ingress
  [ meta load protocol => reg 1 ]
  [ cmp eq reg 1 0x0000dd86 ]
  [ payload load 16b @ network header + 8 => reg 1 ]
  [ payload load 16b @ network header + 24 => reg 2 ]
  [ meta load mark => reg 3 ]
  [ dynset add reg_key 1 set map1 sreg_data 3 ]