7f54c109146e3c8e80d07865021fd40292d0354a
[project/luci.git] / applications / luci-statistics / luasrc / statistics / rrdtool / definitions / tcpconns / tcp_connections.lua
1 module("luci.statistics.rrdtool.definitions.tcpconns.tcp_connections", package.seeall)
2
3 function rrdargs( graph, plugin, plugin_instance, dtype )
4
5         return {
6                 data = {
7                         instances = {
8                                 tcp_connections = {
9                                         "SYN_SENT", "SYN_RECV", "LISTEN", "ESTABLISHED",
10                                         "LAST_ACK", "TIME_WAIT", "CLOSING", "CLOSE_WAIT",
11                                         "CLOSED", "FIN_WAIT1", "FIN_WAIT2"
12                                 }
13                         }
14                 }
15         }
16 end