table ip x { set y { type ipv4_addr size 65535 flags dynamic counter quota 500 bytes elements = { 1.1.1.1 counter packets 0 bytes 0 quota 500 bytes, 1.2.3.4 counter packets 9 bytes 756 quota 500 bytes used 500 bytes, 2.2.2.2 counter packets 0 bytes 0 quota 1000 bytes } } chain y { type filter hook output priority filter; policy accept; update @y { ip daddr } } }