summaryrefslogtreecommitdiffstats
path: root/tests/py/any/fwd.t.payload
blob: 696b55efe82078ad8f479236a00b8d78189d8db9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# fwd to "lo"
netdev test-netdev ingress 
  [ immediate reg 1 0x00000001 ]
  [ fwd sreg_dev 1 ]

# fwd to mark map { 0x00000001 : "lo", 0x00000002 : "lo"}
__map%d test-netdev b
__map%d test-netdev 0
	element 00000001  : 00000001 0 [end]	element 00000002  : 00000001 0 [end]
netdev test-netdev ingress 
  [ meta load mark => reg 1 ]
  [ lookup reg 1 set __map%d dreg 1 ]
  [ fwd sreg_dev 1 ]