blob: e876425b2bc62581f107a9b0380a4553eba19943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
table ip x {
map y {
typeof ip saddr . @ih,32,32 : verdict
elements = { 1.1.1.1 . 0x14 : accept,
7.7.7.7 . 0x86 : accept,
7.7.7.8 . 0x97 : drop }
}
chain y {
ip saddr . @ih,32,32 vmap @y
ip saddr . @ih,32,32 vmap { 4.4.4.4 . 0x34 : accept, 5.5.5.5 . 0x45 : drop }
}
}
|