blob: 0402b7a96899657fc0dee03d07a03f25c8dcf8ad (
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 ]
|