5 <title>Class: Network
</title>
8 <script src=
"scripts/prettify/prettify.js"></script>
9 <script src=
"scripts/prettify/lang-css.js"></script>
10 <script src=
"scripts/jquery.min.js"></script>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14 <link type=
"text/css" rel=
"stylesheet" href=
"styles/prettify-tomorrow.css">
15 <link type=
"text/css" rel=
"stylesheet" href=
"styles/bootstrap.min.css">
16 <link type=
"text/css" rel=
"stylesheet" href=
"styles/jaguar.css">
20 var config = {
"monospaceLinks":true,
"cleverLinks":true,
"default":{}};
27 <div id=
"wrap" class=
"clearfix">
29 <div class=
"navigation">
30 <h3 class=
"applicationName"><a href=
"index.html"></a></h3>
33 <input id=
"search" type=
"text" class=
"form-control input-sm" placeholder=
"Search Documentations">
37 <li class=
"item" data-name=
"LuCI">
39 <a href=
"LuCI.html">LuCI
</a>
42 <ul class=
"members itemMembers">
44 <span class=
"subtitle">Members
</span>
46 <li data-name=
"LuCI#env"><a href=
"LuCI.html#env">env
</a></li>
49 <ul class=
"typedefs itemMembers">
51 <span class=
"subtitle">Typedefs
</span>
53 <li data-name=
"LuCI.requestCallbackFn"><a href=
"LuCI.html#.requestCallbackFn">requestCallbackFn
</a></li>
56 <ul class=
"typedefs itemMembers">
59 <ul class=
"methods itemMembers">
61 <span class=
"subtitle">Methods
</span>
63 <li data-name=
"LuCI#bind"><a href=
"LuCI.html#bind">bind
</a></li>
65 <li data-name=
"LuCI#error"><a href=
"LuCI.html#error">error
</a></li>
67 <li data-name=
"LuCI#get"><a href=
"LuCI.html#get">get
</a></li>
69 <li data-name=
"LuCI#halt"><a href=
"LuCI.html#halt">halt
</a></li>
71 <li data-name=
"LuCI#hasSystemFeature"><a href=
"LuCI.html#hasSystemFeature">hasSystemFeature
</a></li>
73 <li data-name=
"LuCI#isObject"><a href=
"LuCI.html#isObject">isObject
</a></li>
75 <li data-name=
"LuCI#location"><a href=
"LuCI.html#location">location
</a></li>
77 <li data-name=
"LuCI#path"><a href=
"LuCI.html#path">path
</a></li>
79 <li data-name=
"LuCI#poll"><a href=
"LuCI.html#poll">poll
</a></li>
81 <li data-name=
"LuCI#post"><a href=
"LuCI.html#post">post
</a></li>
83 <li data-name=
"LuCI#raise"><a href=
"LuCI.html#raise">raise
</a></li>
85 <li data-name=
"LuCI#require"><a href=
"LuCI.html#require">require
</a></li>
87 <li data-name=
"LuCI#resolveDefault"><a href=
"LuCI.html#resolveDefault">resolveDefault
</a></li>
89 <li data-name=
"LuCI#resource"><a href=
"LuCI.html#resource">resource
</a></li>
91 <li data-name=
"LuCI#run"><a href=
"LuCI.html#run">run
</a></li>
93 <li data-name=
"LuCI#sortedKeys"><a href=
"LuCI.html#sortedKeys">sortedKeys
</a></li>
95 <li data-name=
"LuCI#stop"><a href=
"LuCI.html#stop">stop
</a></li>
97 <li data-name=
"LuCI#toArray"><a href=
"LuCI.html#toArray">toArray
</a></li>
99 <li data-name=
"LuCI#url"><a href=
"LuCI.html#url">url
</a></li>
102 <ul class=
"events itemMembers">
107 <li class=
"item" data-name=
"LuCI.Class">
109 <a href=
"LuCI.Class.html">LuCI.Class
</a>
112 <ul class=
"members itemMembers">
115 <ul class=
"typedefs itemMembers">
118 <ul class=
"typedefs itemMembers">
121 <ul class=
"methods itemMembers">
123 <span class=
"subtitle">Methods
</span>
125 <li data-name=
"LuCI.Class.extend"><a href=
"LuCI.Class.html#.extend">extend
</a></li>
127 <li data-name=
"LuCI.Class.instantiate"><a href=
"LuCI.Class.html#.instantiate">instantiate
</a></li>
129 <li data-name=
"LuCI.Class.isSubclass"><a href=
"LuCI.Class.html#.isSubclass">isSubclass
</a></li>
131 <li data-name=
"LuCI.Class.singleton"><a href=
"LuCI.Class.html#.singleton">singleton
</a></li>
133 <li data-name=
"LuCI.Class#super"><a href=
"LuCI.Class.html#super">super
</a></li>
135 <li data-name=
"LuCI.Class#varargs"><a href=
"LuCI.Class.html#varargs">varargs
</a></li>
138 <ul class=
"events itemMembers">
143 <li class=
"item" data-name=
"LuCI.dom">
145 <a href=
"LuCI.dom.html">LuCI.dom
</a>
148 <ul class=
"members itemMembers">
151 <ul class=
"typedefs itemMembers">
153 <span class=
"subtitle">Typedefs
</span>
155 <li data-name=
"LuCI.dom~ignoreCallbackFn"><a href=
"LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn
</a></li>
158 <ul class=
"typedefs itemMembers">
161 <ul class=
"methods itemMembers">
163 <span class=
"subtitle">Methods
</span>
165 <li data-name=
"LuCI.dom#append"><a href=
"LuCI.dom.html#append">append
</a></li>
167 <li data-name=
"LuCI.dom#attr"><a href=
"LuCI.dom.html#attr">attr
</a></li>
169 <li data-name=
"LuCI.dom#bindClassInstance"><a href=
"LuCI.dom.html#bindClassInstance">bindClassInstance
</a></li>
171 <li data-name=
"LuCI.dom#callClassMethod"><a href=
"LuCI.dom.html#callClassMethod">callClassMethod
</a></li>
173 <li data-name=
"LuCI.dom#content"><a href=
"LuCI.dom.html#content">content
</a></li>
175 <li data-name=
"LuCI.dom#create"><a href=
"LuCI.dom.html#create">create
</a></li>
177 <li data-name=
"LuCI.dom#data"><a href=
"LuCI.dom.html#data">data
</a></li>
179 <li data-name=
"LuCI.dom#elem"><a href=
"LuCI.dom.html#elem">elem
</a></li>
181 <li data-name=
"LuCI.dom#findClassInstance"><a href=
"LuCI.dom.html#findClassInstance">findClassInstance
</a></li>
183 <li data-name=
"LuCI.dom#isEmpty"><a href=
"LuCI.dom.html#isEmpty">isEmpty
</a></li>
185 <li data-name=
"LuCI.dom#matches"><a href=
"LuCI.dom.html#matches">matches
</a></li>
187 <li data-name=
"LuCI.dom#parent"><a href=
"LuCI.dom.html#parent">parent
</a></li>
189 <li data-name=
"LuCI.dom#parse"><a href=
"LuCI.dom.html#parse">parse
</a></li>
192 <ul class=
"events itemMembers">
197 <li class=
"item" data-name=
"LuCI.fs">
199 <a href=
"LuCI.fs.html">LuCI.fs
</a>
202 <ul class=
"members itemMembers">
205 <ul class=
"typedefs itemMembers">
207 <span class=
"subtitle">Typedefs
</span>
209 <li data-name=
"LuCI.fs.FileExecResult"><a href=
"LuCI.fs.html#.FileExecResult">FileExecResult
</a></li>
211 <li data-name=
"LuCI.fs.FileStatEntry"><a href=
"LuCI.fs.html#.FileStatEntry">FileStatEntry
</a></li>
214 <ul class=
"typedefs itemMembers">
217 <ul class=
"methods itemMembers">
219 <span class=
"subtitle">Methods
</span>
221 <li data-name=
"LuCI.fs#exec"><a href=
"LuCI.fs.html#exec">exec
</a></li>
223 <li data-name=
"LuCI.fs#lines"><a href=
"LuCI.fs.html#lines">lines
</a></li>
225 <li data-name=
"LuCI.fs#list"><a href=
"LuCI.fs.html#list">list
</a></li>
227 <li data-name=
"LuCI.fs#read"><a href=
"LuCI.fs.html#read">read
</a></li>
229 <li data-name=
"LuCI.fs#remove"><a href=
"LuCI.fs.html#remove">remove
</a></li>
231 <li data-name=
"LuCI.fs#stat"><a href=
"LuCI.fs.html#stat">stat
</a></li>
233 <li data-name=
"LuCI.fs#trimmed"><a href=
"LuCI.fs.html#trimmed">trimmed
</a></li>
235 <li data-name=
"LuCI.fs#write"><a href=
"LuCI.fs.html#write">write
</a></li>
238 <ul class=
"events itemMembers">
243 <li class=
"item" data-name=
"LuCI.Headers">
245 <a href=
"LuCI.Headers.html">LuCI.Headers
</a>
248 <ul class=
"members itemMembers">
251 <ul class=
"typedefs itemMembers">
254 <ul class=
"typedefs itemMembers">
257 <ul class=
"methods itemMembers">
259 <span class=
"subtitle">Methods
</span>
261 <li data-name=
"LuCI.Headers#get"><a href=
"LuCI.Headers.html#get">get
</a></li>
263 <li data-name=
"LuCI.Headers#has"><a href=
"LuCI.Headers.html#has">has
</a></li>
266 <ul class=
"events itemMembers">
271 <li class=
"item" data-name=
"LuCI.Network">
273 <a href=
"LuCI.Network.html">LuCI.Network
</a>
276 <ul class=
"members itemMembers">
279 <ul class=
"typedefs itemMembers">
281 <span class=
"subtitle">Typedefs
</span>
283 <li data-name=
"LuCI.Network.SwitchTopology"><a href=
"LuCI.Network.html#.SwitchTopology">SwitchTopology
</a></li>
285 <li data-name=
"LuCI.Network.WifiEncryption"><a href=
"LuCI.Network.html#.WifiEncryption">WifiEncryption
</a></li>
287 <li data-name=
"LuCI.Network.WifiPeerEntry"><a href=
"LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry
</a></li>
289 <li data-name=
"LuCI.Network.WifiRateEntry"><a href=
"LuCI.Network.html#.WifiRateEntry">WifiRateEntry
</a></li>
291 <li data-name=
"LuCI.Network.WifiScanResult"><a href=
"LuCI.Network.html#.WifiScanResult">WifiScanResult
</a></li>
294 <ul class=
"typedefs itemMembers">
297 <ul class=
"methods itemMembers">
299 <span class=
"subtitle">Methods
</span>
301 <li data-name=
"LuCI.Network#addNetwork"><a href=
"LuCI.Network.html#addNetwork">addNetwork
</a></li>
303 <li data-name=
"LuCI.Network#addWifiNetwork"><a href=
"LuCI.Network.html#addWifiNetwork">addWifiNetwork
</a></li>
305 <li data-name=
"LuCI.Network#deleteNetwork"><a href=
"LuCI.Network.html#deleteNetwork">deleteNetwork
</a></li>
307 <li data-name=
"LuCI.Network#deleteWifiNetwork"><a href=
"LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
309 <li data-name=
"LuCI.Network#flushCache"><a href=
"LuCI.Network.html#flushCache">flushCache
</a></li>
311 <li data-name=
"LuCI.Network#formatWifiEncryption"><a href=
"LuCI.Network.html#formatWifiEncryption">formatWifiEncryption
</a></li>
313 <li data-name=
"LuCI.Network#getDevice"><a href=
"LuCI.Network.html#getDevice">getDevice
</a></li>
315 <li data-name=
"LuCI.Network#getDevices"><a href=
"LuCI.Network.html#getDevices">getDevices
</a></li>
317 <li data-name=
"LuCI.Network#getDSLModemType"><a href=
"LuCI.Network.html#getDSLModemType">getDSLModemType
</a></li>
319 <li data-name=
"LuCI.Network#getHostHints"><a href=
"LuCI.Network.html#getHostHints">getHostHints
</a></li>
321 <li data-name=
"LuCI.Network#getIfnameOf"><a href=
"LuCI.Network.html#getIfnameOf">getIfnameOf
</a></li>
323 <li data-name=
"LuCI.Network#getNetwork"><a href=
"LuCI.Network.html#getNetwork">getNetwork
</a></li>
325 <li data-name=
"LuCI.Network#getNetworks"><a href=
"LuCI.Network.html#getNetworks">getNetworks
</a></li>
327 <li data-name=
"LuCI.Network#getProtocol"><a href=
"LuCI.Network.html#getProtocol">getProtocol
</a></li>
329 <li data-name=
"LuCI.Network#getProtocols"><a href=
"LuCI.Network.html#getProtocols">getProtocols
</a></li>
331 <li data-name=
"LuCI.Network#getSwitchTopologies"><a href=
"LuCI.Network.html#getSwitchTopologies">getSwitchTopologies
</a></li>
333 <li data-name=
"LuCI.Network#getWAN6Networks"><a href=
"LuCI.Network.html#getWAN6Networks">getWAN6Networks
</a></li>
335 <li data-name=
"LuCI.Network#getWANNetworks"><a href=
"LuCI.Network.html#getWANNetworks">getWANNetworks
</a></li>
337 <li data-name=
"LuCI.Network#getWifiDevice"><a href=
"LuCI.Network.html#getWifiDevice">getWifiDevice
</a></li>
339 <li data-name=
"LuCI.Network#getWifiDevices"><a href=
"LuCI.Network.html#getWifiDevices">getWifiDevices
</a></li>
341 <li data-name=
"LuCI.Network#getWifiNetwork"><a href=
"LuCI.Network.html#getWifiNetwork">getWifiNetwork
</a></li>
343 <li data-name=
"LuCI.Network#isIgnoredDevice"><a href=
"LuCI.Network.html#isIgnoredDevice">isIgnoredDevice
</a></li>
345 <li data-name=
"LuCI.Network#maskToPrefix"><a href=
"LuCI.Network.html#maskToPrefix">maskToPrefix
</a></li>
347 <li data-name=
"LuCI.Network#prefixToMask"><a href=
"LuCI.Network.html#prefixToMask">prefixToMask
</a></li>
349 <li data-name=
"LuCI.Network#registerErrorCode"><a href=
"LuCI.Network.html#registerErrorCode">registerErrorCode
</a></li>
351 <li data-name=
"LuCI.Network#registerPatternVirtual"><a href=
"LuCI.Network.html#registerPatternVirtual">registerPatternVirtual
</a></li>
353 <li data-name=
"LuCI.Network#registerProtocol"><a href=
"LuCI.Network.html#registerProtocol">registerProtocol
</a></li>
355 <li data-name=
"LuCI.Network#renameNetwork"><a href=
"LuCI.Network.html#renameNetwork">renameNetwork
</a></li>
358 <ul class=
"events itemMembers">
363 <li class=
"item" data-name=
"LuCI.Network.Device">
365 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
368 <ul class=
"members itemMembers">
371 <ul class=
"typedefs itemMembers">
374 <ul class=
"typedefs itemMembers">
377 <ul class=
"methods itemMembers">
379 <span class=
"subtitle">Methods
</span>
381 <li data-name=
"LuCI.Network.Device#getBridgeID"><a href=
"LuCI.Network.Device.html#getBridgeID">getBridgeID
</a></li>
383 <li data-name=
"LuCI.Network.Device#getBridgeSTP"><a href=
"LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP
</a></li>
385 <li data-name=
"LuCI.Network.Device#getI18n"><a href=
"LuCI.Network.Device.html#getI18n">getI18n
</a></li>
387 <li data-name=
"LuCI.Network.Device#getIP6Addrs"><a href=
"LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs
</a></li>
389 <li data-name=
"LuCI.Network.Device#getIPAddrs"><a href=
"LuCI.Network.Device.html#getIPAddrs">getIPAddrs
</a></li>
391 <li data-name=
"LuCI.Network.Device#getMAC"><a href=
"LuCI.Network.Device.html#getMAC">getMAC
</a></li>
393 <li data-name=
"LuCI.Network.Device#getMTU"><a href=
"LuCI.Network.Device.html#getMTU">getMTU
</a></li>
395 <li data-name=
"LuCI.Network.Device#getName"><a href=
"LuCI.Network.Device.html#getName">getName
</a></li>
397 <li data-name=
"LuCI.Network.Device#getNetwork"><a href=
"LuCI.Network.Device.html#getNetwork">getNetwork
</a></li>
399 <li data-name=
"LuCI.Network.Device#getNetworks"><a href=
"LuCI.Network.Device.html#getNetworks">getNetworks
</a></li>
401 <li data-name=
"LuCI.Network.Device#getPorts"><a href=
"LuCI.Network.Device.html#getPorts">getPorts
</a></li>
403 <li data-name=
"LuCI.Network.Device#getRXBytes"><a href=
"LuCI.Network.Device.html#getRXBytes">getRXBytes
</a></li>
405 <li data-name=
"LuCI.Network.Device#getRXPackets"><a href=
"LuCI.Network.Device.html#getRXPackets">getRXPackets
</a></li>
407 <li data-name=
"LuCI.Network.Device#getShortName"><a href=
"LuCI.Network.Device.html#getShortName">getShortName
</a></li>
409 <li data-name=
"LuCI.Network.Device#getTXBytes"><a href=
"LuCI.Network.Device.html#getTXBytes">getTXBytes
</a></li>
411 <li data-name=
"LuCI.Network.Device#getTXPackets"><a href=
"LuCI.Network.Device.html#getTXPackets">getTXPackets
</a></li>
413 <li data-name=
"LuCI.Network.Device#getType"><a href=
"LuCI.Network.Device.html#getType">getType
</a></li>
415 <li data-name=
"LuCI.Network.Device#getTypeI18n"><a href=
"LuCI.Network.Device.html#getTypeI18n">getTypeI18n
</a></li>
417 <li data-name=
"LuCI.Network.Device#getWifiNetwork"><a href=
"LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork
</a></li>
419 <li data-name=
"LuCI.Network.Device#isBridge"><a href=
"LuCI.Network.Device.html#isBridge">isBridge
</a></li>
421 <li data-name=
"LuCI.Network.Device#isBridgePort"><a href=
"LuCI.Network.Device.html#isBridgePort">isBridgePort
</a></li>
423 <li data-name=
"LuCI.Network.Device#isUp"><a href=
"LuCI.Network.Device.html#isUp">isUp
</a></li>
426 <ul class=
"events itemMembers">
431 <li class=
"item" data-name=
"LuCI.Network.Hosts">
433 <a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>
436 <ul class=
"members itemMembers">
439 <ul class=
"typedefs itemMembers">
442 <ul class=
"typedefs itemMembers">
445 <ul class=
"methods itemMembers">
447 <span class=
"subtitle">Methods
</span>
449 <li data-name=
"LuCI.Network.Hosts#getHostnameByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr
</a></li>
451 <li data-name=
"LuCI.Network.Hosts#getHostnameByIPAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr
</a></li>
453 <li data-name=
"LuCI.Network.Hosts#getHostnameByMACAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr
</a></li>
455 <li data-name=
"LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr
</a></li>
457 <li data-name=
"LuCI.Network.Hosts#getIPAddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr
</a></li>
459 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr
</a></li>
461 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIPAddr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr
</a></li>
463 <li data-name=
"LuCI.Network.Hosts#getMACHints"><a href=
"LuCI.Network.Hosts.html#getMACHints">getMACHints
</a></li>
466 <ul class=
"events itemMembers">
471 <li class=
"item" data-name=
"LuCI.Network.Protocol">
473 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
476 <ul class=
"members itemMembers">
479 <ul class=
"typedefs itemMembers">
482 <ul class=
"typedefs itemMembers">
485 <ul class=
"methods itemMembers">
487 <span class=
"subtitle">Methods
</span>
489 <li data-name=
"LuCI.Network.Protocol#addDevice"><a href=
"LuCI.Network.Protocol.html#addDevice">addDevice
</a></li>
491 <li data-name=
"LuCI.Network.Protocol#containsDevice"><a href=
"LuCI.Network.Protocol.html#containsDevice">containsDevice
</a></li>
493 <li data-name=
"LuCI.Network.Protocol#deleteDevice"><a href=
"LuCI.Network.Protocol.html#deleteDevice">deleteDevice
</a></li>
495 <li data-name=
"LuCI.Network.Protocol#get"><a href=
"LuCI.Network.Protocol.html#get">get
</a></li>
497 <li data-name=
"LuCI.Network.Protocol#getDevice"><a href=
"LuCI.Network.Protocol.html#getDevice">getDevice
</a></li>
499 <li data-name=
"LuCI.Network.Protocol#getDevices"><a href=
"LuCI.Network.Protocol.html#getDevices">getDevices
</a></li>
501 <li data-name=
"LuCI.Network.Protocol#getDNS6Addrs"><a href=
"LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs
</a></li>
503 <li data-name=
"LuCI.Network.Protocol#getDNSAddrs"><a href=
"LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs
</a></li>
505 <li data-name=
"LuCI.Network.Protocol#getErrors"><a href=
"LuCI.Network.Protocol.html#getErrors">getErrors
</a></li>
507 <li data-name=
"LuCI.Network.Protocol#getExpiry"><a href=
"LuCI.Network.Protocol.html#getExpiry">getExpiry
</a></li>
509 <li data-name=
"LuCI.Network.Protocol#getGateway6Addr"><a href=
"LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr
</a></li>
511 <li data-name=
"LuCI.Network.Protocol#getGatewayAddr"><a href=
"LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr
</a></li>
513 <li data-name=
"LuCI.Network.Protocol#getI18n"><a href=
"LuCI.Network.Protocol.html#getI18n">getI18n
</a></li>
515 <li data-name=
"LuCI.Network.Protocol#getIfname"><a href=
"LuCI.Network.Protocol.html#getIfname">getIfname
</a></li>
517 <li data-name=
"LuCI.Network.Protocol#getIP6Addr"><a href=
"LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr
</a></li>
519 <li data-name=
"LuCI.Network.Protocol#getIP6Addrs"><a href=
"LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs
</a></li>
521 <li data-name=
"LuCI.Network.Protocol#getIP6Prefix"><a href=
"LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix
</a></li>
523 <li data-name=
"LuCI.Network.Protocol#getIPAddr"><a href=
"LuCI.Network.Protocol.html#getIPAddr">getIPAddr
</a></li>
525 <li data-name=
"LuCI.Network.Protocol#getIPAddrs"><a href=
"LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs
</a></li>
527 <li data-name=
"LuCI.Network.Protocol#getL2Device"><a href=
"LuCI.Network.Protocol.html#getL2Device">getL2Device
</a></li>
529 <li data-name=
"LuCI.Network.Protocol#getL3Device"><a href=
"LuCI.Network.Protocol.html#getL3Device">getL3Device
</a></li>
531 <li data-name=
"LuCI.Network.Protocol#getMetric"><a href=
"LuCI.Network.Protocol.html#getMetric">getMetric
</a></li>
533 <li data-name=
"LuCI.Network.Protocol#getName"><a href=
"LuCI.Network.Protocol.html#getName">getName
</a></li>
535 <li data-name=
"LuCI.Network.Protocol#getNetmask"><a href=
"LuCI.Network.Protocol.html#getNetmask">getNetmask
</a></li>
537 <li data-name=
"LuCI.Network.Protocol#getOpkgPackage"><a href=
"LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage
</a></li>
539 <li data-name=
"LuCI.Network.Protocol#getProtocol"><a href=
"LuCI.Network.Protocol.html#getProtocol">getProtocol
</a></li>
541 <li data-name=
"LuCI.Network.Protocol#getType"><a href=
"LuCI.Network.Protocol.html#getType">getType
</a></li>
543 <li data-name=
"LuCI.Network.Protocol#getUptime"><a href=
"LuCI.Network.Protocol.html#getUptime">getUptime
</a></li>
545 <li data-name=
"LuCI.Network.Protocol#getZoneName"><a href=
"LuCI.Network.Protocol.html#getZoneName">getZoneName
</a></li>
547 <li data-name=
"LuCI.Network.Protocol#isAlias"><a href=
"LuCI.Network.Protocol.html#isAlias">isAlias
</a></li>
549 <li data-name=
"LuCI.Network.Protocol#isBridge"><a href=
"LuCI.Network.Protocol.html#isBridge">isBridge
</a></li>
551 <li data-name=
"LuCI.Network.Protocol#isDynamic"><a href=
"LuCI.Network.Protocol.html#isDynamic">isDynamic
</a></li>
553 <li data-name=
"LuCI.Network.Protocol#isEmpty"><a href=
"LuCI.Network.Protocol.html#isEmpty">isEmpty
</a></li>
555 <li data-name=
"LuCI.Network.Protocol#isFloating"><a href=
"LuCI.Network.Protocol.html#isFloating">isFloating
</a></li>
557 <li data-name=
"LuCI.Network.Protocol#isInstalled"><a href=
"LuCI.Network.Protocol.html#isInstalled">isInstalled
</a></li>
559 <li data-name=
"LuCI.Network.Protocol#isUp"><a href=
"LuCI.Network.Protocol.html#isUp">isUp
</a></li>
561 <li data-name=
"LuCI.Network.Protocol#isVirtual"><a href=
"LuCI.Network.Protocol.html#isVirtual">isVirtual
</a></li>
563 <li data-name=
"LuCI.Network.Protocol#set"><a href=
"LuCI.Network.Protocol.html#set">set
</a></li>
566 <ul class=
"events itemMembers">
571 <li class=
"item" data-name=
"LuCI.Network.WifiDevice">
573 <a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>
576 <ul class=
"members itemMembers">
579 <ul class=
"typedefs itemMembers">
582 <ul class=
"typedefs itemMembers">
585 <ul class=
"methods itemMembers">
587 <span class=
"subtitle">Methods
</span>
589 <li data-name=
"LuCI.Network.WifiDevice#addWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork
</a></li>
591 <li data-name=
"LuCI.Network.WifiDevice#deleteWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
593 <li data-name=
"LuCI.Network.WifiDevice#get"><a href=
"LuCI.Network.WifiDevice.html#get">get
</a></li>
595 <li data-name=
"LuCI.Network.WifiDevice#getHTModes"><a href=
"LuCI.Network.WifiDevice.html#getHTModes">getHTModes
</a></li>
597 <li data-name=
"LuCI.Network.WifiDevice#getHWModes"><a href=
"LuCI.Network.WifiDevice.html#getHWModes">getHWModes
</a></li>
599 <li data-name=
"LuCI.Network.WifiDevice#getI18n"><a href=
"LuCI.Network.WifiDevice.html#getI18n">getI18n
</a></li>
601 <li data-name=
"LuCI.Network.WifiDevice#getName"><a href=
"LuCI.Network.WifiDevice.html#getName">getName
</a></li>
603 <li data-name=
"LuCI.Network.WifiDevice#getScanList"><a href=
"LuCI.Network.WifiDevice.html#getScanList">getScanList
</a></li>
605 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork
</a></li>
607 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetworks"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks
</a></li>
609 <li data-name=
"LuCI.Network.WifiDevice#isDisabled"><a href=
"LuCI.Network.WifiDevice.html#isDisabled">isDisabled
</a></li>
611 <li data-name=
"LuCI.Network.WifiDevice#isUp"><a href=
"LuCI.Network.WifiDevice.html#isUp">isUp
</a></li>
613 <li data-name=
"LuCI.Network.WifiDevice#set"><a href=
"LuCI.Network.WifiDevice.html#set">set
</a></li>
616 <ul class=
"events itemMembers">
621 <li class=
"item" data-name=
"LuCI.Network.WifiNetwork">
623 <a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>
626 <ul class=
"members itemMembers">
629 <ul class=
"typedefs itemMembers">
632 <ul class=
"typedefs itemMembers">
635 <ul class=
"methods itemMembers">
637 <span class=
"subtitle">Methods
</span>
639 <li data-name=
"LuCI.Network.WifiNetwork#get"><a href=
"LuCI.Network.WifiNetwork.html#get">get
</a></li>
641 <li data-name=
"LuCI.Network.WifiNetwork#getActiveBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID
</a></li>
643 <li data-name=
"LuCI.Network.WifiNetwork#getActiveEncryption"><a href=
"LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption
</a></li>
645 <li data-name=
"LuCI.Network.WifiNetwork#getActiveMode"><a href=
"LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode
</a></li>
647 <li data-name=
"LuCI.Network.WifiNetwork#getActiveModeI18n"><a href=
"LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n
</a></li>
649 <li data-name=
"LuCI.Network.WifiNetwork#getActiveSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID
</a></li>
651 <li data-name=
"LuCI.Network.WifiNetwork#getAssocList"><a href=
"LuCI.Network.WifiNetwork.html#getAssocList">getAssocList
</a></li>
653 <li data-name=
"LuCI.Network.WifiNetwork#getBitRate"><a href=
"LuCI.Network.WifiNetwork.html#getBitRate">getBitRate
</a></li>
655 <li data-name=
"LuCI.Network.WifiNetwork#getBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getBSSID">getBSSID
</a></li>
657 <li data-name=
"LuCI.Network.WifiNetwork#getChannel"><a href=
"LuCI.Network.WifiNetwork.html#getChannel">getChannel
</a></li>
659 <li data-name=
"LuCI.Network.WifiNetwork#getCountryCode"><a href=
"LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode
</a></li>
661 <li data-name=
"LuCI.Network.WifiNetwork#getDevice"><a href=
"LuCI.Network.WifiNetwork.html#getDevice">getDevice
</a></li>
663 <li data-name=
"LuCI.Network.WifiNetwork#getFrequency"><a href=
"LuCI.Network.WifiNetwork.html#getFrequency">getFrequency
</a></li>
665 <li data-name=
"LuCI.Network.WifiNetwork#getI18n"><a href=
"LuCI.Network.WifiNetwork.html#getI18n">getI18n
</a></li>
667 <li data-name=
"LuCI.Network.WifiNetwork#getID"><a href=
"LuCI.Network.WifiNetwork.html#getID">getID
</a></li>
669 <li data-name=
"LuCI.Network.WifiNetwork#getIfname"><a href=
"LuCI.Network.WifiNetwork.html#getIfname">getIfname
</a></li>
671 <li data-name=
"LuCI.Network.WifiNetwork#getMeshID"><a href=
"LuCI.Network.WifiNetwork.html#getMeshID">getMeshID
</a></li>
673 <li data-name=
"LuCI.Network.WifiNetwork#getMode"><a href=
"LuCI.Network.WifiNetwork.html#getMode">getMode
</a></li>
675 <li data-name=
"LuCI.Network.WifiNetwork#getName"><a href=
"LuCI.Network.WifiNetwork.html#getName">getName
</a></li>
677 <li data-name=
"LuCI.Network.WifiNetwork#getNetwork"><a href=
"LuCI.Network.WifiNetwork.html#getNetwork">getNetwork
</a></li>
679 <li data-name=
"LuCI.Network.WifiNetwork#getNetworkNames"><a href=
"LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames
</a></li>
681 <li data-name=
"LuCI.Network.WifiNetwork#getNetworks"><a href=
"LuCI.Network.WifiNetwork.html#getNetworks">getNetworks
</a></li>
683 <li data-name=
"LuCI.Network.WifiNetwork#getNoise"><a href=
"LuCI.Network.WifiNetwork.html#getNoise">getNoise
</a></li>
685 <li data-name=
"LuCI.Network.WifiNetwork#getShortName"><a href=
"LuCI.Network.WifiNetwork.html#getShortName">getShortName
</a></li>
687 <li data-name=
"LuCI.Network.WifiNetwork#getSignal"><a href=
"LuCI.Network.WifiNetwork.html#getSignal">getSignal
</a></li>
689 <li data-name=
"LuCI.Network.WifiNetwork#getSignalLevel"><a href=
"LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel
</a></li>
691 <li data-name=
"LuCI.Network.WifiNetwork#getSignalPercent"><a href=
"LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent
</a></li>
693 <li data-name=
"LuCI.Network.WifiNetwork#getSSID"><a href=
"LuCI.Network.WifiNetwork.html#getSSID">getSSID
</a></li>
695 <li data-name=
"LuCI.Network.WifiNetwork#getTXPower"><a href=
"LuCI.Network.WifiNetwork.html#getTXPower">getTXPower
</a></li>
697 <li data-name=
"LuCI.Network.WifiNetwork#getTXPowerOffset"><a href=
"LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset
</a></li>
699 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDevice"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice
</a></li>
701 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDeviceName"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName
</a></li>
703 <li data-name=
"LuCI.Network.WifiNetwork#isDisabled"><a href=
"LuCI.Network.WifiNetwork.html#isDisabled">isDisabled
</a></li>
705 <li data-name=
"LuCI.Network.WifiNetwork#isUp"><a href=
"LuCI.Network.WifiNetwork.html#isUp">isUp
</a></li>
707 <li data-name=
"LuCI.Network.WifiNetwork#set"><a href=
"LuCI.Network.WifiNetwork.html#set">set
</a></li>
710 <ul class=
"events itemMembers">
715 <li class=
"item" data-name=
"LuCI.Poll">
717 <a href=
"LuCI.Poll.html">LuCI.Poll
</a>
720 <ul class=
"members itemMembers">
723 <ul class=
"typedefs itemMembers">
726 <ul class=
"typedefs itemMembers">
729 <ul class=
"methods itemMembers">
731 <span class=
"subtitle">Methods
</span>
733 <li data-name=
"LuCI.Poll#active"><a href=
"LuCI.Poll.html#active">active
</a></li>
735 <li data-name=
"LuCI.Poll#add"><a href=
"LuCI.Poll.html#add">add
</a></li>
737 <li data-name=
"LuCI.Poll#remove"><a href=
"LuCI.Poll.html#remove">remove
</a></li>
739 <li data-name=
"LuCI.Poll#start"><a href=
"LuCI.Poll.html#start">start
</a></li>
741 <li data-name=
"LuCI.Poll#stop"><a href=
"LuCI.Poll.html#stop">stop
</a></li>
744 <ul class=
"events itemMembers">
749 <li class=
"item" data-name=
"LuCI.Request">
751 <a href=
"LuCI.Request.html">LuCI.Request
</a>
754 <ul class=
"members itemMembers">
757 <ul class=
"typedefs itemMembers">
759 <span class=
"subtitle">Typedefs
</span>
761 <li data-name=
"LuCI.Request.interceptorFn"><a href=
"LuCI.Request.html#.interceptorFn">interceptorFn
</a></li>
763 <li data-name=
"LuCI.Request.RequestOptions"><a href=
"LuCI.Request.html#.RequestOptions">RequestOptions
</a></li>
766 <ul class=
"typedefs itemMembers">
769 <ul class=
"methods itemMembers">
771 <span class=
"subtitle">Methods
</span>
773 <li data-name=
"LuCI.Request#addInterceptor"><a href=
"LuCI.Request.html#addInterceptor">addInterceptor
</a></li>
775 <li data-name=
"LuCI.Request#expandURL"><a href=
"LuCI.Request.html#expandURL">expandURL
</a></li>
777 <li data-name=
"LuCI.Request#get"><a href=
"LuCI.Request.html#get">get
</a></li>
779 <li data-name=
"LuCI.Request#post"><a href=
"LuCI.Request.html#post">post
</a></li>
781 <li data-name=
"LuCI.Request#removeInterceptor"><a href=
"LuCI.Request.html#removeInterceptor">removeInterceptor
</a></li>
783 <li data-name=
"LuCI.Request#request"><a href=
"LuCI.Request.html#request">request
</a></li>
786 <ul class=
"events itemMembers">
791 <li class=
"item" data-name=
"LuCI.Request.poll">
793 <a href=
"LuCI.Request.poll.html">LuCI.Request.poll
</a>
796 <ul class=
"members itemMembers">
799 <ul class=
"typedefs itemMembers">
801 <span class=
"subtitle">Typedefs
</span>
803 <li data-name=
"LuCI.Request.poll~callbackFn"><a href=
"LuCI.Request.poll.html#~callbackFn">callbackFn
</a></li>
806 <ul class=
"typedefs itemMembers">
809 <ul class=
"methods itemMembers">
811 <span class=
"subtitle">Methods
</span>
813 <li data-name=
"LuCI.Request.poll#active"><a href=
"LuCI.Request.poll.html#active">active
</a></li>
815 <li data-name=
"LuCI.Request.poll#add"><a href=
"LuCI.Request.poll.html#add">add
</a></li>
817 <li data-name=
"LuCI.Request.poll#remove"><a href=
"LuCI.Request.poll.html#remove">remove
</a></li>
819 <li data-name=
"LuCI.Request.poll#start"><a href=
"LuCI.Request.poll.html#start">start
</a></li>
821 <li data-name=
"LuCI.Request.poll#stop"><a href=
"LuCI.Request.poll.html#stop">stop
</a></li>
824 <ul class=
"events itemMembers">
829 <li class=
"item" data-name=
"LuCI.Response">
831 <a href=
"LuCI.Response.html">LuCI.Response
</a>
834 <ul class=
"members itemMembers">
836 <span class=
"subtitle">Members
</span>
838 <li data-name=
"LuCI.Response#duration"><a href=
"LuCI.Response.html#duration">duration
</a></li>
840 <li data-name=
"LuCI.Response#headers"><a href=
"LuCI.Response.html#headers">headers
</a></li>
842 <li data-name=
"LuCI.Response#ok"><a href=
"LuCI.Response.html#ok">ok
</a></li>
844 <li data-name=
"LuCI.Response#status"><a href=
"LuCI.Response.html#status">status
</a></li>
846 <li data-name=
"LuCI.Response#statusText"><a href=
"LuCI.Response.html#statusText">statusText
</a></li>
848 <li data-name=
"LuCI.Response#url"><a href=
"LuCI.Response.html#url">url
</a></li>
851 <ul class=
"typedefs itemMembers">
854 <ul class=
"typedefs itemMembers">
857 <ul class=
"methods itemMembers">
859 <span class=
"subtitle">Methods
</span>
861 <li data-name=
"LuCI.Response#clone"><a href=
"LuCI.Response.html#clone">clone
</a></li>
863 <li data-name=
"LuCI.Response#json"><a href=
"LuCI.Response.html#json">json
</a></li>
865 <li data-name=
"LuCI.Response#text"><a href=
"LuCI.Response.html#text">text
</a></li>
868 <ul class=
"events itemMembers">
873 <li class=
"item" data-name=
"LuCI.rpc">
875 <a href=
"LuCI.rpc.html">LuCI.rpc
</a>
878 <ul class=
"members itemMembers">
881 <ul class=
"typedefs itemMembers">
883 <span class=
"subtitle">Typedefs
</span>
885 <li data-name=
"LuCI.rpc.DeclareOptions"><a href=
"LuCI.rpc.html#.DeclareOptions">DeclareOptions
</a></li>
887 <li data-name=
"LuCI.rpc~filterFn"><a href=
"LuCI.rpc.html#~filterFn">filterFn
</a></li>
889 <li data-name=
"LuCI.rpc~interceptorFn"><a href=
"LuCI.rpc.html#~interceptorFn">interceptorFn
</a></li>
891 <li data-name=
"LuCI.rpc~invokeFn"><a href=
"LuCI.rpc.html#~invokeFn">invokeFn
</a></li>
894 <ul class=
"typedefs itemMembers">
897 <ul class=
"methods itemMembers">
899 <span class=
"subtitle">Methods
</span>
901 <li data-name=
"LuCI.rpc#addInterceptor"><a href=
"LuCI.rpc.html#addInterceptor">addInterceptor
</a></li>
903 <li data-name=
"LuCI.rpc#declare"><a href=
"LuCI.rpc.html#declare">declare
</a></li>
905 <li data-name=
"LuCI.rpc#getBaseURL"><a href=
"LuCI.rpc.html#getBaseURL">getBaseURL
</a></li>
907 <li data-name=
"LuCI.rpc#getSessionID"><a href=
"LuCI.rpc.html#getSessionID">getSessionID
</a></li>
909 <li data-name=
"LuCI.rpc#getStatusText"><a href=
"LuCI.rpc.html#getStatusText">getStatusText
</a></li>
911 <li data-name=
"LuCI.rpc#list"><a href=
"LuCI.rpc.html#list">list
</a></li>
913 <li data-name=
"LuCI.rpc#removeInterceptor"><a href=
"LuCI.rpc.html#removeInterceptor">removeInterceptor
</a></li>
915 <li data-name=
"LuCI.rpc#setBaseURL"><a href=
"LuCI.rpc.html#setBaseURL">setBaseURL
</a></li>
917 <li data-name=
"LuCI.rpc#setSessionID"><a href=
"LuCI.rpc.html#setSessionID">setSessionID
</a></li>
920 <ul class=
"events itemMembers">
925 <li class=
"item" data-name=
"LuCI.uci">
927 <a href=
"LuCI.uci.html">LuCI.uci
</a>
930 <ul class=
"members itemMembers">
933 <ul class=
"typedefs itemMembers">
935 <span class=
"subtitle">Typedefs
</span>
937 <li data-name=
"LuCI.uci.ChangeRecord"><a href=
"LuCI.uci.html#.ChangeRecord">ChangeRecord
</a></li>
939 <li data-name=
"LuCI.uci.SectionObject"><a href=
"LuCI.uci.html#.SectionObject">SectionObject
</a></li>
941 <li data-name=
"LuCI.uci~sectionsFn"><a href=
"LuCI.uci.html#~sectionsFn">sectionsFn
</a></li>
944 <ul class=
"typedefs itemMembers">
947 <ul class=
"methods itemMembers">
949 <span class=
"subtitle">Methods
</span>
951 <li data-name=
"LuCI.uci#add"><a href=
"LuCI.uci.html#add">add
</a></li>
953 <li data-name=
"LuCI.uci#apply"><a href=
"LuCI.uci.html#apply">apply
</a></li>
955 <li data-name=
"LuCI.uci#changes"><a href=
"LuCI.uci.html#changes">changes
</a></li>
957 <li data-name=
"LuCI.uci#createSID"><a href=
"LuCI.uci.html#createSID">createSID
</a></li>
959 <li data-name=
"LuCI.uci#get"><a href=
"LuCI.uci.html#get">get
</a></li>
961 <li data-name=
"LuCI.uci#get_first"><a href=
"LuCI.uci.html#get_first">get_first
</a></li>
963 <li data-name=
"LuCI.uci#load"><a href=
"LuCI.uci.html#load">load
</a></li>
965 <li data-name=
"LuCI.uci#move"><a href=
"LuCI.uci.html#move">move
</a></li>
967 <li data-name=
"LuCI.uci#remove"><a href=
"LuCI.uci.html#remove">remove
</a></li>
969 <li data-name=
"LuCI.uci#resolveSID"><a href=
"LuCI.uci.html#resolveSID">resolveSID
</a></li>
971 <li data-name=
"LuCI.uci#save"><a href=
"LuCI.uci.html#save">save
</a></li>
973 <li data-name=
"LuCI.uci#sections"><a href=
"LuCI.uci.html#sections">sections
</a></li>
975 <li data-name=
"LuCI.uci#set"><a href=
"LuCI.uci.html#set">set
</a></li>
977 <li data-name=
"LuCI.uci#set_first"><a href=
"LuCI.uci.html#set_first">set_first
</a></li>
979 <li data-name=
"LuCI.uci#unload"><a href=
"LuCI.uci.html#unload">unload
</a></li>
981 <li data-name=
"LuCI.uci#unset"><a href=
"LuCI.uci.html#unset">unset
</a></li>
983 <li data-name=
"LuCI.uci#unset_first"><a href=
"LuCI.uci.html#unset_first">unset_first
</a></li>
986 <ul class=
"events itemMembers">
991 <li class=
"item" data-name=
"LuCI.view">
993 <a href=
"LuCI.view.html">LuCI.view
</a>
996 <ul class=
"members itemMembers">
999 <ul class=
"typedefs itemMembers">
1002 <ul class=
"typedefs itemMembers">
1005 <ul class=
"methods itemMembers">
1007 <span class=
"subtitle">Methods
</span>
1009 <li data-name=
"LuCI.view#addFooter"><a href=
"LuCI.view.html#addFooter">addFooter
</a></li>
1011 <li data-name=
"LuCI.view#handleReset"><a href=
"LuCI.view.html#handleReset">handleReset
</a></li>
1013 <li data-name=
"LuCI.view#handleSave"><a href=
"LuCI.view.html#handleSave">handleSave
</a></li>
1015 <li data-name=
"LuCI.view#handleSaveApply"><a href=
"LuCI.view.html#handleSaveApply">handleSaveApply
</a></li>
1017 <li data-name=
"LuCI.view#load"><a href=
"LuCI.view.html#load">load
</a></li>
1019 <li data-name=
"LuCI.view#render"><a href=
"LuCI.view.html#render">render
</a></li>
1022 <ul class=
"events itemMembers">
1027 <li class=
"item" data-name=
"LuCI.XHR">
1028 <span class=
"title">
1029 <a href=
"LuCI.XHR.html">LuCI.XHR
</a>
1032 <ul class=
"members itemMembers">
1035 <ul class=
"typedefs itemMembers">
1038 <ul class=
"typedefs itemMembers">
1041 <ul class=
"methods itemMembers">
1043 <span class=
"subtitle">Methods
</span>
1045 <li data-name=
"LuCI.XHR#abort"><a href=
"LuCI.XHR.html#abort">abort
</a></li>
1047 <li data-name=
"LuCI.XHR#busy"><a href=
"LuCI.XHR.html#busy">busy
</a></li>
1049 <li data-name=
"LuCI.XHR#cancel"><a href=
"LuCI.XHR.html#cancel">cancel
</a></li>
1051 <li data-name=
"LuCI.XHR#get"><a href=
"LuCI.XHR.html#get">get
</a></li>
1053 <li data-name=
"LuCI.XHR#post"><a href=
"LuCI.XHR.html#post">post
</a></li>
1055 <li data-name=
"LuCI.XHR#send_form"><a href=
"LuCI.XHR.html#send_form">send_form
</a></li>
1058 <ul class=
"events itemMembers">
1066 <h1 class=
"page-title" data-filename=
"LuCI.Network.html">Class: Network
</h1>
1075 <span class=
"ancestors"><a href=
"LuCI.html">LuCI
</a>.
</span>
1080 <div class=
"class-description"><p>The
<code>LuCI.Network
</code> class combines data from multiple
<code>ubus
</code> apis to
1081 provide an abstraction of the current network configuration state.
</p>
1082 <p>It provides methods to enumerate interfaces and devices, to query
1083 current configuration details and to manipulate settings.
</p></div>
1088 <div class=
"container-overview">
1094 <div class=
"nameContainer">
1095 <h4 class=
"name" id=
"Network">
1097 new LuCI.Network
<span class=
"signature">()
</span>
1101 <div class=
"tag-source">
1102 network.js, line
628
1120 <dl class=
"details">
1168 <h3 class=
"subsection-title">Classes
</h3>
1171 <dt><a href=
"LuCI.Network.Device.html">Device
</a></dt>
1174 <dt><a href=
"LuCI.Network.Hosts.html">Hosts
</a></dt>
1177 <dt><a href=
"LuCI.Network.Protocol.html">Protocol
</a></dt>
1180 <dt><a href=
"LuCI.Network.WifiDevice.html">WifiDevice
</a></dt>
1183 <dt><a href=
"LuCI.Network.WifiNetwork.html">WifiNetwork
</a></dt>
1193 <h3 class=
"subsection-title">Methods
</h3>
1198 <div class=
"nameContainer">
1199 <h4 class=
"name" id=
"addNetwork">
1201 addNetwork
<span class=
"signature">(name,
<span class=
"optional">options
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>}
</span>
1205 <div class=
"tag-source">
1206 network.js, line
884
1216 <div class=
"description">
1217 <p>Adds a new network of the given name and update it with the given
1218 uci option values.
</p>
1219 <p>If a network with the given name already exist but is empty, then
1220 this function will update its option, otherwise it will do nothing.
</p>
1231 <table class=
"params">
1242 <th class=
"last">Description
</th>
1251 <td class=
"name"><code>name
</code></td>
1257 <span class=
"param-type">string
</span>
1265 <td class=
"description last">
1272 <p>The name of the network to add. Must be in the format
<code>[a-zA-Z0-
9_]+
</code>.
</p></td>
1279 <td class=
"name"><code>options
</code></td>
1285 <span class=
"param-type">Object.
<string, (string|Array.
<string
>)
></span>
1293 <td class=
"description last">
1296 <span class=
"optional">optional
</span>
1302 <p>An object of uci option values to set on the new network or to
1303 update in an existing, empty network.
</p></td>
1312 <dl class=
"details">
1350 <table class=
"params">
1355 <th class=
"last">Description
</th>
1364 Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>
1368 <td class=
"description last">Returns a promise resolving to the
<code>Protocol
</code> subclass instance
1369 describing the added network or resolving to
<code>null
</code> if the name
1370 was invalid or if a non-empty network of the given name already
1385 <div class=
"nameContainer">
1386 <h4 class=
"name" id=
"addWifiNetwork">
1388 addWifiNetwork
<span class=
"signature">(options)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>}
</span>
1392 <div class=
"tag-source">
1393 network.js, line
1352
1403 <div class=
"description">
1404 <p>Adds a new wireless network to the configuration and sets its options
1405 to the provided values.
</p>
1416 <table class=
"params">
1427 <th class=
"last">Description
</th>
1436 <td class=
"name"><code>options
</code></td>
1442 <span class=
"param-type">Object.
<string, (string|Array.
<string
>)
></span>
1450 <td class=
"description last">
1452 <p>The options to set for the newly added wireless network. This object
1453 must at least contain a
<code>device
</code> property which is set to the radio
1454 name the new network belongs to.
</p></td>
1463 <dl class=
"details">
1501 <table class=
"params">
1506 <th class=
"last">Description
</th>
1515 Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>
1519 <td class=
"description last">Returns a promise resolving to a
<code>WifiNetwork
</code> instance describing
1520 the newly added wireless network or
<code>null
</code> if the given options
1521 were invalid or if the associated radio device could not be found.
</td>
1535 <div class=
"nameContainer">
1536 <h4 class=
"name" id=
"deleteNetwork">
1538 deleteNetwork
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
1542 <div class=
"tag-source">
1543 network.js, line
962
1553 <div class=
"description">
1554 <p>Deletes the given network and its references from the network and
1555 firewall configuration.
</p>
1566 <table class=
"params">
1577 <th class=
"last">Description
</th>
1586 <td class=
"name"><code>name
</code></td>
1592 <span class=
"param-type">string
</span>
1600 <td class=
"description last">
1602 <p>The name of the network to delete.
</p></td>
1611 <dl class=
"details">
1649 <table class=
"params">
1654 <th class=
"last">Description
</th>
1663 Promise.
<boolean
>
1667 <td class=
"description last">Returns a promise resolving to either
<code>true
</code> if the network and
1668 references to it were successfully deleted from the configuration or
1669 <code>false
</code> if the given network could not be found.
</td>
1683 <div class=
"nameContainer">
1684 <h4 class=
"name" id=
"deleteWifiNetwork">
1686 deleteWifiNetwork
<span class=
"signature">(netname)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
1690 <div class=
"tag-source">
1691 network.js, line
1390
1701 <div class=
"description">
1702 <p>Deletes the given wireless network from the configuration.
</p>
1713 <table class=
"params">
1724 <th class=
"last">Description
</th>
1733 <td class=
"name"><code>netname
</code></td>
1739 <span class=
"param-type">string
</span>
1747 <td class=
"description last">
1749 <p>The name of the network to remove. This may be either a
1750 network ID in the form
<code>radio#.network#
</code> or a Linux network device
1751 name like
<code>wlan0
</code> which is resolved to the corresponding configuration
1752 section through
<code>ubus
</code> runtime information.
</p></td>
1761 <dl class=
"details">
1799 <table class=
"params">
1804 <th class=
"last">Description
</th>
1813 Promise.
<boolean
>
1817 <td class=
"description last">Returns a promise resolving to
<code>true
</code> if the wireless network has been
1818 successfully deleted from the configuration or
<code>false
</code> if it could not
1833 <div class=
"nameContainer">
1834 <h4 class=
"name" id=
"flushCache">
1836 flushCache
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Object
>}
</span>
1840 <div class=
"tag-source">
1841 network.js, line
728
1851 <div class=
"description">
1852 <p>Flushes the local network state cache and fetches updated information
1853 from the remote
<code>ubus
</code> apis.
</p>
1864 <dl class=
"details">
1902 <table class=
"params">
1907 <th class=
"last">Description
</th>
1920 <td class=
"description last">Returns a promise resolving to the internal network state object.
</td>
1934 <div class=
"nameContainer">
1935 <h4 class=
"name" id=
"formatWifiEncryption">
1937 formatWifiEncryption
<span class=
"signature">(encryption)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
1941 <div class=
"tag-source">
1942 network.js, line
719
1952 <div class=
"description">
1953 <p>Converts a given
<a href=
"LuCI.Network.html#.WifiEncryption"><code>encryption entry
</code></a>
1954 into a human readable string such as
<code>mixed WPA/WPA2 PSK (TKIP, CCMP)
</code>
1955 or
<code>WPA3 SAE (CCMP)
</code>.
</p>
1966 <table class=
"params">
1977 <th class=
"last">Description
</th>
1986 <td class=
"name"><code>encryption
</code></td>
1992 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a></span>
2000 <td class=
"description last">
2002 <p>The wireless encryption entry to convert.
</p></td>
2011 <dl class=
"details">
2049 <table class=
"params">
2054 <th class=
"last">Description
</th>
2070 <td class=
"description last">Returns the description string for the given encryption entry or
2071 <code>null
</code> if the given entry was invalid.
</td>
2085 <div class=
"nameContainer">
2086 <h4 class=
"name" id=
"getDevice">
2088 getDevice
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>)
>}
</span>
2092 <div class=
"tag-source">
2093 network.js, line
1087
2103 <div class=
"description">
2104 <p>Get a
<a href=
"LuCI.Network.Device.html"><code>Device
</code></a> instance describing the
2105 given network device.
</p>
2116 <table class=
"params">
2127 <th class=
"last">Description
</th>
2136 <td class=
"name"><code>name
</code></td>
2142 <span class=
"param-type">string
</span>
2150 <td class=
"description last">
2152 <p>The name of the network device to get, e.g.
<code>eth0
</code> or
<code>br-lan
</code>.
</p></td>
2161 <dl class=
"details">
2199 <table class=
"params">
2204 <th class=
"last">Description
</th>
2213 Promise.
<(null|
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>)
>
2217 <td class=
"description last">Returns a promise resolving to the
<code>Device
</code> instance describing
2218 the network device or
<code>null
</code> if the given device name could not
2233 <div class=
"nameContainer">
2234 <h4 class=
"name" id=
"getDevices">
2236 getDevices
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>>>}
</span>
2240 <div class=
"tag-source">
2241 network.js, line
1110
2251 <div class=
"description">
2252 <p>Get a sorted list of all found network devices.
</p>
2263 <dl class=
"details">
2301 <table class=
"params">
2306 <th class=
"last">Description
</th>
2315 Promise.
<Array.
<<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>>>
2319 <td class=
"description last">Returns a promise resolving to a sorted array of
<code>Device
</code> class
2320 instances describing the network devices found on the system.
</td>
2334 <div class=
"nameContainer">
2335 <h4 class=
"name" id=
"getDSLModemType">
2337 getDSLModemType
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|string)
>}
</span>
2341 <div class=
"tag-source">
2342 network.js, line
1594
2352 <div class=
"description">
2353 <p>Queries the internal DSL modem type from board information.
</p>
2364 <dl class=
"details">
2402 <table class=
"params">
2407 <th class=
"last">Description
</th>
2416 Promise.
<(null|string)
>
2420 <td class=
"description last">Returns a promise resolving to the type of the internal modem
2421 (e.g.
<code>vdsl
</code>) or to
<code>null
</code> if no internal modem is present.
</td>
2435 <div class=
"nameContainer">
2436 <h4 class=
"name" id=
"getHostHints">
2438 getHostHints
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<<a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>>}
</span>
2442 <div class=
"tag-source">
2443 network.js, line
1611
2453 <div class=
"description">
2454 <p>Queries aggregated information about known hosts.
</p>
2455 <p>This function aggregates information from various sources such as
2456 DHCP lease databases, ARP and IPv6 neighbour entries, wireless
2457 association list etc. and returns a
<a href=
"LuCI.Network.Hosts.html"><code>Hosts
</code></a>
2458 class instance describing the found hosts.
</p>
2469 <dl class=
"details">
2507 <table class=
"params">
2512 <th class=
"last">Description
</th>
2521 Promise.
<<a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>>
2525 <td class=
"description last">Returns a
<code>Hosts
</code> instance describing host known on the system.
</td>
2539 <div class=
"nameContainer">
2540 <h4 class=
"name" id=
"getIfnameOf">
2542 getIfnameOf
<span class=
"signature">(obj)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
2546 <div class=
"tag-source">
2547 network.js, line
1583
2557 <div class=
"description">
2558 <p>Obtains the the network device name of the given object.
</p>
2569 <table class=
"params">
2580 <th class=
"last">Description
</th>
2589 <td class=
"name"><code>obj
</code></td>
2595 <span class=
"param-type"><a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a></span>
2598 <span class=
"param-type"><a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a></span>
2601 <span class=
"param-type"><a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a></span>
2604 <span class=
"param-type"><a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a></span>
2607 <span class=
"param-type">string
</span>
2615 <td class=
"description last">
2617 <p>The object to get the device name from.
</p></td>
2626 <dl class=
"details">
2664 <table class=
"params">
2669 <th class=
"last">Description
</th>
2685 <td class=
"description last">Returns a string containing the device name or
<code>null
</code> if the given
2686 object could not be converted to a name.
</td>
2700 <div class=
"nameContainer">
2701 <h4 class=
"name" id=
"getNetwork">
2703 getNetwork
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>}
</span>
2707 <div class=
"tag-source">
2708 network.js, line
921
2718 <div class=
"description">
2719 <p>Get a
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> instance describing
2720 the network with the given name.
</p>
2731 <table class=
"params">
2742 <th class=
"last">Description
</th>
2751 <td class=
"name"><code>name
</code></td>
2757 <span class=
"param-type">string
</span>
2765 <td class=
"description last">
2767 <p>The logical interface name of the network get, e.g.
<code>lan
</code> or
<code>wan
</code>.
</p></td>
2776 <dl class=
"details">
2814 <table class=
"params">
2819 <th class=
"last">Description
</th>
2828 Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>
2832 <td class=
"description last">Returns a promise resolving to a
2833 <a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass instance describing
2834 the network or
<code>null
</code> if the network did not exist.
</td>
2848 <div class=
"nameContainer">
2849 <h4 class=
"name" id=
"getNetworks">
2851 getNetworks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>}
</span>
2855 <div class=
"tag-source">
2856 network.js, line
946
2866 <div class=
"description">
2867 <p>Gets an array containing all known networks.
</p>
2878 <dl class=
"details">
2916 <table class=
"params">
2921 <th class=
"last">Description
</th>
2930 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
2934 <td class=
"description last">Returns a promise resolving to a name-sorted array of
2935 <a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass instances
2936 describing all known networks.
</td>
2950 <div class=
"nameContainer">
2951 <h4 class=
"name" id=
"getProtocol">
2953 getProtocol
<span class=
"signature">(protoname,
<span class=
"optional">netname
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>}
</span>
2957 <div class=
"tag-source">
2958 network.js, line
750
2968 <div class=
"description">
2969 <p>Instantiates the given
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> backend,
2970 optionally using the given network name.
</p>
2981 <table class=
"params">
2994 <th class=
"last">Description
</th>
3003 <td class=
"name"><code>protoname
</code></td>
3009 <span class=
"param-type">string
</span>
3016 <td class=
"default">
3021 <td class=
"description last">
3028 <p>The protocol backend to use, e.g.
<code>static
</code> or
<code>dhcp
</code>.
</p></td>
3035 <td class=
"name"><code>netname
</code></td>
3041 <span class=
"param-type">string
</span>
3048 <td class=
"default">
3055 <td class=
"description last">
3058 <span class=
"optional">optional
</span>
3064 <p>The network name to use for the instantiated protocol. This should be
3065 usually set to one of the interfaces described in /etc/config/network
3066 but it is allowed to omit it, e.g. to query protocol capabilities
3067 without the need for an existing interface.
</p></td>
3076 <dl class=
"details">
3114 <table class=
"params">
3119 <th class=
"last">Description
</th>
3131 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
3135 <td class=
"description last">Returns the instantiated protocol backend class or
<code>null
</code> if the given
3136 protocol isn't known.
</td>
3150 <div class=
"nameContainer">
3151 <h4 class=
"name" id=
"getProtocols">
3153 getProtocols
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>}
</span>
3157 <div class=
"tag-source">
3158 network.js, line
765
3168 <div class=
"description">
3169 <p>Obtains instances of all known
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a>
3170 backend classes.
</p>
3181 <dl class=
"details">
3219 <table class=
"params">
3224 <th class=
"last">Description
</th>
3233 Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>
3237 <td class=
"description last">Returns an array of protocol class instances.
</td>
3251 <div class=
"nameContainer">
3252 <h4 class=
"name" id=
"getSwitchTopologies">
3254 getSwitchTopologies
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Object.
<string,
<a href=
"LuCI.Network.html#.SwitchTopology">LuCI.Network.SwitchTopology
</a>>>}
</span>
3258 <div class=
"tag-source">
3259 network.js, line
1538
3269 <div class=
"description">
3270 <p>Returns the topologies of all swconfig switches found on the system.
</p>
3281 <dl class=
"details">
3319 <table class=
"params">
3324 <th class=
"last">Description
</th>
3333 Promise.
<Object.
<string,
<a href=
"LuCI.Network.html#.SwitchTopology">LuCI.Network.SwitchTopology
</a>>>
3337 <td class=
"description last">Returns a promise resolving to an object containing the topologies
3338 of each switch. The object keys correspond to the name of the switches
3339 such as
<code>switch0
</code>, the values are
3340 <a href=
"LuCI.Network.html#.SwitchTopology"><code>SwitchTopology
</code></a> objects describing
3355 <div class=
"nameContainer">
3356 <h4 class=
"name" id=
"getWAN6Networks">
3358 getWAN6Networks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>}
</span>
3362 <div class=
"tag-source">
3363 network.js, line
1493
3373 <div class=
"description">
3374 <p>Get IPv6 wan networks.
</p>
3375 <p>This function looks up all networks having a default
<code>::/
0</code> route
3376 and returns them as array.
</p>
3387 <dl class=
"details">
3425 <table class=
"params">
3430 <th class=
"last">Description
</th>
3439 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
3443 <td class=
"description last">Returns a promise resolving to an array of
<code>Protocol
</code> subclass
3444 instances describing the found IPv6 default route interfaces.
</td>
3458 <div class=
"nameContainer">
3459 <h4 class=
"name" id=
"getWANNetworks">
3461 getWANNetworks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>}
</span>
3465 <div class=
"tag-source">
3466 network.js, line
1472
3476 <div class=
"description">
3477 <p>Get IPv4 wan networks.
</p>
3478 <p>This function looks up all networks having a default
<code>0.0.0.0/
0</code> route
3479 and returns them as array.
</p>
3490 <dl class=
"details">
3528 <table class=
"params">
3533 <th class=
"last">Description
</th>
3542 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
3546 <td class=
"description last">Returns a promise resolving to an array of
<code>Protocol
</code> subclass
3547 instances describing the found default route interfaces.
</td>
3561 <div class=
"nameContainer">
3562 <h4 class=
"name" id=
"getWifiDevice">
3564 getWifiDevice
<span class=
"signature">(devname)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>)
>}
</span>
3568 <div class=
"tag-source">
3569 network.js, line
1240
3579 <div class=
"description">
3580 <p>Get a
<a href=
"LuCI.Network.WifiDevice.html"><code>WifiDevice
</code></a> instance describing
3581 the given wireless radio.
</p>
3592 <table class=
"params">
3603 <th class=
"last">Description
</th>
3612 <td class=
"name"><code>devname
</code></td>
3618 <span class=
"param-type">string
</span>
3626 <td class=
"description last">
3628 <p>The configuration name of the wireless radio to lookup, e.g.
<code>radio0
</code>
3629 for the first mac80211 phy on the system.
</p></td>
3638 <dl class=
"details">
3676 <table class=
"params">
3681 <th class=
"last">Description
</th>
3690 Promise.
<(null|
<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>)
>
3694 <td class=
"description last">Returns a promise resolving to the
<code>WifiDevice
</code> instance describing
3695 the underlying radio device or
<code>null
</code> if the wireless radio could not
3710 <div class=
"nameContainer">
3711 <h4 class=
"name" id=
"getWifiDevices">
3713 getWifiDevices
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>>>}
</span>
3717 <div class=
"tag-source">
3718 network.js, line
1260
3728 <div class=
"description">
3729 <p>Obtain a list of all configured radio devices.
</p>
3740 <dl class=
"details">
3778 <table class=
"params">
3783 <th class=
"last">Description
</th>
3792 Promise.
<Array.
<<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>>>
3796 <td class=
"description last">Returns a promise resolving to an array of
<code>WifiDevice
</code> instances
3797 describing the wireless radios configured in the system.
3798 The order of the array corresponds to the order of the radios in
3799 the configuration.
</td>
3813 <div class=
"nameContainer">
3814 <h4 class=
"name" id=
"getWifiNetwork">
3816 getWifiNetwork
<span class=
"signature">(netname)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>}
</span>
3820 <div class=
"tag-source">
3821 network.js, line
1289
3831 <div class=
"description">
3832 <p>Get a
<a href=
"LuCI.Network.WifiNetwork.html"><code>WifiNetwork
</code></a> instance describing
3833 the given wireless network.
</p>
3844 <table class=
"params">
3855 <th class=
"last">Description
</th>
3864 <td class=
"name"><code>netname
</code></td>
3870 <span class=
"param-type">string
</span>
3878 <td class=
"description last">
3880 <p>The name of the wireless network to lookup. This may be either an uci
3881 configuration section ID, a network ID in the form
<code>radio#.network#
</code>
3882 or a Linux network device name like
<code>wlan0
</code> which is resolved to the
3883 corresponding configuration section through
<code>ubus
</code> runtime information.
</p></td>
3892 <dl class=
"details">
3930 <table class=
"params">
3935 <th class=
"last">Description
</th>
3944 Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>
3948 <td class=
"description last">Returns a promise resolving to the
<code>WifiNetwork
</code> instance describing
3949 the wireless network or
<code>null
</code> if the corresponding network could not
3964 <div class=
"nameContainer">
3965 <h4 class=
"name" id=
"isIgnoredDevice">
3967 isIgnoredDevice
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
3971 <div class=
"tag-source">
3972 network.js, line
1223
3982 <div class=
"description">
3983 <p>Test if a given network device name is in the list of patterns for
3984 device names to ignore.
</p>
3985 <p>Ignored device names are usually Linux network devices which are
3986 spawned implicitly by kernel modules such as
<code>tunl0
</code> or
<code>hwsim0
</code>
3987 and which are unsuitable for use in network configuration.
</p>
3998 <table class=
"params">
4009 <th class=
"last">Description
</th>
4018 <td class=
"name"><code>name
</code></td>
4024 <span class=
"param-type">string
</span>
4032 <td class=
"description last">
4034 <p>The device name to test.
</p></td>
4043 <dl class=
"details">
4081 <table class=
"params">
4086 <th class=
"last">Description
</th>
4099 <td class=
"description last">Returns
<code>true
</code> if the given name is in the ignore pattern list,
4100 else returns
<code>false
</code>.
</td>
4114 <div class=
"nameContainer">
4115 <h4 class=
"name" id=
"maskToPrefix">
4117 maskToPrefix
<span class=
"signature">(netmask,
<span class=
"optional">v6
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|number}
</span>
4121 <div class=
"tag-source">
4122 network.js, line
664
4132 <div class=
"description">
4133 <p>Converts the given netmask to a prefix size in bits.
</p>
4144 <table class=
"params">
4157 <th class=
"last">Description
</th>
4166 <td class=
"name"><code>netmask
</code></td>
4172 <span class=
"param-type">string
</span>
4179 <td class=
"default">
4184 <td class=
"description last">
4191 <p>The netmask to convert into a bit count.
</p></td>
4198 <td class=
"name"><code>v6
</code></td>
4204 <span class=
"param-type">boolean
</span>
4211 <td class=
"default">
4218 <td class=
"description last">
4221 <span class=
"optional">optional
</span>
4227 <p>Whether to parse the given netmask as IPv4 (
<code>false
</code>) or IPv6 (
<code>true
</code>)
4237 <dl class=
"details">
4275 <table class=
"params">
4280 <th class=
"last">Description
</th>
4296 <td class=
"description last">Returns the number of prefix bits contained in the netmask or
<code>null
</code>
4297 if the given netmask value was invalid.
</td>
4311 <div class=
"nameContainer">
4312 <h4 class=
"name" id=
"prefixToMask">
4314 prefixToMask
<span class=
"signature">(bits,
<span class=
"optional">v6
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
4318 <div class=
"tag-source">
4319 network.js, line
646
4329 <div class=
"description">
4330 <p>Converts the given prefix size in bits to a netmask.
</p>
4341 <table class=
"params">
4354 <th class=
"last">Description
</th>
4363 <td class=
"name"><code>bits
</code></td>
4369 <span class=
"param-type">number
</span>
4376 <td class=
"default">
4381 <td class=
"description last">
4388 <p>The prefix size in bits.
</p></td>
4395 <td class=
"name"><code>v6
</code></td>
4401 <span class=
"param-type">boolean
</span>
4408 <td class=
"default">
4415 <td class=
"description last">
4418 <span class=
"optional">optional
</span>
4424 <p>Whether to convert the bits value into an IPv4 netmask (
<code>false
</code>) or
4425 an IPv6 netmask (
<code>true
</code>).
</p></td>
4434 <dl class=
"details">
4472 <table class=
"params">
4477 <th class=
"last">Description
</th>
4493 <td class=
"description last">Returns a string containing the netmask corresponding to the bit count
4494 or
<code>null
</code> when the given amount of bits exceeds the maximum possible
4495 value of
<code>32</code> for IPv4 or
<code>128</code> for IPv6.
</td>
4509 <div class=
"nameContainer">
4510 <h4 class=
"name" id=
"registerErrorCode">
4512 registerErrorCode
<span class=
"signature">(code, message)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4516 <div class=
"tag-source">
4517 network.js, line
853
4527 <div class=
"description">
4528 <p>Registers a new human readable translation string for a
<code>Protocol
</code>
4540 <table class=
"params">
4551 <th class=
"last">Description
</th>
4560 <td class=
"name"><code>code
</code></td>
4566 <span class=
"param-type">string
</span>
4574 <td class=
"description last">
4576 <p>The
<code>ubus
</code> protocol error code to register a translation for, e.g.
4577 <code>NO_DEVICE
</code>.
</p></td>
4584 <td class=
"name"><code>message
</code></td>
4590 <span class=
"param-type">string
</span>
4598 <td class=
"description last">
4600 <p>The message to use as translation for the given protocol error code.
</p></td>
4609 <dl class=
"details">
4647 <table class=
"params">
4652 <th class=
"last">Description
</th>
4665 <td class=
"description last">Returns
<code>true
</code> if the error code description has been added or
<code>false
</code>
4666 if either the arguments were invalid or if there already was a
4667 description for the given code.
</td>
4681 <div class=
"nameContainer">
4682 <h4 class=
"name" id=
"registerPatternVirtual">
4684 registerPatternVirtual
<span class=
"signature">(pat)
</span>
4688 <div class=
"tag-source">
4689 network.js, line
833
4699 <div class=
"description">
4700 <p>Registers a new regular expression pattern to recognize
4701 virtual interfaces.
</p>
4712 <table class=
"params">
4723 <th class=
"last">Description
</th>
4732 <td class=
"name"><code>pat
</code></td>
4738 <span class=
"param-type">RegExp
</span>
4746 <td class=
"description last">
4748 <p>A
<code>RegExp
</code> instance to match a virtual interface name
4749 such as
<code>6in4-wan
</code> or
<code>tun0
</code>.
</p></td>
4758 <dl class=
"details">
4799 <div class=
"nameContainer">
4800 <h4 class=
"name" id=
"registerProtocol">
4802 registerProtocol
<span class=
"signature">(protoname, methods)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>}
</span>
4806 <div class=
"tag-source">
4807 network.js, line
792
4817 <div class=
"description">
4818 <p>Registers a new
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass
4819 with the given methods and returns the resulting subclass value.
</p>
4820 <p>This functions internally calls
4821 <a href=
"LuCI.Class.html#.extend"><code>Class.extend()
</code></a> on the
<code>Network.Protocol
</code>
4833 <table class=
"params">
4844 <th class=
"last">Description
</th>
4853 <td class=
"name"><code>protoname
</code></td>
4859 <span class=
"param-type">string
</span>
4867 <td class=
"description last">
4869 <p>The name of the new protocol to register.
</p></td>
4876 <td class=
"name"><code>methods
</code></td>
4882 <span class=
"param-type">Object.
<string, *
></span>
4890 <td class=
"description last">
4892 <p>The member methods and values of the new
<code>Protocol
</code> subclass to
4893 be passed to
<a href=
"LuCI.Class.html#.extend"><code>Class.extend()
</code></a>.
</p></td>
4902 <dl class=
"details">
4940 <table class=
"params">
4945 <th class=
"last">Description
</th>
4954 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
4958 <td class=
"description last">Returns the new
<code>Protocol
</code> subclass.
</td>
4972 <div class=
"nameContainer">
4973 <h4 class=
"name" id=
"renameNetwork">
4975 renameNetwork
<span class=
"signature">(oldName, newName)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
4979 <div class=
"tag-source">
4980 network.js, line
1026
4990 <div class=
"description">
4991 <p>Rename the given network and its references to a new name.
</p>
5002 <table class=
"params">
5013 <th class=
"last">Description
</th>
5022 <td class=
"name"><code>oldName
</code></td>
5028 <span class=
"param-type">string
</span>
5036 <td class=
"description last">
5038 <p>The current name of the network.
</p></td>
5045 <td class=
"name"><code>newName
</code></td>
5051 <span class=
"param-type">string
</span>
5059 <td class=
"description last">
5061 <p>The name to rename the network to, must be in the format
5062 <code>[a-z-A-Z0-
9_]+
</code>.
</p></td>
5071 <dl class=
"details">
5109 <table class=
"params">
5114 <th class=
"last">Description
</th>
5123 Promise.
<boolean
>
5127 <td class=
"description last">Returns a promise resolving to either
<code>true
</code> if the network was
5128 successfully renamed or
<code>false
</code> if the new name was invalid, if
5129 a network with the new name already exists or if the network to
5130 rename could not be found.
</td>
5145 <h3 class=
"subsection-title">Type Definitions
</h3>
5150 <div class=
"nameContainer">
5151 <h4 class=
"name" id=
".SwitchTopology">LuCI.Network.SwitchTopology
<span class=
"type-signature type object.<string, (object|array)>">Object.
<string, (Object|Array)
></span> </h4>
5158 <div class=
"description">
5159 <p>Describes an swconfig switch topology by specifying the CPU
5160 connections and external port labels of a switch.
</p>
5165 <dl class=
"details">
5168 <h5 class=
"subsection-title">Properties:
</h5>
5172 <table class=
"props">
5185 <th class=
"last">Description
</th>
5194 <td class=
"name"><code>netdevs
</code></td>
5200 <span class=
"param-type">Object.
<number, string
></span>
5210 <td class=
"description last"><p>The
<code>netdevs
</code> property points to an object describing the CPU port
5211 connections of the switch. The numeric key of the enclosed object is
5212 the port number, the value contains the Linux network device name the
5213 port is hardwired to.
</p></td>
5220 <td class=
"name"><code>ports
</code></td>
5226 <span class=
"param-type">Array.
<Object.
<string, (boolean|number|string)
>></span>
5236 <td class=
"description last"><p>The
<code>ports
</code> property points to an array describing the populated
5237 ports of the switch in the external label order. Each array item is
5238 an object containg the following keys:
</p>
5240 <li><code>num
</code> - the internal switch port number
</li>
5241 <li><code>label
</code> - the label of the port, e.g.
<code>LAN
1</code> or
<code>CPU (eth0)
</code></li>
5242 <li><code>device
</code> - the connected Linux network device name (CPU ports only)
</li>
5243 <li><code>tagged
</code> - a boolean indicating whether the port must be tagged to
5244 function (CPU ports only)
</li>
5282 <div class=
"nameContainer">
5283 <h4 class=
"name" id=
".WifiEncryption">LuCI.Network.WifiEncryption
<span class=
"type-signature type object.<string, (boolean|array.<(number|string)>)>">Object.
<string, (boolean|Array.
<(number|string)
>)
></span> </h4>
5290 <div class=
"description">
5291 <p>An encryption entry describes active wireless encryption settings
5292 such as the used key management protocols, active ciphers and
5293 protocol versions.
</p>
5298 <dl class=
"details">
5301 <h5 class=
"subsection-title">Properties:
</h5>
5305 <table class=
"props">
5320 <th class=
"last">Description
</th>
5329 <td class=
"name"><code>enabled
</code></td>
5335 <span class=
"param-type">boolean
</span>
5342 <td class=
"attributes">
5351 <td class=
"description last"><p>Specifies whether any kind of encryption, such as
<code>WEP
</code> or
<code>WPA
</code> is
5352 enabled. If set to
<code>false
</code>, then no encryption is active and the
5353 corresponding network is open.
</p></td>
5360 <td class=
"name"><code>wep
</code></td>
5366 <span class=
"param-type">Array.
<string
></span>
5373 <td class=
"attributes">
5384 <td class=
"description last"><p>When the
<code>wep
</code> property exists, the network uses WEP encryption.
5385 In this case, the property is set to an array of active WEP modes
5386 which might be either
<code>open
</code>,
<code>shared
</code> or both.
</p></td>
5393 <td class=
"name"><code>wpa
</code></td>
5399 <span class=
"param-type">Array.
<number
></span>
5406 <td class=
"attributes">
5417 <td class=
"description last"><p>When the
<code>wpa
</code> property exists, the network uses WPA security.
5418 In this case, the property is set to an array containing the WPA
5419 protocol versions used, e.g.
<code>[
1,
2 ]
</code> for WPA/WPA2 mixed mode or
5420 <code>[
3 ]
</code> for WPA3-SAE.
</p></td>
5427 <td class=
"name"><code>authentication
</code></td>
5433 <span class=
"param-type">Array.
<string
></span>
5440 <td class=
"attributes">
5451 <td class=
"description last"><p>The
<code>authentication
</code> property only applies to WPA encryption and
5452 is defined when the
<code>wpa
</code> property is set as well. It points to
5453 an array of active authentication suites used by the network, e.g.
5454 <code>[
"psk
" ]
</code> for a WPA(
2)-PSK network or
<code>[
"psk
",
"sae
" ]
</code> for
5455 mixed WPA2-PSK/WPA3-SAE encryption.
</p></td>
5462 <td class=
"name"><code>ciphers
</code></td>
5468 <span class=
"param-type">Array.
<string
></span>
5475 <td class=
"attributes">
5486 <td class=
"description last"><p>If either WEP or WPA encryption is active, then the
<code>ciphers
</code>
5487 property will be set to an array describing the active encryption
5488 ciphers used by the network, e.g.
<code>[
"tkip
",
"ccmp
" ]
</code> for a
5489 WPA/WPA2-PSK mixed network or
<code>[
"wep-
40",
"wep-
104" ]
</code> for an
5490 WEP network.
</p></td>
5527 <div class=
"nameContainer">
5528 <h4 class=
"name" id=
".WifiPeerEntry">LuCI.Network.WifiPeerEntry
<span class=
"type-signature type object.<string, (boolean|number|string|luci.network.wifirateentry)>">Object.
<string, (boolean|number|string|
<a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a>)
></span> </h4>
5535 <div class=
"description">
5536 <p>A wireless peer entry describes the properties of a remote wireless
5537 peer associated with a local network.
</p>
5542 <dl class=
"details">
5545 <h5 class=
"subsection-title">Properties:
</h5>
5549 <table class=
"props">
5564 <th class=
"last">Description
</th>
5573 <td class=
"name"><code>mac
</code></td>
5579 <span class=
"param-type">string
</span>
5586 <td class=
"attributes">
5595 <td class=
"description last"><p>The MAC address (BSSID).
</p></td>
5602 <td class=
"name"><code>signal
</code></td>
5608 <span class=
"param-type">number
</span>
5615 <td class=
"attributes">
5624 <td class=
"description last"><p>The received signal strength.
</p></td>
5631 <td class=
"name"><code>signal_avg
</code></td>
5637 <span class=
"param-type">number
</span>
5644 <td class=
"attributes">
5655 <td class=
"description last"><p>The average signal strength if supported by the driver.
</p></td>
5662 <td class=
"name"><code>noise
</code></td>
5668 <span class=
"param-type">number
</span>
5675 <td class=
"attributes">
5686 <td class=
"description last"><p>The current noise floor of the radio. May be
<code>0</code> or absent if not
5687 supported by the driver.
</p></td>
5694 <td class=
"name"><code>inactive
</code></td>
5700 <span class=
"param-type">number
</span>
5707 <td class=
"attributes">
5716 <td class=
"description last"><p>The amount of milliseconds the peer has been inactive, e.g. due
5717 to powersave.
</p></td>
5724 <td class=
"name"><code>connected_time
</code></td>
5730 <span class=
"param-type">number
</span>
5737 <td class=
"attributes">
5746 <td class=
"description last"><p>The amount of milliseconds the peer is associated to this network.
</p></td>
5753 <td class=
"name"><code>thr
</code></td>
5759 <span class=
"param-type">number
</span>
5766 <td class=
"attributes">
5777 <td class=
"description last"><p>The estimated throughput of the peer, May be
<code>0</code> or absent if not
5778 supported by the driver.
</p></td>
5785 <td class=
"name"><code>authorized
</code></td>
5791 <span class=
"param-type">boolean
</span>
5798 <td class=
"attributes">
5807 <td class=
"description last"><p>Specifies whether the peer is authorized to associate to this network.
</p></td>
5814 <td class=
"name"><code>authenticated
</code></td>
5820 <span class=
"param-type">boolean
</span>
5827 <td class=
"attributes">
5836 <td class=
"description last"><p>Specifies whether the peer completed authentication to this network.
</p></td>
5843 <td class=
"name"><code>preamble
</code></td>
5849 <span class=
"param-type">string
</span>
5856 <td class=
"attributes">
5865 <td class=
"description last"><p>The preamble mode used by the peer. May be
<code>long
</code> or
<code>short
</code>.
</p></td>
5872 <td class=
"name"><code>wme
</code></td>
5878 <span class=
"param-type">boolean
</span>
5885 <td class=
"attributes">
5894 <td class=
"description last"><p>Specifies whether the peer supports WME/WMM capabilities.
</p></td>
5901 <td class=
"name"><code>mfp
</code></td>
5907 <span class=
"param-type">boolean
</span>
5914 <td class=
"attributes">
5923 <td class=
"description last"><p>Specifies whether management frame protection is active.
</p></td>
5930 <td class=
"name"><code>tdls
</code></td>
5936 <span class=
"param-type">boolean
</span>
5943 <td class=
"attributes">
5952 <td class=
"description last"><p>Specifies whether TDLS is active.
</p></td>
5959 <td class=
"name"><code>mesh llid
</code></td>
5965 <span class=
"param-type">number
</span>
5972 <td class=
"attributes">
5983 <td class=
"description last"><p>The mesh LLID, may be
<code>0</code> or absent if not applicable or supported
5984 by the driver.
</p></td>
5991 <td class=
"name"><code>mesh plid
</code></td>
5997 <span class=
"param-type">number
</span>
6004 <td class=
"attributes">
6015 <td class=
"description last"><p>The mesh PLID, may be
<code>0</code> or absent if not applicable or supported
6016 by the driver.
</p></td>
6023 <td class=
"name"><code>mesh plink
</code></td>
6029 <span class=
"param-type">string
</span>
6036 <td class=
"attributes">
6047 <td class=
"description last"><p>The mesh peer link state description, may be an empty string (
<code>''
</code>)
6048 or absent if not applicable or supported by the driver.
</p>
6049 <p>The following states are known:
</p>
6051 <li><code>LISTEN
</code></li>
6052 <li><code>OPN_SNT
</code></li>
6053 <li><code>OPN_RCVD
</code></li>
6054 <li><code>CNF_RCVD
</code></li>
6055 <li><code>ESTAB
</code></li>
6056 <li><code>HOLDING
</code></li>
6057 <li><code>BLOCKED
</code></li>
6058 <li><code>UNKNOWN
</code></li>
6066 <td class=
"name"><code>mesh local PS
</code></td>
6072 <span class=
"param-type">number
</span>
6079 <td class=
"attributes">
6090 <td class=
"description last"><p>The local powersafe mode for the peer link, may be an empty
6091 string (
<code>''
</code>) or absent if not applicable or supported by
6093 <p>The following modes are known:
</p>
6095 <li><code>ACTIVE
</code> (no power save)
</li>
6096 <li><code>LIGHT SLEEP
</code></li>
6097 <li><code>DEEP SLEEP
</code></li>
6098 <li><code>UNKNOWN
</code></li>
6106 <td class=
"name"><code>mesh peer PS
</code></td>
6112 <span class=
"param-type">number
</span>
6119 <td class=
"attributes">
6130 <td class=
"description last"><p>The remote powersafe mode for the peer link, may be an empty
6131 string (
<code>''
</code>) or absent if not applicable or supported by
6133 <p>The following modes are known:
</p>
6135 <li><code>ACTIVE
</code> (no power save)
</li>
6136 <li><code>LIGHT SLEEP
</code></li>
6137 <li><code>DEEP SLEEP
</code></li>
6138 <li><code>UNKNOWN
</code></li>
6146 <td class=
"name"><code>mesh non-peer PS
</code></td>
6152 <span class=
"param-type">number
</span>
6159 <td class=
"attributes">
6170 <td class=
"description last"><p>The powersafe mode for all non-peer neigbours, may be an empty
6171 string (
<code>''
</code>) or absent if not applicable or supported by the driver.
</p>
6172 <p>The following modes are known:
</p>
6174 <li><code>ACTIVE
</code> (no power save)
</li>
6175 <li><code>LIGHT SLEEP
</code></li>
6176 <li><code>DEEP SLEEP
</code></li>
6177 <li><code>UNKNOWN
</code></li>
6185 <td class=
"name"><code>rx
</code></td>
6191 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a></span>
6198 <td class=
"attributes">
6207 <td class=
"description last"><p>Describes the receiving wireless rate from the peer.
</p></td>
6214 <td class=
"name"><code>tx
</code></td>
6220 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a></span>
6227 <td class=
"attributes">
6236 <td class=
"description last"><p>Describes the transmitting wireless rate to the peer.
</p></td>
6273 <div class=
"nameContainer">
6274 <h4 class=
"name" id=
".WifiRateEntry">LuCI.Network.WifiRateEntry
<span class=
"type-signature type object.<string, (boolean|number)>">Object.
<string, (boolean|number)
></span> </h4>
6281 <div class=
"description">
6282 <p>A wireless rate entry describes the properties of a wireless
6283 transmission rate to or from a peer.
</p>
6288 <dl class=
"details">
6291 <h5 class=
"subsection-title">Properties:
</h5>
6295 <table class=
"props">
6310 <th class=
"last">Description
</th>
6319 <td class=
"name"><code>drop_misc
</code></td>
6325 <span class=
"param-type">number
</span>
6332 <td class=
"attributes">
6343 <td class=
"description last"><p>The amount of received misc. packages that have been dropped, e.g.
6344 due to corruption or missing authentication. Only applicable to
6345 receiving rates.
</p></td>
6352 <td class=
"name"><code>packets
</code></td>
6358 <span class=
"param-type">number
</span>
6365 <td class=
"attributes">
6374 <td class=
"description last"><p>The amount of packets that have been received or sent.
</p></td>
6381 <td class=
"name"><code>bytes
</code></td>
6387 <span class=
"param-type">number
</span>
6394 <td class=
"attributes">
6403 <td class=
"description last"><p>The amount of bytes that have been received or sent.
</p></td>
6410 <td class=
"name"><code>failed
</code></td>
6416 <span class=
"param-type">number
</span>
6423 <td class=
"attributes">
6434 <td class=
"description last"><p>The amount of failed tranmission attempts. Only applicable to
6435 transmit rates.
</p></td>
6442 <td class=
"name"><code>retries
</code></td>
6448 <span class=
"param-type">number
</span>
6455 <td class=
"attributes">
6466 <td class=
"description last"><p>The amount of retried transmissions. Only applicable to transmit
6474 <td class=
"name"><code>is_ht
</code></td>
6480 <span class=
"param-type">boolean
</span>
6487 <td class=
"attributes">
6496 <td class=
"description last"><p>Specifies whether this rate is an HT (IEEE
802.11n) rate.
</p></td>
6503 <td class=
"name"><code>is_vht
</code></td>
6509 <span class=
"param-type">boolean
</span>
6516 <td class=
"attributes">
6525 <td class=
"description last"><p>Specifies whether this rate is an VHT (IEEE
802.11ac) rate.
</p></td>
6532 <td class=
"name"><code>mhz
</code></td>
6538 <span class=
"param-type">number
</span>
6545 <td class=
"attributes">
6554 <td class=
"description last"><p>The channel width in MHz used for the transmission.
</p></td>
6561 <td class=
"name"><code>rate
</code></td>
6567 <span class=
"param-type">number
</span>
6574 <td class=
"attributes">
6583 <td class=
"description last"><p>The bitrate in bit/s of the transmission.
</p></td>
6590 <td class=
"name"><code>mcs
</code></td>
6596 <span class=
"param-type">number
</span>
6603 <td class=
"attributes">
6614 <td class=
"description last"><p>The MCS index of the used transmission rate. Only applicable to
6615 HT or VHT rates.
</p></td>
6622 <td class=
"name"><code>40mhz
</code></td>
6628 <span class=
"param-type">number
</span>
6635 <td class=
"attributes">
6646 <td class=
"description last"><p>Specifies whether the tranmission rate used
40MHz wide channel.
6647 Only applicable to HT or VHT rates.
</p>
6648 <p>Note: this option exists for backwards compatibility only and its
6649 use is discouraged. The
<code>mhz
</code> field should be used instead to
6650 determine the channel width.
</p></td>
6657 <td class=
"name"><code>short_gi
</code></td>
6663 <span class=
"param-type">boolean
</span>
6670 <td class=
"attributes">
6681 <td class=
"description last"><p>Specifies whether a short guard interval is used for the transmission.
6682 Only applicable to HT or VHT rates.
</p></td>
6689 <td class=
"name"><code>nss
</code></td>
6695 <span class=
"param-type">number
</span>
6702 <td class=
"attributes">
6713 <td class=
"description last"><p>Specifies the number of spatial streams used by the transmission.
6714 Only applicable to VHT rates.
</p></td>
6751 <div class=
"nameContainer">
6752 <h4 class=
"name" id=
".WifiScanResult">LuCI.Network.WifiScanResult
<span class=
"type-signature type object.<string, (number|string|luci.network.wifiencryption)>">Object.
<string, (number|string|
<a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a>)
></span> </h4>
6759 <div class=
"description">
6760 <p>A wireless scan result object describes a neighbouring wireless
6761 network found in the vincinity.
</p>
6766 <dl class=
"details">
6769 <h5 class=
"subsection-title">Properties:
</h5>
6773 <table class=
"props">
6786 <th class=
"last">Description
</th>
6795 <td class=
"name"><code>ssid
</code></td>
6801 <span class=
"param-type">string
</span>
6811 <td class=
"description last"><p>The SSID / Mesh ID of the network.
</p></td>
6818 <td class=
"name"><code>bssid
</code></td>
6824 <span class=
"param-type">string
</span>
6834 <td class=
"description last"><p>The BSSID if the network.
</p></td>
6841 <td class=
"name"><code>mode
</code></td>
6847 <span class=
"param-type">string
</span>
6857 <td class=
"description last"><p>The operation mode of the network (
<code>Master
</code>,
<code>Ad-Hoc
</code>,
<code>Mesh Point
</code>).
</p></td>
6864 <td class=
"name"><code>channel
</code></td>
6870 <span class=
"param-type">number
</span>
6880 <td class=
"description last"><p>The wireless channel of the network.
</p></td>
6887 <td class=
"name"><code>signal
</code></td>
6893 <span class=
"param-type">number
</span>
6903 <td class=
"description last"><p>The received signal strength of the network in dBm.
</p></td>
6910 <td class=
"name"><code>quality
</code></td>
6916 <span class=
"param-type">number
</span>
6926 <td class=
"description last"><p>The numeric quality level of the signal, can be used in conjunction
6927 with
<code>quality_max
</code> to calculate a quality percentage.
</p></td>
6934 <td class=
"name"><code>quality_max
</code></td>
6940 <span class=
"param-type">number
</span>
6950 <td class=
"description last"><p>The maximum possible quality level of the signal, can be used in
6951 conjunction with
<code>quality
</code> to calculate a quality percentage.
</p></td>
6958 <td class=
"name"><code>encryption
</code></td>
6964 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a></span>
6974 <td class=
"description last"><p>The encryption used by the wireless network.
</p></td>
7025 Documentation generated by
<a target=
"_blank" href=
"https://github.com/jsdoc3/jsdoc">JSDoc
3.6.3</a> on Tue Nov
05 2019 10:
17:
12 GMT+
0100 (Central European Standard Time)
7029 <script>prettyPrint();
</script>
7030 <script src=
"scripts/jaguar.js"></script>