blob: dbaf7cdc2d7d770ee812df2ba1c4af9d97cb4f7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
table netdev t {
set s {
typeof ether saddr . vlan id
size 2048
flags dynamic,timeout
}
chain c {
ether type != 8021q add @s { ether saddr . 0 timeout 5s } counter packets 0 bytes 0 return
ether type != 8021q update @s { ether daddr . 123 timeout 1m } counter packets 0 bytes 0 return
}
}
|