From d753370f63627fef2b6af4d8685ef3a46d57c311 Mon Sep 17 00:00:00 2001 From: JamesonHuang <462430725@qq.com> Date: Thu, 14 May 2015 10:17:14 +0800 Subject: [PATCH] update wifi updown --- Me_Lua/R10-WIFI.lua | 73 + Me_Lua/h10/meizu/nwfs.lua | 131 + Me_Lua/h13/luci/controller/api/index.lua | 9 +- Me_Lua/h13/meizu/nwfs.lua | 132 +- Me_Lua/h13/tags | 1 + Mi_Lua/tags | 1972 +++++++++++++ tags | 3397 ++++++++++++++++++++++ 7 files changed, 5705 insertions(+), 10 deletions(-) create mode 100644 Me_Lua/R10-WIFI.lua create mode 100644 Mi_Lua/tags create mode 100644 tags diff --git a/Me_Lua/R10-WIFI.lua b/Me_Lua/R10-WIFI.lua new file mode 100644 index 0000000..50c1d01 --- /dev/null +++ b/Me_Lua/R10-WIFI.lua @@ -0,0 +1,73 @@ + +function wifi_reconnect_shutdown(shutdown, wnet) + local netmd = require "luci.model.network".init() + local net = netmd:get_wifinet(wnet) + local dev = net:get_device() + if dev and net then + dev:set("disabled", nil) + net:set("disabled", shutdown and 1 or nil) + netmd:commit("wireless") + + luci.sys.call("env -i /bin/ubus call network reload >/dev/null 2>/dev/null") + + luci.sys.call("env -i /sbin/wifi reload >/dev/null 2>/dev/null") + + --luci.http.status(200, shutdown and "Shutdown" or "Reconnected") + + return + end + + --luci.http.status(404, "No such radio") +end + +function wifi_reconnect(wnet) + wifi_reconnect_shutdown(false, wnet) +end + +function wifi_shutdown(wnet) + wifi_reconnect_shutdown(true, wnet) +end + + + +function fork_smart_wifi_shutdown(switch, wnet, close_time, open_time) + local close_interval = close_time - os.time() + local open_interval = open_time - os.time() + + + local cmd = string.format("/sbin/wifi down "..wnet.."; sleep 15; /sbin/wifi up "..wnet) + require "MZLog".log(3, cmd) + --local cmd = string.format("sleep %s; /sbin/wifi down; sleep %s; /sbin/wifi up;", tostring(close_interval), tostring(open_interval)) + --local cmd = "/sbin/wifi "..switch.." "..wnet + + exec_cmd_in_sh(cmd) +end + + + +function smart_wifi_shutdown() + local wnet = "wl1" + local info = {} + local switch = luci.http.formvalue("switch") + --get para + --close_time = luci.http.formvalue("close_time") + --open_time = luci.http.formvalue("open_time") + + --test normal + close_time = os.time() + 2 + restart_time = os.time() + 4 + + --test exception + --close_time = os.time() - 5 + --restart_time = os.time() - 10 + + --para err manage + if close_time < os.time() or restart_time < close_time then + info["SUCCESS"] = false + else + info["SUCCESS"] = true + end + fork_smart_wifi_shutdown(switch, wnet, close_time, restart_time) + luci.http.write_json(info) + +end diff --git a/Me_Lua/h10/meizu/nwfs.lua b/Me_Lua/h10/meizu/nwfs.lua index 417c120..104e1ac 100644 --- a/Me_Lua/h10/meizu/nwfs.lua +++ b/Me_Lua/h10/meizu/nwfs.lua @@ -438,6 +438,137 @@ function fork_restart_network() exec_cmd_in_sh(FORK_RESTART_WORK) end +function fork_smart_wifi_shutdown(wnet, close_time, open_time) + local close_interval = close_time - os.time() + local open_interval = open_time - os.time() + local cmd = string.format("sleep 15; /sbin/wifi down "..wnet.."; sleep 15; /sbin/wifi up "..wnet) + + --local cmd = string.format("sleep %s; /sbin/wifi down; sleep %s; /sbin/wifi up;", tostring(close_interval), tostring(open_interval)) + --local cmd = "/sbin/wifi "..switch.." "..wnet + --local cmd = string.format("sleep %s; /sbin/wifi down; sleep %s; /sbin/wifi up;", tostring(close_interval), tostring(open_interval)) + local cmd = string.format("/sbin/wifi down") + luci.http.status(200, shutdown and "Shutdown" or "Reconnected") + exec_cmd_in_sh(cmd) +end + + +--[[ +--function: 定时wifi开关 +--author: rh_Jameson +--]]-- +--wifi重连 &开关基础函数 +local function wifi_reconnect_shutdown(shutdown, wnet) + local netmd = require "luci.model.network".init() + local net = netmd:get_wifinet(wnet) + local dev = net:get_device() + if dev and net then + dev:set("disabled", nil) + net:set("disabled", shutdown and 1 or nil) + netmd:commit("wireless") + + luci.sys.call("env -i /bin/ubus call network reload >/dev/null 2>/dev/null") + + luci.sys.call("env -i /sbin/wifi reload >/dev/null 2>/dev/null") + + --luci.http.status(200, shutdown and "Shutdown" or "Reconnected") + + return + end + + --luci.http.status(404, "No such radio") +end +--wifi重连 +function wifi_reconnect(wnet) + wifi_reconnect_shutdown(false, wnet) +end +--wifi关闭 +function wifi_shutdown(wnet) + wifi_reconnect_shutdown(true, wnet) +end + + +--function: 定时wifi开关shell形式 +--author: rh_Jameson +function smart_wifi_shutdown() + local wnet = 'WL1' + local info = {} + local switch = luci.http.formvalue("switch") + + --get para + --close_time = luci.http.formvalue("close_time") + --open_time = luci.http.formvalue("open_time") + + --test normal + close_time = os.time() + 5 + restart_time = os.time() + 10 + + --test exception + --close_time = os.time() - 5 + --restart_time = os.time() - 10 + + --para err manage + if close_time < os.time() or restart_time < close_time then + info["SUCCESS"] = false + else + info["SUCCESS"] = true + end + fork_smart_wifi_shutdown(switch, wnet, close_time, restart_time) + luci.http.write_json(info) +end + + +--[[ +--function: 定时wifi开关 +--author: rh_Jameson +function smart_wifi_shutdown() + local wnet = 'mt7628.network1' + local table = {} + + --get para + --local close_time = luci.http.formvalue("close_time") + --local open_time = luci.http.formvalue("open_time") + + --test normal + --local close_time = os.time() + 5 + --local restart_time = os.time() + 10 + + --test exception + local close_time = os.time() - 5 + local restart_time = os.time() - 10 + + --para err manage + if close_time < os.time() or restart_time < close_time then + table["err"] = true + luci.http.write_json(table) + return + end + --do close + while true do + if os.time() ~= close_time then + posix.sleep(1) + else + wifi_shutdown(wnet) + table["close"] = true + luci.http.write_json(table) + break + end + end + + --do restart + while true do + if os.time() ~= restart_time then + posix.sleep(1) + else + wifi_reconnect(wnet) + table["restart"] = true + luci.http.write_json(table) + break + end + end +end + +--]]-- + function check_guest_wifi() local uci = require("luci.model.uci").cursor() local guest = uci:get_all("network", "eth0_3") diff --git a/Me_Lua/h13/luci/controller/api/index.lua b/Me_Lua/h13/luci/controller/api/index.lua index 138d23b..f1f4d96 100644 --- a/Me_Lua/h13/luci/controller/api/index.lua +++ b/Me_Lua/h13/luci/controller/api/index.lua @@ -34,6 +34,8 @@ nw_set_wan_type = nwfs.nw_set_wan_type nw_wifi_settings = nwfs.nw_wifi_settings nw_get_wireless_channel = nwfs.nw_get_wireless_channel nw_set_wireless_channel = nwfs.nw_set_wireless_channel +--rh_Jameson +smart_wifi_shutdown = nwfs.smart_wifi_shutdown nw_scan_ble_switch = nwfs.nw_scan_ble_switch nw_get_ble_device_list = nwfs.nw_get_ble_device_list @@ -86,8 +88,11 @@ function index() page.leaf = true page = entry({"api", "pysip"}, call("pysip"), nil, nil) page.leaf = true - - page = entry({"api", "getWifiSettings"}, call("nw_get_wifi_settings"), nil) + --rh_Jameson + page = entry({"api", "smart_wifi_shutdown"}, call("smart_wifi_shutdown"), nil) + page.leaf = true + + page = entry({"api", "getWifiSettings"}, call("nw_get_wifi_settings"), nil) page.leaf = true page = entry({"api", "getConnectDeviceList"}, call("nw_get_connect_device_list"), nil) page.leaf = true diff --git a/Me_Lua/h13/meizu/nwfs.lua b/Me_Lua/h13/meizu/nwfs.lua index d8e4ba7..238cccf 100644 --- a/Me_Lua/h13/meizu/nwfs.lua +++ b/Me_Lua/h13/meizu/nwfs.lua @@ -6,6 +6,7 @@ local lfs = require "lfs" local bfs = require "meizu.bfs" local RC = require "meizu.r10config" local dbfs = require "meizu.dbfs" +local posix = require "posix" local bind_router = bfs.bind_router local data_to_json = bfs.data_to_json @@ -365,15 +366,52 @@ function check_wifi_passwd(passwd,encryption) end return 0 end +function fork_smart_wifi_shutdown(wnet, close_time, open_time) + local close_interval = close_time - os.time() + local open_interval = open_time - os.time() + + local cmd = string.format("/sbin/wifi down "..wnet.."; sleep 15; /sbin/wifi up "..wnet) + --local cmd = string.format("sleep %s; /sbin/wifi down; sleep %s; /sbin/wifi up;", tostring(close_interval), tostring(open_interval)) + --local cmd = "/sbin/wifi "..switch.." "..wnet + exec_cmd_in_sh(cmd) +end + --[[ + return coroutine.create(function() + --do close + while true do + if os.time() ~= close_time then + posix.sleep(1) + else + wifi_shutdown(wnet) + table["close"] = true + luci.http.write_json(table) + break + end + end + --do restart + while true do + if os.time() ~= restart_time then + posix.sleep(1) + else + wifi_reconnect(wnet) + table["restart"] = true + luci.http.write_json(table) + break + end + end + ) + --require "MZLog".log(3, debug.getinfo(1).currentline) + ]]-- + function fork_restart_wifi() - local FORK_RESTART_WIFI = "sleep 1; /sbin/wifi >/dev/null 2>/dev/null; /etc/init.d/minidlna restart; /etc/init.d/samba restart; /usr/bin/gettraffic flush_wl_dev >/dev/null 2>/dev/null" - exec_cmd_in_sh(FORK_RESTART_WIFI) + local cmd = "sleep 1; /sbin/wifi >/dev/null 2>/dev/null;" + exec_cmd_in_sh(cmd) end function fork_restart_network() - local FORK_RESTART_WORK= "/etc/init.d/network restart" - exec_cmd_in_sh(FORK_RESTART_WORK) + local cmd = "/etc/init.d/network restart" + exec_cmd_in_sh(cmd) end function get_lan_ip() @@ -400,25 +438,103 @@ local function wifi_reconnect_shutdown(shutdown, wnet) luci.sys.call("env -i /sbin/wifi reload >/dev/null 2>/dev/null") - luci.http.status(200, shutdown and "Shutdown" or "Reconnected") + --luci.http.status(200, shutdown and "Shutdown" or "Reconnected") return end - luci.http.status(404, "No such radio") + --luci.http.status(404, "No such radio") end --wifi重连 function wifi_reconnect(wnet) - if(getstate) wifi_reconnect_shutdown(false, wnet) end ---wifi开关 +--wifi关闭 function wifi_shutdown(wnet) wifi_reconnect_shutdown(true, wnet) end +--function: 定时wifi开关shell形式 +--author: rh_Jameson +function smart_wifi_shutdown() + local wnet = 'mt7628.network1' + local info = {} + --get para + --close_time = luci.http.formvalue("close_time") + --open_time = luci.http.formvalue("open_time") + + --test normal + close_time = os.time() + 5 + restart_time = os.time() + 10 + + --test exception + --close_time = os.time() - 5 + --restart_time = os.time() - 10 + + --para err manage + if close_time < os.time() or restart_time < close_time then + info["SUCCESS"] = false + else + info["SUCCESS"] = true + end + fork_smart_wifi_shutdown(wnet, close_time, restart_time) + luci.http.write_json(info) +end + + +--[[ +--function: 定时wifi开关 +--author: rh_Jameson +function smart_wifi_shutdown() + local wnet = 'mt7628.network1' + local table = {} + + --get para + --local close_time = luci.http.formvalue("close_time") + --local open_time = luci.http.formvalue("open_time") + + --test normal + --local close_time = os.time() + 5 + --local restart_time = os.time() + 10 + + --test exception + local close_time = os.time() - 5 + local restart_time = os.time() - 10 + + --para err manage + if close_time < os.time() or restart_time < close_time then + table["err"] = true + luci.http.write_json(table) + return + end + --do close + while true do + if os.time() ~= close_time then + posix.sleep(1) + else + wifi_shutdown(wnet) + table["close"] = true + luci.http.write_json(table) + break + end + end + + --do restart + while true do + if os.time() ~= restart_time then + posix.sleep(1) + else + wifi_reconnect(wnet) + table["restart"] = true + luci.http.write_json(table) + break + end + end +end + +--]]-- diff --git a/Me_Lua/h13/tags b/Me_Lua/h13/tags index 3fa4cff..35278dc 100644 --- a/Me_Lua/h13/tags +++ b/Me_Lua/h13/tags @@ -535,6 +535,7 @@ sinkt["keep-open"] ./socket.lua /^sinkt["keep-open"] = function(sock)$/;" f sip ./meizu/sipfs.lua /^function sip()$/;" f sip_get_parameters ./meizu/sipfs.lua /^function sip_get_parameters(commandId)$/;" f sip_response_uploader ./meizu/sipfs.lua /^function sip_response_uploader(cmd, commandId, data, finishstatus)$/;" f +smart_wifi_shutdown ./meizu/nwfs.lua /^function smart_wifi_shutdown()$/;" f socket.sinkt["http-chunked"] ./socket/http.lua /^socket.sinkt["http-chunked"] = function(sock)$/;" f socket.sourcet["http-chunked"] ./socket/http.lua /^socket.sourcet["http-chunked"] = function(sock, headers)$/;" f source.cat ./ltn12.lua /^function source.cat(...)$/;" f diff --git a/Mi_Lua/tags b/Mi_Lua/tags new file mode 100644 index 0000000..a2afc27 --- /dev/null +++ b/Mi_Lua/tags @@ -0,0 +1,1972 @@ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ +!_TAG_PROGRAM_NAME Exuberant Ctags // +!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ +!_TAG_PROGRAM_VERSION 5.9~svn20110310 // +"Failed to execute " .. (type(c.target) ./luci/dispatcher.lua /^ "Failed to execute " .. (type(c.target) == "function" and "function" or c.target.type or "unknown") ..$/;" f +ADD ./sha1.lua /^local function ADD(first, ...)$/;" f +AND ./sha1.lua /^local function AND(a, b)$/;" f +AbstractSection.__init__ ./luci/cbi.lua /^function AbstractSection.__init__(self, map, sectiontype, ...)$/;" f +AbstractSection.add_dynamic ./luci/cbi.lua /^function AbstractSection.add_dynamic(self, field, optional)$/;" f +AbstractSection.cfgvalue ./luci/cbi.lua /^function AbstractSection.cfgvalue(self, section)$/;" f +AbstractSection.create ./luci/cbi.lua /^function AbstractSection.create(self, section)$/;" f +AbstractSection.has_tabs ./luci/cbi.lua /^function AbstractSection.has_tabs(self)$/;" f +AbstractSection.option ./luci/cbi.lua /^function AbstractSection.option(self, class, option, ...)$/;" f +AbstractSection.parse_dynamic ./luci/cbi.lua /^function AbstractSection.parse_dynamic(self, section)$/;" f +AbstractSection.parse_optionals ./luci/cbi.lua /^function AbstractSection.parse_optionals(self, section)$/;" f +AbstractSection.push_events ./luci/cbi.lua /^function AbstractSection.push_events(self)$/;" f +AbstractSection.remove ./luci/cbi.lua /^function AbstractSection.remove(self, section)$/;" f +AbstractSection.render_tab ./luci/cbi.lua /^function AbstractSection.render_tab(self, tab, ...)$/;" f +AbstractSection.tab ./luci/cbi.lua /^function AbstractSection.tab(self, tab, title, desc)$/;" f +AbstractSection.taboption ./luci/cbi.lua /^function AbstractSection.taboption(self, tab, ...)$/;" f +AbstractValue.__init__ ./luci/cbi.lua /^function AbstractValue.__init__(self, map, section, option, ...)$/;" f +AbstractValue.add_error ./luci/cbi.lua /^function AbstractValue.add_error(self, section, type, msg)$/;" f +AbstractValue.additional ./luci/cbi.lua /^function AbstractValue.additional(self, value)$/;" f +AbstractValue.cbid ./luci/cbi.lua /^function AbstractValue.cbid(self, section)$/;" f +AbstractValue.cfgvalue ./luci/cbi.lua /^function AbstractValue.cfgvalue(self, section)$/;" f +AbstractValue.depends ./luci/cbi.lua /^function AbstractValue.depends(self, field, value)$/;" f +AbstractValue.formcreated ./luci/cbi.lua /^function AbstractValue.formcreated(self, section)$/;" f +AbstractValue.formvalue ./luci/cbi.lua /^function AbstractValue.formvalue(self, section)$/;" f +AbstractValue.mandatory ./luci/cbi.lua /^function AbstractValue.mandatory(self, value)$/;" f +AbstractValue.parse ./luci/cbi.lua /^function AbstractValue.parse(self, section, novld)$/;" f +AbstractValue.prepare ./luci/cbi.lua /^function AbstractValue.prepare(self)$/;" f +AbstractValue.remove ./luci/cbi.lua /^function AbstractValue.remove(self, section)$/;" f +AbstractValue.render ./luci/cbi.lua /^function AbstractValue.render(self, s, scope)$/;" f +AbstractValue.validate ./luci/cbi.lua /^function AbstractValue.validate(self, value)$/;" f +AbstractValue.write ./luci/cbi.lua /^function AbstractValue.write(self, section, value)$/;" f +ActiveDecoder.__init__ ./luci/json.lua /^function ActiveDecoder.__init__(self, source, customnull)$/;" f +ActiveDecoder.fetch ./luci/json.lua /^function ActiveDecoder.fetch(self)$/;" f +ActiveDecoder.get ./luci/json.lua /^function ActiveDecoder.get(self)$/;" f +Button.__init__ ./luci/cbi.lua /^function Button.__init__(self, ...)$/;" f +COPY ./sha1.lua /^local function COPY(old)$/;" f +Compound.__init__ ./luci/cbi.lua /^function Compound.__init__(self, ...)$/;" f +Compound.parse ./luci/cbi.lua /^function Compound.parse(self, ...)$/;" f +Compound.populate_delegator ./luci/cbi.lua /^function Compound.populate_delegator(self, delegator)$/;" f +Cursor._affected ./luci/model/uci.lua /^function Cursor._affected(self, configlist)$/;" f +Cursor.apply ./luci/model/uci.lua /^function Cursor.apply(self, configlist, command)$/;" f +Cursor.delete_all ./luci/model/uci.lua /^function Cursor.delete_all(self, config, stype, comparator)$/;" f +Cursor.get_bool ./luci/model/uci.lua /^function Cursor.get_bool(self, ...)$/;" f +Cursor.get_first ./luci/model/uci.lua /^function Cursor.get_first(self, conf, stype, opt, def)$/;" f +Cursor.get_list ./luci/model/uci.lua /^function Cursor.get_list(self, config, section, option)$/;" f +Cursor.load ./luci/model/uci.lua /^function Cursor.load(self, ...)$/;" f +Cursor.section ./luci/model/uci.lua /^function Cursor.section(self, config, type, name, values)$/;" f +Cursor.set_list ./luci/model/uci.lua /^function Cursor.set_list(self, config, section, option, value)$/;" f +Cursor.substate ./luci/model/uci.lua /^function Cursor.substate(self)$/;" f +Cursor.tset ./luci/model/uci.lua /^function Cursor.tset(self, config, section, values)$/;" f +Cursor.unload ./luci/model/uci.lua /^function Cursor.unload(self, ...)$/;" f +Decoder.__init__ ./luci/json.lua /^function Decoder.__init__(self, customnull)$/;" f +Decoder.dispatch ./luci/json.lua /^function Decoder.dispatch(self, chunk, src_err, strict)$/;" f +Decoder.fetch ./luci/json.lua /^function Decoder.fetch(self)$/;" f +Decoder.fetch_atleast ./luci/json.lua /^function Decoder.fetch_atleast(self, chunk, bytes)$/;" f +Decoder.fetch_until ./luci/json.lua /^function Decoder.fetch_until(self, chunk, pattern)$/;" f +Decoder.get ./luci/json.lua /^function Decoder.get(self)$/;" f +Decoder.parse_array ./luci/json.lua /^function Decoder.parse_array(self, chunk)$/;" f +Decoder.parse_delimiter ./luci/json.lua /^function Decoder.parse_delimiter(self, chunk, delimiter)$/;" f +Decoder.parse_escape ./luci/json.lua /^function Decoder.parse_escape(self, chunk)$/;" f +Decoder.parse_false ./luci/json.lua /^function Decoder.parse_false(self, chunk)$/;" f +Decoder.parse_literal ./luci/json.lua /^function Decoder.parse_literal(self, chunk, literal, value)$/;" f +Decoder.parse_null ./luci/json.lua /^function Decoder.parse_null(self, chunk)$/;" f +Decoder.parse_number ./luci/json.lua /^function Decoder.parse_number(self, chunk)$/;" f +Decoder.parse_object ./luci/json.lua /^function Decoder.parse_object(self, chunk)$/;" f +Decoder.parse_space ./luci/json.lua /^function Decoder.parse_space(self, chunk)$/;" f +Decoder.parse_string ./luci/json.lua /^function Decoder.parse_string(self, chunk)$/;" f +Decoder.parse_true ./luci/json.lua /^function Decoder.parse_true(self, chunk)$/;" f +Decoder.sink ./luci/json.lua /^function Decoder.sink(self)$/;" f +Delegator.__init__ ./luci/cbi.lua /^function Delegator.__init__(self, ...)$/;" f +Delegator.add ./luci/cbi.lua /^function Delegator.add(self, name, node)$/;" f +Delegator.get ./luci/cbi.lua /^function Delegator.get(self, name)$/;" f +Delegator.get_active ./luci/cbi.lua /^function Delegator.get_active(self)$/;" f +Delegator.get_chain ./luci/cbi.lua /^function Delegator.get_chain(self)$/;" f +Delegator.get_next ./luci/cbi.lua /^function Delegator.get_next(self, state)$/;" f +Delegator.get_prev ./luci/cbi.lua /^function Delegator.get_prev(self, state)$/;" f +Delegator.insert_after ./luci/cbi.lua /^function Delegator.insert_after(self, name, after)$/;" f +Delegator.parse ./luci/cbi.lua /^function Delegator.parse(self, ...)$/;" f +Delegator.set ./luci/cbi.lua /^function Delegator.set(self, name, node)$/;" f +Delegator.set_route ./luci/cbi.lua /^function Delegator.set_route(self, ...)$/;" f +DoExec ./xiaoqiang/util/XQMitvUtil.lua /^function DoExec(cmd)$/;" f +DummyValue.__init__ ./luci/cbi.lua /^function DummyValue.__init__(self, ...)$/;" f +DummyValue.cfgvalue ./luci/cbi.lua /^function DummyValue.cfgvalue(self, section)$/;" f +DummyValue.parse ./luci/cbi.lua /^function DummyValue.parse(self)$/;" f +DynamicList.__init__ ./luci/cbi.lua /^function DynamicList.__init__(self, ...)$/;" f +DynamicList.cfgvalue ./luci/cbi.lua /^function DynamicList.cfgvalue(self, section)$/;" f +DynamicList.formvalue ./luci/cbi.lua /^function DynamicList.formvalue(self, section)$/;" f +DynamicList.reset_values ./luci/cbi.lua /^function DynamicList.reset_values(self)$/;" f +DynamicList.value ./luci/cbi.lua /^function DynamicList.value(self, key, val)$/;" f +DynamicList.write ./luci/cbi.lua /^function DynamicList.write(self, section, value)$/;" f +Encoder.__init__ ./luci/json.lua /^function Encoder.__init__(self, data, buffersize, fastescape)$/;" f +Encoder.dispatch ./luci/json.lua /^function Encoder.dispatch(self, data, start)$/;" f +Encoder.parse_bool ./luci/json.lua /^function Encoder.parse_bool(self, obj)$/;" f +Encoder.parse_iter ./luci/json.lua /^function Encoder.parse_iter(self, obj)$/;" f +Encoder.parse_nil ./luci/json.lua /^function Encoder.parse_nil(self)$/;" f +Encoder.parse_number ./luci/json.lua /^function Encoder.parse_number(self, obj)$/;" f +Encoder.parse_string ./luci/json.lua /^function Encoder.parse_string(self, obj)$/;" f +Encoder.put ./luci/json.lua /^function Encoder.put(self, chunk)$/;" f +Encoder.source ./luci/json.lua /^function Encoder.source(self)$/;" f +FileBrowser.__init__ ./luci/cbi.lua /^function FileBrowser.__init__(self, ...)$/;" f +FileUpload.__init__ ./luci/cbi.lua /^function FileUpload.__init__(self, ...)$/;" f +FileUpload.cfgvalue ./luci/cbi.lua /^function FileUpload.cfgvalue(self, section)$/;" f +FileUpload.formcreated ./luci/cbi.lua /^function FileUpload.formcreated(self, section)$/;" f +FileUpload.formvalue ./luci/cbi.lua /^function FileUpload.formvalue(self, section)$/;" f +FileUpload.remove ./luci/cbi.lua /^function FileUpload.remove(self, section)$/;" f +Flag.__init__ ./luci/cbi.lua /^function Flag.__init__(self, ...)$/;" f +Flag.cfgvalue ./luci/cbi.lua /^function Flag.cfgvalue(self, section)$/;" f +Flag.parse ./luci/cbi.lua /^function Flag.parse(self, section)$/;" f +Form.__init__ ./luci/cbi.lua /^function Form.__init__(self, ...)$/;" f +Hex ./luci/ip.lua /^function Hex( hex, prefix, family, swap )$/;" f +IPv4 ./luci/ip.lua /^function IPv4(address, netmask)$/;" f +IPv6 ./luci/ip.lua /^function IPv6(address, netmask)$/;" f +IptParser.__init__ ./luci/sys/iptparser.lua /^function IptParser.__init__( self, family )$/;" f +IptParser._match_options ./luci/sys/iptparser.lua /^function IptParser._match_options( self, o1, o2 )$/;" f +IptParser._parse_addr ./luci/sys/iptparser.lua /^function IptParser._parse_addr( self, addr )$/;" f +IptParser._parse_rules ./luci/sys/iptparser.lua /^function IptParser._parse_rules( self )$/;" f +IptParser.chain ./luci/sys/iptparser.lua /^function IptParser.chain( self, table, chain )$/;" f +IptParser.chains ./luci/sys/iptparser.lua /^function IptParser.chains( self, table )$/;" f +IptParser.find ./luci/sys/iptparser.lua /^function IptParser.find( self, args )$/;" f +IptParser.is_custom_target ./luci/sys/iptparser.lua /^function IptParser.is_custom_target( self, target )$/;" f +IptParser.resync ./luci/sys/iptparser.lua /^function IptParser.resync( self )$/;" f +IptParser.tables ./luci/sys/iptparser.lua /^function IptParser.tables( self )$/;" f +KEY_FUNC_2G_CHANNEL ./xiaoqiang/XQLog.lua /^KEY_FUNC_2G_CHANNEL = "function_channel_2g"$/;" f +KEY_FUNC_2G_SIGNAL ./xiaoqiang/XQLog.lua /^KEY_FUNC_2G_SIGNAL = "function_channel_2g_signal"$/;" f +KEY_FUNC_5G_CHANNEL ./xiaoqiang/XQLog.lua /^KEY_FUNC_5G_CHANNEL = "function_channel_5g"$/;" f +KEY_FUNC_5G_SIGNAL ./xiaoqiang/XQLog.lua /^KEY_FUNC_5G_SIGNAL = "function_channel_5g_signal"$/;" f +KEY_FUNC_APPQOS ./xiaoqiang/XQLog.lua /^KEY_FUNC_APPQOS = "function_appqos"$/;" f +KEY_FUNC_DMZ ./xiaoqiang/XQLog.lua /^KEY_FUNC_DMZ = "function_dmz"$/;" f +KEY_FUNC_L2TP ./xiaoqiang/XQLog.lua /^KEY_FUNC_L2TP = "function_l2tp_web"$/;" f +KEY_FUNC_MACCLONE ./xiaoqiang/XQLog.lua /^KEY_FUNC_MACCLONE = "function_clone"$/;" f +KEY_FUNC_NOFLUSHED ./xiaoqiang/XQLog.lua /^KEY_FUNC_NOFLUSHED = "function_hdd_hibernation"$/;" f +KEY_FUNC_PLUGIN ./xiaoqiang/XQLog.lua /^KEY_FUNC_PLUGIN = "function_plugin"$/;" f +KEY_FUNC_PORTENABLE ./xiaoqiang/XQLog.lua /^KEY_FUNC_PORTENABLE = "function_port_forwarding_active"$/;" f +KEY_FUNC_PORTFADD ./xiaoqiang/XQLog.lua /^KEY_FUNC_PORTFADD = "function_port_forwarding_add"$/;" f +KEY_FUNC_PPTP ./xiaoqiang/XQLog.lua /^KEY_FUNC_PPTP = "function_pptp_web"$/;" f +KEY_FUNC_QOS ./xiaoqiang/XQLog.lua /^KEY_FUNC_QOS = "function_qos"$/;" f +KEY_FUNC_RANGEFADD ./xiaoqiang/XQLog.lua /^KEY_FUNC_RANGEFADD = "function_range_forwarding_add"$/;" f +KEY_FUNC_UPNP ./xiaoqiang/XQLog.lua /^KEY_FUNC_UPNP = "function_upnp"$/;" f +KEY_FUNC_WIRELESS_ACCESS ./xiaoqiang/XQLog.lua /^KEY_FUNC_WIRELESS_ACCESS = "function_wireless_access"$/;" f +KEY_FUNC_WIRELESS_BLACK ./xiaoqiang/XQLog.lua /^KEY_FUNC_WIRELESS_BLACK = "function_wireless_access_blacklist"$/;" f +KEY_FUNC_WIRELESS_WHITE ./xiaoqiang/XQLog.lua /^KEY_FUNC_WIRELESS_WHITE = "function_wireless_access_whitelist"$/;" f +LEVEL_FUNCS[i] ./logging.lua /^ LEVEL_FUNCS[i] = function(self, ...)$/;" f +LOG_MSG ./logging.lua /^local function LOG_MSG(self, level, fmt, ...)$/;" f +ListValue.__init__ ./luci/cbi.lua /^function ListValue.__init__(self, ...)$/;" f +ListValue.reset_values ./luci/cbi.lua /^function ListValue.reset_values(self)$/;" f +ListValue.validate ./luci/cbi.lua /^function ListValue.validate(self, val)$/;" f +ListValue.value ./luci/cbi.lua /^function ListValue.value(self, key, val, ...)$/;" f +M.strsplit ./Posix.lua /^function M.strsplit(str, delim, maxNb)$/;" f +M.timeradd ./Posix.lua /^function M.timeradd (x,y)$/;" f +M.timercmp ./Posix.lua /^function M.timercmp (x, y)$/;" f +M.timersub ./Posix.lua /^function M.timersub (x,y)$/;" f +M.timesleep ./Posix.lua /^function M.timesleep (x)$/;" f +M.var_dump ./Posix.lua /^function M.var_dump(data, max_level, prefix)$/;" f +Map.__init__ ./luci/cbi.lua /^function Map.__init__(self, config, ...)$/;" f +Map.add ./luci/cbi.lua /^function Map.add(self, sectiontype)$/;" f +Map.chain ./luci/cbi.lua /^function Map.chain(self, config)$/;" f +Map.del ./luci/cbi.lua /^function Map.del(self, section, option)$/;" f +Map.formvalue ./luci/cbi.lua /^function Map.formvalue(self, key)$/;" f +Map.formvaluetable ./luci/cbi.lua /^function Map.formvaluetable(self, key)$/;" f +Map.get ./luci/cbi.lua /^function Map.get(self, section, option)$/;" f +Map.get_scheme ./luci/cbi.lua /^function Map.get_scheme(self, sectiontype, option)$/;" f +Map.parse ./luci/cbi.lua /^function Map.parse(self, readinput, ...)$/;" f +Map.render ./luci/cbi.lua /^function Map.render(self, ...)$/;" f +Map.section ./luci/cbi.lua /^function Map.section(self, class, ...)$/;" f +Map.set ./luci/cbi.lua /^function Map.set(self, section, option, value)$/;" f +Map.state_handler ./luci/cbi.lua /^function Map.state_handler(self, state)$/;" f +Map.submitstate ./luci/cbi.lua /^function Map.submitstate(self)$/;" f +MultiValue.__init__ ./luci/cbi.lua /^function MultiValue.__init__(self, ...)$/;" f +MultiValue.render ./luci/cbi.lua /^function MultiValue.render(self, ...)$/;" f +MultiValue.reset_values ./luci/cbi.lua /^function MultiValue.reset_values(self)$/;" f +MultiValue.validate ./luci/cbi.lua /^function MultiValue.validate(self, val)$/;" f +MultiValue.value ./luci/cbi.lua /^function MultiValue.value(self, key, val)$/;" f +MultiValue.valuelist ./luci/cbi.lua /^function MultiValue.valuelist(self, section)$/;" f +NOT ./sha1.lua /^local function NOT(a)$/;" f +NamedSection.__init__ ./luci/cbi.lua /^function NamedSection.__init__(self, map, section, stype, ...)$/;" f +NamedSection.parse ./luci/cbi.lua /^function NamedSection.parse(self, novld)$/;" f +Node.__init__ ./luci/cbi.lua /^function Node.__init__(self, title, description)$/;" f +Node._run_hook ./luci/cbi.lua /^function Node._run_hook(self, hook)$/;" f +Node._run_hooks ./luci/cbi.lua /^function Node._run_hooks(self, ...)$/;" f +Node.append ./luci/cbi.lua /^function Node.append(self, obj)$/;" f +Node.parse ./luci/cbi.lua /^function Node.parse(self, ...)$/;" f +Node.prepare ./luci/cbi.lua /^function Node.prepare(self, ...)$/;" f +Node.render ./luci/cbi.lua /^function Node.render(self, scope)$/;" f +Node.render_children ./luci/cbi.lua /^function Node.render_children(self, ...)$/;" f +OR ./sha1.lua /^local function OR(a, b)$/;" f +OR3 ./sha1.lua /^local function OR3(a, b, c)$/;" f +Page.parse ./luci/cbi.lua /^Page.parse = function() end$/;" f +Pluginpanel ./luci/view/web/plugin.htm /^ function Pluginpanel(option){$/;" f +REMOVE_TAGS ./xssFilter.lua /^REMOVE_TAGS = function(self, tag, message, text)$/;" f +REPLACE_TAGS ./xssFilter.lua /^REPLACE_TAGS = function(self, tag, message, text)$/;" f +ROTATE ./sha1.lua /^local function ROTATE(bits, a)$/;" f +Request.__init__ ./luci/http.lua /^function Request.__init__(self, env, sourcein, sinkerr)$/;" f +Request._parse_input ./luci/http.lua /^function Request._parse_input(self)$/;" f +Request.content ./luci/http.lua /^function Request.content(self)$/;" f +Request.formvalue ./luci/http.lua /^function Request.formvalue(self, name, noparse)$/;" f +Request.formvaluetable ./luci/http.lua /^function Request.formvaluetable(self, prefix)$/;" f +Request.getcookie ./luci/http.lua /^function Request.getcookie(self, name)$/;" f +Request.getenv ./luci/http.lua /^function Request.getenv(self, name)$/;" f +Request.setfilehandler ./luci/http.lua /^function Request.setfilehandler(self, callback)$/;" f +SLAXML:dom ./slaxdom.lua /^function SLAXML:dom(xml,opts)$/;" f +SLAXML:parse ./slaxml.lua /^function SLAXML:parse(xml,options)$/;" f +SLAXML:parser ./slaxml.lua /^function SLAXML:parser(callbacks)$/;" f +ShowPanel ./luci/view/web/plugins/kuaipan.htm /^ function ShowPanel(panelId) {\/\/控制面板$/;" f +SimpleForm.__init__ ./luci/cbi.lua /^function SimpleForm.__init__(self, config, title, description, data)$/;" f +SimpleForm.del ./luci/cbi.lua /^function SimpleForm.del(self, section, option)$/;" f +SimpleForm.field ./luci/cbi.lua /^function SimpleForm.field(self, class, ...)$/;" f +SimpleForm.get ./luci/cbi.lua /^function SimpleForm.get(self, section, option)$/;" f +SimpleForm.get_scheme ./luci/cbi.lua /^function SimpleForm.get_scheme()$/;" f +SimpleForm.parse ./luci/cbi.lua /^function SimpleForm.parse(self, readinput, ...)$/;" f +SimpleForm.render ./luci/cbi.lua /^function SimpleForm.render(self, ...)$/;" f +SimpleForm.section ./luci/cbi.lua /^function SimpleForm.section(self, class, ...)$/;" f +SimpleForm.set ./luci/cbi.lua /^function SimpleForm.set(self, section, option, value)$/;" f +SimpleForm.submitstate ./luci/cbi.lua /^function SimpleForm.submitstate(self)$/;" f +SimpleSection.__init__ ./luci/cbi.lua /^function SimpleSection.__init__(self, form, ...)$/;" f +StaticList.__init__ ./luci/cbi.lua /^function StaticList.__init__(self, ...)$/;" f +StaticList.validate ./luci/cbi.lua /^function StaticList.validate(self, value)$/;" f +Table.__init__ ./luci/cbi.lua /^function Table.__init__(self, form, data, ...)$/;" f +Table.cfgsections ./luci/cbi.lua /^function Table.cfgsections(self)$/;" f +Table.parse ./luci/cbi.lua /^function Table.parse(self, readinput)$/;" f +Table.update ./luci/cbi.lua /^function Table.update(self, data)$/;" f +Template.__init__ ./luci/cbi.lua /^function Template.__init__(self, template)$/;" f +Template.__init__ ./luci/template.lua /^function Template.__init__(self, name) $/;" f +Template.parse ./luci/cbi.lua /^function Template.parse(self, readinput)$/;" f +Template.render ./luci/cbi.lua /^function Template.render(self)$/;" f +Template.render ./luci/template.lua /^function Template.render(self, scope)$/;" f +TextValue.__init__ ./luci/cbi.lua /^function TextValue.__init__(self, ...)$/;" f +TypedSection.__init__ ./luci/cbi.lua /^function TypedSection.__init__(self, map, type, ...)$/;" f +TypedSection.cfgsections ./luci/cbi.lua /^function TypedSection.cfgsections(self)$/;" f +TypedSection.checkscope ./luci/cbi.lua /^function TypedSection.checkscope(self, section)$/;" f +TypedSection.depends ./luci/cbi.lua /^function TypedSection.depends(self, option, value)$/;" f +TypedSection.parse ./luci/cbi.lua /^function TypedSection.parse(self, novld)$/;" f +TypedSection.validate ./luci/cbi.lua /^function TypedSection.validate(self, section)$/;" f +Value.__init__ ./luci/cbi.lua /^function Value.__init__(self, ...)$/;" f +Value.reset_values ./luci/cbi.lua /^function Value.reset_values(self)$/;" f +Value.value ./luci/cbi.lua /^function Value.value(self, key, val)$/;" f +XOR ./sha1.lua /^local function XOR(first, ...)$/;" f +XSSFilter:call_tags_handler ./xssFilter.lua /^function XSSFilter:call_tags_handler(tag, message, text)$/;" f +XSSFilter:filter ./xssFilter.lua /^function XSSFilter:filter(html)$/;" f +XSSFilter:init ./xssFilter.lua /^function XSSFilter:init(allowed_tags, generic_attrs)$/;" f +ZERO ./sha1.lua /^local function ZERO()$/;" f +['function'] ./luci/json.lua /^ ['function'] = Encoder.parse_iter$/;" f +_ ./luci/dispatcher.lua /^function _(text)$/;" f +_M['and'] ./luci/cbi/datatypes.lua /^_M['and'] = function(v, ...)$/;" f +_M['or'] ./luci/cbi/datatypes.lua /^_M['or'] = function(v, ...)$/;" f +__appendval ./luci/http/protocol.lua /^local function __appendval( tbl, key, chunk )$/;" f +__array16 ./luci/ip.lua /^local function __array16( x, family )$/;" f +__bless ./luci/ip.lua /^local function __bless(x)$/;" f +__call ./socket.lua /^ __call = function()$/;" f +__call ./socket.lua /^ __call = function(self, chunk, err)$/;" f +__call ./socket/http.lua /^ __call = function()$/;" f +__call ./socket/http.lua /^ __call = function(self, chunk, err)$/;" f +__chrdec ./luci/http/protocol.lua /^ local function __chrdec( hex )$/;" f +__chrenc ./luci/http/protocol.lua /^ local function __chrenc( chr )$/;" f +__finishval ./luci/http/protocol.lua /^local function __finishval( tbl, key, handler )$/;" f +__index ./luci/config.lua /^ __index = function(tbl, key)$/;" f +__index ./luci/sys.lua /^ __index = function(t, k)$/;" f +__index ./luci/sys/zoneinfo.lua /^ __index = function(t, k)$/;" f +__index ./luci/util.lua /^ __index = function(self, key)$/;" f +__initval ./luci/http/protocol.lua /^local function __initval( tbl, key )$/;" f +__mask16 ./luci/ip.lua /^local function __mask16(bits)$/;" f +__maxlen ./luci/ip.lua /^local function __maxlen(family)$/;" f +__newindex ./luci/util.lua /^ __newindex = function(self, key, value)$/;" f +__not16 ./luci/ip.lua /^local function __not16(bits)$/;" f +__sublen ./luci/ip.lua /^local function __sublen(family)$/;" f +_action ./luci/model/ipkg.lua /^local function _action(cmd, ...)$/;" f +_add ./luci/sys.lua /^ local function _add(i, ...)$/;" f +_appSpeedlimit ./xiaoqiang/util/XQQoSUtil.lua /^function _appSpeedlimit(app, maxdownload, maxupload)$/;" f +_append ./luci/model/network.lua /^function _append(c, s, o, a)$/;" f +_application ./xiaoqiang/util/XQQoSUtil.lua /^function _application()$/;" f +_apply ./xiaoqiang/util/XQQoSUtil.lua /^function _apply()$/;" f +_arcombine ./luci/dispatcher.lua /^local function _arcombine(self, ...)$/;" f +_bitFormat ./xiaoqiang/util/XQQoSUtil.lua /^function _bitFormat(bits)$/;" f +_bitTotal ./xiaoqiang/util/XQSecureUtil.lua /^function _bitTotal(num)$/;" f +_call ./luci/dispatcher.lua /^local function _call(self, ...)$/;" f +_cancelWgetDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function _cancelWgetDownload(downloadId)$/;" f +_cancelXunleiDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function _cancelXunleiDownload(downloadId)$/;" f +_channelFix ./xiaoqiang/util/XQWifiUtil.lua /^function _channelFix(channel)$/;" f +_charMode ./xiaoqiang/util/XQSecureUtil.lua /^function _charMode(char)$/;" f +_checkConnection ./luci/controller/api/xqsystem.lua /^function _checkConnection(mac, try)$/;" f +_checkGuestWifi ./xiaoqiang/module/XQGuestWifi.lua /^function _checkGuestWifi()$/;" f +_checkIP ./xiaoqiang/util/XQLanWanUtil.lua /^function _checkIP(ip)$/;" f +_checkMac ./xiaoqiang/util/XQLanWanUtil.lua /^function _checkMac(mac)$/;" f +_checkResource ./xiaoqiang/util/XQDownloadUtil.lua /^function _checkResource(downloadUrl)$/;" f +_checkid ./luci/sauth.lua /^local function _checkid(id)$/;" f +_create_node ./luci/dispatcher.lua /^function _create_node(path)$/;" f +_ddnsRestart ./xiaoqiang/module/XQDDNS.lua /^function _ddnsRestart()$/;" f +_ddnsServerSwitch ./xiaoqiang/module/XQDDNS.lua /^function _ddnsServerSwitch(server, enable)$/;" f +_deldhcp ./xiaoqiang/module/XQGuestWifi.lua /^function _deldhcp()$/;" f +_deleteDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function _deleteDownload(ids)$/;" f +_delfirewall ./xiaoqiang/module/XQGuestWifi.lua /^function _delfirewall()$/;" f +_delnetwork ./xiaoqiang/module/XQGuestWifi.lua /^function _delnetwork()$/;" f +_doPush ./xiaoqiang/XQPushHelper.lua /^function _doPush(payload, title, description, ptype)$/;" f +_encode_filename ./luci/ccache.lua /^ local function _encode_filename(name)$/;" f +_filter ./luci/model/network.lua /^function _filter(c, s, o, r)$/;" f +_firstchild ./luci/dispatcher.lua /^function _firstchild()$/;" f +_formatMac ./xiaoqiang/util/XQSDKUtil.lua /^function _formatMac(mac)$/;" f +_formatStr ./xiaoqiang/XQPushHelper.lua /^function _formatStr(str)$/;" f +_get ./luci/model/firewall.lua /^function _get(c, s, o)$/;" f +_get ./luci/model/network.lua /^function _get(c, s, o)$/;" f +_hookADFilterEvent ./xiaoqiang/XQPushHelper.lua /^function _hookADFilterEvent(page, all)$/;" f +_hookAllDownloadFinished ./xiaoqiang/XQPushHelper.lua /^function _hookAllDownloadFinished()$/;" f +_hookCachecenterEvent ./xiaoqiang/XQPushHelper.lua /^function _hookCachecenterEvent(hitcount, timesaver)$/;" f +_hookDefault ./xiaoqiang/XQPushHelper.lua /^function _hookDefault(data)$/;" f +_hookDetectFinished ./xiaoqiang/XQPushHelper.lua /^function _hookDetectFinished(lan, wan)$/;" f +_hookDownloadEvent ./xiaoqiang/XQPushHelper.lua /^function _hookDownloadEvent(count)$/;" f +_hookIntelligentScene ./xiaoqiang/XQPushHelper.lua /^function _hookIntelligentScene(name,actions)$/;" f +_hookNewRomVersionDetected ./xiaoqiang/XQPushHelper.lua /^function _hookNewRomVersionDetected(version)$/;" f +_hookSysUpgraded ./xiaoqiang/XQPushHelper.lua /^function _hookSysUpgraded()$/;" f +_hookUploadEvent ./xiaoqiang/XQPushHelper.lua /^function _hookUploadEvent(count)$/;" f +_hookWifiConnect ./xiaoqiang/XQPushHelper.lua /^function _hookWifiConnect(mac)$/;" f +_hookWifiDisconnect ./xiaoqiang/XQPushHelper.lua /^function _hookWifiDisconnect(mac)$/;" f +_iface_ignore ./luci/model/network.lua /^function _iface_ignore(x)$/;" f +_iface_virtual ./luci/model/network.lua /^function _iface_virtual(x)$/;" f +_ifattr ./luci/dispatcher.lua /^ local function _ifattr(cond, key, val)$/;" f +_instantiate ./luci/util.lua /^local function _instantiate(class, ...)$/;" f +_keyWordsFilter ./xiaoqiang/util/XQSecureUtil.lua /^function _keyWordsFilter(value)$/;" f +_levelHelper ./xiaoqiang/util/XQQoSUtil.lua /^function _levelHelper(weight)$/;" f +_list ./luci/model/ipkg.lua /^function _list(action, pat, cb)$/;" f +_load_sane ./luci/ccache.lua /^ local function _load_sane(file)$/;" f +_lookup ./luci/model/ipkg.lua /^local function _lookup(act, pkg)$/;" f +_nethints ./luci/sys.lua /^local function _nethints(what, callback)$/;" f +_noauthAccessAllowed ./luci/dispatcher.lua /^function _noauthAccessAllowed(flag)$/;" f +_noinitAccessAllowed ./luci/dispatcher.lua /^function _noinitAccessAllowed(flag)$/;" f +_parse ./xiaoqiang/common/XQFunction.lua /^function _parse(hex, pre)$/;" f +_parseDhcpLeases ./xiaoqiang/util/XQLanWanUtil.lua /^function _parseDhcpLeases()$/;" f +_parseEncryption ./xiaoqiang/util/XQWifiUtil.lua /^function _parseEncryption(encryption)$/;" f +_parseMac ./xiaoqiang/util/XQLanWanUtil.lua /^function _parseMac(mac)$/;" f +_parse_mixed_record ./luci/sys.lua /^function _parse_mixed_record(cnt, delimiter)$/;" f +_parselist ./luci/model/ipkg.lua /^local function _parselist(rawdata)$/;" f +_parserFlag ./xiaoqiang/XQPushHelper.lua /^function _parserFlag(flag)$/;" f +_parserPushType ./xiaoqiang/XQPushHelper.lua /^function _parserPushType(ptype)$/;" f +_pauseChannel ./xiaoqiang/util/XQWifiUtil.lua /^function _pauseChannel(channel)$/;" f +_pauseDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function _pauseDownload(ids)$/;" f +_permissionFilter ./xiaoqiang/util/XQSDKUtil.lua /^function _permissionFilter(mac)$/;" f +_portCheck ./xiaoqiang/module/XQPortForward.lua /^function _portCheck(port)$/;" f +_portConflictCheck ./xiaoqiang/module/XQPortForward.lua /^function _portConflictCheck(port)$/;" f +_portRangeOverlap ./xiaoqiang/module/XQPortForward.lua /^function _portRangeOverlap(port1, port2)$/;" f +_pppoeErrorCodeHelper ./xiaoqiang/util/XQLanWanUtil.lua /^function _pppoeErrorCodeHelper(code)$/;" f +_pppoeStatusCheck ./xiaoqiang/util/XQLanWanUtil.lua /^function _pppoeStatusCheck()$/;" f +_prepare ./luci/controller/api/xqsystem.lua /^function _prepare()$/;" f +_protoHelper ./xiaoqiang/module/XQPortForward.lua /^function _protoHelper(proto)$/;" f +_read ./luci/sauth.lua /^local function _read(id)$/;" f +_recurse ./nixio/fs.lua /^local function _recurse(cb, src, dest)$/;" f +_remoteAccessForbidden ./luci/dispatcher.lua /^function _remoteAccessForbidden(flag)$/;" f +_resolve_deps ./luci/model/uci.lua /^ local function _resolve_deps(name)$/;" f +_resumeDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function _resumeDownload(ids)$/;" f +_sane ./luci/controller/api/xqsystem.lua /^function _sane()$/;" f +_saveConfig ./xiaoqiang/module/XQDDNS.lua /^function _saveConfig(server, enable, username, password, checkinterval, forceinterval, domain)$/;" f +_savePassword ./luci/controller/api/xqsystem.lua /^function _savePassword(nonce, oldpwd, newpwd)$/;" f +_sdkFilter ./luci/dispatcher.lua /^function _sdkFilter(flag)$/;" f +_serialize_data ./luci/util.lua /^function _serialize_data(val)$/;" f +_serialize_table ./luci/util.lua /^function _serialize_table(t)$/;" f +_serverId ./xiaoqiang/module/XQDDNS.lua /^function _serverId(server)$/;" f +_set ./luci/model/firewall.lua /^function _set(c, s, o, v)$/;" f +_set ./luci/model/network.lua /^function _set(c, s, o, v)$/;" f +_set ./xiaoqiang/util/XQQoSUtil.lua /^function _set(section, option, value)$/;" f +_setComplexDMZ ./xiaoqiang/module/XQDMZModule.lua /^function _setComplexDMZ(destip, destmac)$/;" f +_setSimpleDMZ ./xiaoqiang/module/XQDMZModule.lua /^function _setSimpleDMZ(destip, destmac)$/;" f +_setdhcp ./xiaoqiang/module/XQGuestWifi.lua /^function _setdhcp()$/;" f +_setfirewall ./xiaoqiang/module/XQGuestWifi.lua /^function _setfirewall()$/;" f +_setnetwork ./xiaoqiang/module/XQGuestWifi.lua /^function _setnetwork()$/;" f +_sortiter ./luci/util.lua /^function _sortiter( t, f )$/;" f +_stror ./luci/model/network.lua /^function _stror(s1, s2)$/;" f +_syslockAccessAllowed ./luci/dispatcher.lua /^function _syslockAccessAllowed(flag)$/;" f +_test ./xssFilter.lua /^ _test = function(tag)$/;" f +_valid_id ./luci/model/firewall.lua /^function _valid_id(x)$/;" f +_vpnErrorCodeHelper ./luci/controller/api/xqsystem.lua /^function _vpnErrorCodeHelper(code)$/;" f +_weightHelper ./xiaoqiang/util/XQQoSUtil.lua /^function _weightHelper(level)$/;" f +_wgetDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function _wgetDownload(downloadUrl)$/;" f +_wgetDownloadPercent ./xiaoqiang/util/XQDownloadUtil.lua /^function _wgetDownloadPercent(downloadId)$/;" f +_wifiNameForIndex ./xiaoqiang/util/XQWifiUtil.lua /^function _wifiNameForIndex(index)$/;" f +_wifi_iface ./luci/model/network.lua /^function _wifi_iface(x)$/;" f +_wifi_lookup ./luci/model/network.lua /^function _wifi_lookup(ifn)$/;" f +_write ./luci/sauth.lua /^local function _write(id, data)$/;" f +_write_sane ./luci/ccache.lua /^ local function _write_sane(file, func)$/;" f +_xunleiDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function _xunleiDownload(downloadUrl, priority)$/;" f +_xunleiDownloadPercent ./xiaoqiang/util/XQDownloadUtil.lua /^function _xunleiDownloadPercent(downloadId)$/;" f +a, b) return tonumber ./luci/controller/api/xqsystem.lua /^ table.sort(statList, function(a, b) return tonumber(a.download) > tonumber(b.download) end)$/;" f +absolute ./socket/url.lua /^function absolute(base_url, relative_url)$/;" f +absolute_path ./socket/url.lua /^local function absolute_path(base_path, relative_path)$/;" f +actionLogin ./luci/controller/api/xqsystem.lua /^function actionLogin()$/;" f +action_logout ./luci/controller/mobile/index.lua /^function action_logout()$/;" f +action_logout ./luci/controller/web/index.lua /^function action_logout()$/;" f +action_safeurl ./luci/controller/web/index.lua /^function action_safeurl()$/;" f +addBind ./xiaoqiang/util/XQLanWanUtil.lua /^function addBind(mac, ip)$/;" f +addDdns ./luci/view/web/setting/ddns.htm /^ function addDdns(e){$/;" f +addEvent ./luci/view/web/setting/qos_pro.htm /^ function addEvent(){$/;" f +addRangeRedirect ./luci/controller/api/xqnetwork.lua /^function addRangeRedirect()$/;" f +addRedirect ./luci/controller/api/xqnetwork.lua /^function addRedirect()$/;" f +addServer ./luci/controller/api/xqnetwork.lua /^function addServer()$/;" f +add_network ./luci/model/network.lua /^function add_network(self, n, options)$/;" f +add_wifinet ./luci/model/network.lua /^function add_wifinet(self, net, options)$/;" f +add_zone ./luci/model/firewall.lua /^function add_zone(self, n)$/;" f +adjust_headers ./socket/smtp.lua /^local function adjust_headers(mesgt)$/;" f +adjustheaders ./socket/http.lua /^local function adjustheaders(reqt)$/;" f +adjustproxy ./socket/http.lua /^local function adjustproxy(reqt)$/;" f +adjustrequest ./socket/http.lua /^local function adjustrequest(reqt)$/;" f +adjusturi ./socket/http.lua /^local function adjusturi(reqt)$/;" f +alias ./luci/dispatcher.lua /^function alias(...)$/;" f +appInfo ./xiaoqiang/util/XQQoSUtil.lua /^function appInfo()$/;" f +appLimit ./luci/controller/api/xqsystem.lua /^function appLimit()$/;" f +appLimitSwitch ./luci/controller/api/xqsystem.lua /^function appLimitSwitch()$/;" f +appSpeedlimitSwitch ./xiaoqiang/util/XQQoSUtil.lua /^function appSpeedlimitSwitch(enable)$/;" f +append ./luci/util.lua /^function append(src, ...)$/;" f +append_yeelink_list ./xiaoqiang/util/XQZigbeeUtil.lua /^function append_yeelink_list(list)$/;" f +arcombine ./luci/dispatcher.lua /^function arcombine(trg1, trg2)$/;" f +areThingsMounted ./luci/controller/api/xqsystem.lua /^function areThingsMounted()$/;" f +areThingsMounted ./luci/view/web/setting/lamp.htm /^ function areThingsMounted(){$/;" f +asHEX ./sha1.lua /^function asHEX(a)$/;" f +ask ./luci/view/web/setting/net_wan.htm /^ function ask(){$/;" f +assert ./logging.lua /^local function assert(exp, ...)$/;" f +assert(type(func) ./luci/dispatcher.lua /^ assert(type(func) == "function",$/;" f +assert(type(idx) ./luci/dispatcher.lua /^ assert(type(idx) == "function",$/;" f +assign ./luci/dispatcher.lua /^function assign(path, clone, title, order, flag)$/;" f +attr ./luci/dispatcher.lua /^ attr = function(...) return _ifattr(true, ...) end;$/;" f +attribute ./slaxdom.lua /^ attribute = function(name,value,nsURI)$/;" f +attribute ./slaxml.lua /^ attribute = function(name,value,nsURI)$/;" f +authen ./luci/dispatcher.lua /^ authen = function() return eu end$/;" f +authenticator.htmlauth ./luci/dispatcher.lua /^function authenticator.htmlauth(validator, accs, default)$/;" f +authenticator.htmlauth_moblie ./luci/dispatcher.lua /^function authenticator.htmlauth_moblie(validator, accs, default)$/;" f +authenticator.jsonauth ./luci/dispatcher.lua /^function authenticator.jsonauth(validator, accs, default)$/;" f +available ./luci/sauth.lua /^function available()$/;" f +base64filter ./luci/controller/api/xqtunnel.lua /^local function base64filter(input)$/;" f +bigendian ./luci/util.lua /^function bigendian()$/;" f +binToHex ./xiaoqiang/util/XQCryptoUtil.lua /^function binToHex(s)$/;" f +binaryBase64Dec ./xiaoqiang/util/XQCryptoUtil.lua /^function binaryBase64Dec(data)$/;" f +binaryBase64Enc ./xiaoqiang/util/XQCryptoUtil.lua /^function binaryBase64Enc(data)$/;" f +bind ./socket.lua /^function bind(host, port, backlog)$/;" f +bool ./luci/cbi/datatypes.lua /^function bool(val)$/;" f +build ./socket/url.lua /^function build(parsed)$/;" f +buildUrl ./luci/view/mobile/init/hello.htm /^ function buildUrl(token, path){$/;" f +buildUrl ./luci/view/web/xmaccount.htm /^function buildUrl(token, path){$/;" f +build_path ./socket/url.lua /^function build_path(parsed, unsafe)$/;" f +build_querystring ./luci/http.lua /^function build_querystring(q)$/;" f +build_url ./luci/dispatcher.lua /^function build_url(...)$/;" f +byteFormat ./xiaoqiang/common/XQFunction.lua /^function byteFormat(byte)$/;" f +byte_format ./luci/tools/webadmin.lua /^function byte_format(byte)$/;" f +bytes2GB ./luci/view/web/plugins/kuaipan.htm /^ function bytes2GB(bytes) {$/;" f +c) return string.format ./luci/controller/service/datacenter.lua /^ function(c) return string.format ("%%%02X", string.byte(c)) end)$/;" f +cache_enable ./luci/ccache.lua /^function cache_enable(cachepath, mode)$/;" f +cache_ondemand ./luci/ccache.lua /^function cache_ondemand(...)$/;" f +call ./luci/dispatcher.lua /^function call(name, ...)$/;" f +call ./luci/sys.lua /^function call(...)$/;" f +cancelDownload ./xiaoqiang/util/XQDownloadUtil.lua /^function cancelDownload(downloadUrl)$/;" f +cancelUpgrade ./luci/controller/api/xqsystem.lua /^function cancelUpgrade()$/;" f +cancelUpgrade ./xiaoqiang/util/XQSysUtil.lua /^function cancelUpgrade()$/;" f +castMitvResult ./xiaoqiang/util/XQMitvUtil.lua /^function castMitvResult(str)$/;" f +cbi_add_knownips ./luci/tools/webadmin.lua /^function cbi_add_knownips(field)$/;" f +cbi_add_networks ./luci/tools/webadmin.lua /^function cbi_add_networks(field)$/;" f +channelFormat ./xiaoqiang/util/XQWifiUtil.lua /^function channelFormat(wifiIndex, channel, bandwidth)$/;" f +channelHelper ./xiaoqiang/util/XQWifiUtil.lua /^function channelHelper(channel)$/;" f +check ./xiaoqiang/XQLog.lua /^function check(ctype, key, value)$/;" f +checkBeenUpgraded ./xiaoqiang/util/XQSysUtil.lua /^function checkBeenUpgraded()$/;" f +checkDiskSpace ./xiaoqiang/util/XQSysUtil.lua /^function checkDiskSpace(byte)$/;" f +checkExecStatus ./xiaoqiang/util/XQSysUtil.lua /^function checkExecStatus(checkCmd)$/;" f +checkFileExist ./luci/controller/api/xqdatacenter.lua /^function checkFileExist()$/;" f +checkLanIp ./xiaoqiang/util/XQLanWanUtil.lua /^function checkLanIp(ip)$/;" f +checkMTU ./xiaoqiang/util/XQLanWanUtil.lua /^function checkMTU(value)$/;" f +checkMask ./xiaoqiang/common/XQFunction.lua /^function checkMask(mask)$/;" f +checkNonce ./xiaoqiang/util/XQSecureUtil.lua /^function checkNonce(nonce, mac)$/;" f +checkPermission ./xiaoqiang/util/XQSDKUtil.lua /^function checkPermission(mac)$/;" f +checkPlaintextPwd ./xiaoqiang/util/XQSecureUtil.lua /^function checkPlaintextPwd(user, plaintext)$/;" f +checkRedirectKey ./xiaoqiang/util/XQSecureUtil.lua /^function checkRedirectKey(key)$/;" f +checkRomUpdate ./luci/controller/api/xqsystem.lua /^function checkRomUpdate()$/;" f +checkRouterNamePending ./luci/controller/api/xqsystem.lua /^function checkRouterNamePending()$/;" f +checkSSID ./xiaoqiang/common/XQFunction.lua /^function checkSSID(ssid)$/;" f +checkSSID ./xiaoqiang/util/XQWifiUtil.lua /^function checkSSID(ssid,length)$/;" f +checkStrong ./xiaoqiang/util/XQSecureUtil.lua /^function checkStrong(pwd)$/;" f +checkSysPassword ./xiaoqiang/util/XQSysUtil.lua /^function checkSysPassword(oldPassword)$/;" f +checkSystemStatus ./xiaoqiang/util/XQSysUtil.lua /^function checkSystemStatus()$/;" f +checkTmpSpace ./xiaoqiang/util/XQSysUtil.lua /^function checkTmpSpace(byte)$/;" f +checkUpgrade ./xiaoqiang/util/XQNetUtil.lua /^function checkUpgrade()$/;" f +checkUpgradeStatus ./xiaoqiang/util/XQSysUtil.lua /^function checkUpgradeStatus()$/;" f +checkUser ./xiaoqiang/util/XQSecureUtil.lua /^function checkUser(user, nonce, encStr)$/;" f +checkWanIp ./xiaoqiang/util/XQLanWanUtil.lua /^function checkWanIp(ip)$/;" f +checkWifiPasswd ./xiaoqiang/util/XQWifiUtil.lua /^function checkWifiPasswd(passwd,encryption)$/;" f +check_show_syslock ./luci/dispatcher.lua /^function check_show_syslock(sysauth)$/;" f +checkid ./xiaoqiang/util/XQSecureUtil.lua /^function checkid(id)$/;" f +chmod777 ./xiaoqiang/util/XQCameraUtil.lua /^function chmod777()$/;" f +choose ./mime.lua /^local function choose(table)$/;" f +choose ./socket.lua /^function choose(table)$/;" f +cidr.add ./luci/ip.lua /^function cidr.add( self, amount, inplace )$/;" f +cidr.broadcast ./luci/ip.lua /^function cidr.broadcast( self )$/;" f +cidr.contains ./luci/ip.lua /^function cidr.contains( self, addr )$/;" f +cidr.equal ./luci/ip.lua /^function cidr.equal( self, addr )$/;" f +cidr.higher ./luci/ip.lua /^function cidr.higher( self, addr )$/;" f +cidr.host ./luci/ip.lua /^function cidr.host( self )$/;" f +cidr.is4 ./luci/ip.lua /^function cidr.is4( self )$/;" f +cidr.is4linklocal ./luci/ip.lua /^function cidr.is4linklocal( self )$/;" f +cidr.is4rfc1918 ./luci/ip.lua /^function cidr.is4rfc1918( self )$/;" f +cidr.is6 ./luci/ip.lua /^function cidr.is6( self )$/;" f +cidr.is6linklocal ./luci/ip.lua /^function cidr.is6linklocal( self )$/;" f +cidr.lower ./luci/ip.lua /^function cidr.lower( self, addr )$/;" f +cidr.mask ./luci/ip.lua /^function cidr.mask( self, bits )$/;" f +cidr.maxhost ./luci/ip.lua /^function cidr.maxhost( self )$/;" f +cidr.minhost ./luci/ip.lua /^function cidr.minhost( self )$/;" f +cidr.network ./luci/ip.lua /^function cidr.network( self, bits )$/;" f +cidr.prefix ./luci/ip.lua /^function cidr.prefix( self, mask )$/;" f +cidr.string ./luci/ip.lua /^function cidr.string( self )$/;" f +cidr.sub ./luci/ip.lua /^function cidr.sub( self, amount, inplace )$/;" f +cipher ./rc4.lua /^local function cipher(sMessage, state)$/;" f +ciphertextFormat ./xiaoqiang/util/XQSecureUtil.lua /^function ciphertextFormat(ciphertext)$/;" f +class ./luci/util.lua /^function class(base)$/;" f +clear ./luci/i18n.lua /^function clear()$/;" f +clearCookies ./luci/view/web/inc/reboot.js.htm /^ function clearCookies(){$/;" f +clearRouterNamePending ./luci/controller/api/xqsystem.lua /^function clearRouterNamePending()$/;" f +clone ./luci/util.lua /^function clone(object, deep)$/;" f +close ./luci/http.lua /^function close()$/;" f +closeDMZ ./luci/controller/api/xqnetwork.lua /^function closeDMZ()$/;" f +closeElement ./slaxml.lua /^ local function closeElement()$/;" f +closeElement ./slaxdom.lua /^ closeElement = function(name)$/;" f +closeElement ./slaxml.lua /^ closeElement = function(name,nsURI)$/;" f +closeWebInitRDR ./xiaoqiang/common/XQFunction.lua /^function closeWebInitRDR()$/;" f +cmatch ./luci/util.lua /^function cmatch(str, pat)$/;" f +cmd ./sysapi/miqos.lua /^function cmd(action)$/;" f +cmdSafeCheck ./xiaoqiang/util/XQSecureUtil.lua /^function cmdSafeCheck(url)$/;" f +code:sub ./luci/util.lua /^ return code:sub(1,12) .. strip_function(code:sub(13,-1))$/;" f +combine ./luci/util.lua /^function combine(...)$/;" f +command ./socket/ftp.lua /^command = socket.protect(function(cmdt)$/;" f +comment ./slaxdom.lua /^ comment = function(value)$/;" f +comment ./slaxml.lua /^ comment = function(content)$/;" f +commit ./luci/model/firewall.lua /^function commit(self, ...)$/;" f +commit ./luci/model/network.lua /^function commit(self, ...)$/;" f +comparator ./luci/model/uci.lua /^ comparator = function(section)$/;" f +compare ./luci/http/protocol/date.lua /^function compare(d1, d2)$/;" f +compile_datatype ./luci/cbi.lua /^function compile_datatype(code)$/;" f +configRecovery ./luci/controller/api/xqsystem.lua /^function configRecovery()$/;" f +conn:connect ./ssl/https.lua /^ function conn:connect(host, port)$/;" f +conn:settimeout ./ssl/https.lua /^ function conn:settimeout(...)$/;" f +conn[name] ./ssl/https.lua /^ conn[name] = function (self, ...)$/;" f +connect ./socket.lua /^function connect(address, port, laddress, lport)$/;" f +connect ./socket/tp.lua /^function connect(host, port, timeout, create)$/;" f +connectedDevice ./luci/controller/service/datacenter.lua /^function connectedDevice()$/;" f +consume ./nixio/util.lua /^function consume(iter, append)$/;" f +contains ./luci/util.lua /^function contains(table, value)$/;" f +content ./luci/http.lua /^function content()$/;" f +content ./luci/view/error404.htm /^