3 Luci statistics - iptables plugin diagram definition
4 (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 $Id: ipt_bytes.lua 2276 2008-06-03 23:18:37Z jow $
16 module("luci.statistics.rrdtool.definitions.iptables", package.seeall)
18 function rrdargs( graph, plugin, plugin_instance, dtype )
22 title = "%H: Firewall: Processed bytes in %pi",
24 number_format = "%5.0lf%sB/s",
25 totals_format = "%5.0lf%sB",
27 types = { "ipt_bytes" },
38 title = "%H: Firewall: Processed packets in %pi",
40 number_format = "%5.1lf P/s",
41 totals_format = "%5.0lf%s",
43 types = { "ipt_packets" },