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":{
"outputSourceFiles":true}};
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#media"><a href=
"LuCI.html#media">media
</a></li>
79 <li data-name=
"LuCI#path"><a href=
"LuCI.html#path">path
</a></li>
81 <li data-name=
"LuCI#poll"><a href=
"LuCI.html#poll">poll
</a></li>
83 <li data-name=
"LuCI#post"><a href=
"LuCI.html#post">post
</a></li>
85 <li data-name=
"LuCI#raise"><a href=
"LuCI.html#raise">raise
</a></li>
87 <li data-name=
"LuCI#require"><a href=
"LuCI.html#require">require
</a></li>
89 <li data-name=
"LuCI#resolveDefault"><a href=
"LuCI.html#resolveDefault">resolveDefault
</a></li>
91 <li data-name=
"LuCI#resource"><a href=
"LuCI.html#resource">resource
</a></li>
93 <li data-name=
"LuCI#run"><a href=
"LuCI.html#run">run
</a></li>
95 <li data-name=
"LuCI#sortedKeys"><a href=
"LuCI.html#sortedKeys">sortedKeys
</a></li>
97 <li data-name=
"LuCI#stop"><a href=
"LuCI.html#stop">stop
</a></li>
99 <li data-name=
"LuCI#toArray"><a href=
"LuCI.html#toArray">toArray
</a></li>
101 <li data-name=
"LuCI#url"><a href=
"LuCI.html#url">url
</a></li>
104 <ul class=
"events itemMembers">
109 <li class=
"item" data-name=
"LuCI.Class">
111 <a href=
"LuCI.Class.html">LuCI.Class
</a>
114 <ul class=
"members itemMembers">
117 <ul class=
"typedefs itemMembers">
120 <ul class=
"typedefs itemMembers">
123 <ul class=
"methods itemMembers">
125 <span class=
"subtitle">Methods
</span>
127 <li data-name=
"LuCI.Class.extend"><a href=
"LuCI.Class.html#.extend">extend
</a></li>
129 <li data-name=
"LuCI.Class.instantiate"><a href=
"LuCI.Class.html#.instantiate">instantiate
</a></li>
131 <li data-name=
"LuCI.Class.isSubclass"><a href=
"LuCI.Class.html#.isSubclass">isSubclass
</a></li>
133 <li data-name=
"LuCI.Class.singleton"><a href=
"LuCI.Class.html#.singleton">singleton
</a></li>
135 <li data-name=
"LuCI.Class#super"><a href=
"LuCI.Class.html#super">super
</a></li>
137 <li data-name=
"LuCI.Class#varargs"><a href=
"LuCI.Class.html#varargs">varargs
</a></li>
140 <ul class=
"events itemMembers">
145 <li class=
"item" data-name=
"LuCI.dom">
147 <a href=
"LuCI.dom.html">LuCI.dom
</a>
150 <ul class=
"members itemMembers">
153 <ul class=
"typedefs itemMembers">
155 <span class=
"subtitle">Typedefs
</span>
157 <li data-name=
"LuCI.dom~ignoreCallbackFn"><a href=
"LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn
</a></li>
160 <ul class=
"typedefs itemMembers">
163 <ul class=
"methods itemMembers">
165 <span class=
"subtitle">Methods
</span>
167 <li data-name=
"LuCI.dom#append"><a href=
"LuCI.dom.html#append">append
</a></li>
169 <li data-name=
"LuCI.dom#attr"><a href=
"LuCI.dom.html#attr">attr
</a></li>
171 <li data-name=
"LuCI.dom#bindClassInstance"><a href=
"LuCI.dom.html#bindClassInstance">bindClassInstance
</a></li>
173 <li data-name=
"LuCI.dom#callClassMethod"><a href=
"LuCI.dom.html#callClassMethod">callClassMethod
</a></li>
175 <li data-name=
"LuCI.dom#content"><a href=
"LuCI.dom.html#content">content
</a></li>
177 <li data-name=
"LuCI.dom#create"><a href=
"LuCI.dom.html#create">create
</a></li>
179 <li data-name=
"LuCI.dom#data"><a href=
"LuCI.dom.html#data">data
</a></li>
181 <li data-name=
"LuCI.dom#elem"><a href=
"LuCI.dom.html#elem">elem
</a></li>
183 <li data-name=
"LuCI.dom#findClassInstance"><a href=
"LuCI.dom.html#findClassInstance">findClassInstance
</a></li>
185 <li data-name=
"LuCI.dom#isEmpty"><a href=
"LuCI.dom.html#isEmpty">isEmpty
</a></li>
187 <li data-name=
"LuCI.dom#matches"><a href=
"LuCI.dom.html#matches">matches
</a></li>
189 <li data-name=
"LuCI.dom#parent"><a href=
"LuCI.dom.html#parent">parent
</a></li>
191 <li data-name=
"LuCI.dom#parse"><a href=
"LuCI.dom.html#parse">parse
</a></li>
194 <ul class=
"events itemMembers">
199 <li class=
"item" data-name=
"LuCI.fs">
201 <a href=
"LuCI.fs.html">LuCI.fs
</a>
204 <ul class=
"members itemMembers">
207 <ul class=
"typedefs itemMembers">
209 <span class=
"subtitle">Typedefs
</span>
211 <li data-name=
"LuCI.fs.FileExecResult"><a href=
"LuCI.fs.html#.FileExecResult">FileExecResult
</a></li>
213 <li data-name=
"LuCI.fs.FileStatEntry"><a href=
"LuCI.fs.html#.FileStatEntry">FileStatEntry
</a></li>
216 <ul class=
"typedefs itemMembers">
219 <ul class=
"methods itemMembers">
221 <span class=
"subtitle">Methods
</span>
223 <li data-name=
"LuCI.fs#exec"><a href=
"LuCI.fs.html#exec">exec
</a></li>
225 <li data-name=
"LuCI.fs#exec_direct"><a href=
"LuCI.fs.html#exec_direct">exec_direct
</a></li>
227 <li data-name=
"LuCI.fs#lines"><a href=
"LuCI.fs.html#lines">lines
</a></li>
229 <li data-name=
"LuCI.fs#list"><a href=
"LuCI.fs.html#list">list
</a></li>
231 <li data-name=
"LuCI.fs#read"><a href=
"LuCI.fs.html#read">read
</a></li>
233 <li data-name=
"LuCI.fs#read_direct"><a href=
"LuCI.fs.html#read_direct">read_direct
</a></li>
235 <li data-name=
"LuCI.fs#remove"><a href=
"LuCI.fs.html#remove">remove
</a></li>
237 <li data-name=
"LuCI.fs#stat"><a href=
"LuCI.fs.html#stat">stat
</a></li>
239 <li data-name=
"LuCI.fs#trimmed"><a href=
"LuCI.fs.html#trimmed">trimmed
</a></li>
241 <li data-name=
"LuCI.fs#write"><a href=
"LuCI.fs.html#write">write
</a></li>
244 <ul class=
"events itemMembers">
249 <li class=
"item" data-name=
"LuCI.Headers">
251 <a href=
"LuCI.Headers.html">LuCI.Headers
</a>
254 <ul class=
"members itemMembers">
257 <ul class=
"typedefs itemMembers">
260 <ul class=
"typedefs itemMembers">
263 <ul class=
"methods itemMembers">
265 <span class=
"subtitle">Methods
</span>
267 <li data-name=
"LuCI.Headers#get"><a href=
"LuCI.Headers.html#get">get
</a></li>
269 <li data-name=
"LuCI.Headers#has"><a href=
"LuCI.Headers.html#has">has
</a></li>
272 <ul class=
"events itemMembers">
277 <li class=
"item" data-name=
"LuCI.Network">
279 <a href=
"LuCI.Network.html">LuCI.Network
</a>
282 <ul class=
"members itemMembers">
285 <ul class=
"typedefs itemMembers">
287 <span class=
"subtitle">Typedefs
</span>
289 <li data-name=
"LuCI.Network.SwitchTopology"><a href=
"LuCI.Network.html#.SwitchTopology">SwitchTopology
</a></li>
291 <li data-name=
"LuCI.Network.WifiEncryption"><a href=
"LuCI.Network.html#.WifiEncryption">WifiEncryption
</a></li>
293 <li data-name=
"LuCI.Network.WifiPeerEntry"><a href=
"LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry
</a></li>
295 <li data-name=
"LuCI.Network.WifiRateEntry"><a href=
"LuCI.Network.html#.WifiRateEntry">WifiRateEntry
</a></li>
297 <li data-name=
"LuCI.Network.WifiScanResult"><a href=
"LuCI.Network.html#.WifiScanResult">WifiScanResult
</a></li>
300 <ul class=
"typedefs itemMembers">
303 <ul class=
"methods itemMembers">
305 <span class=
"subtitle">Methods
</span>
307 <li data-name=
"LuCI.Network#addNetwork"><a href=
"LuCI.Network.html#addNetwork">addNetwork
</a></li>
309 <li data-name=
"LuCI.Network#addWifiNetwork"><a href=
"LuCI.Network.html#addWifiNetwork">addWifiNetwork
</a></li>
311 <li data-name=
"LuCI.Network#deleteNetwork"><a href=
"LuCI.Network.html#deleteNetwork">deleteNetwork
</a></li>
313 <li data-name=
"LuCI.Network#deleteWifiNetwork"><a href=
"LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
315 <li data-name=
"LuCI.Network#flushCache"><a href=
"LuCI.Network.html#flushCache">flushCache
</a></li>
317 <li data-name=
"LuCI.Network#formatWifiEncryption"><a href=
"LuCI.Network.html#formatWifiEncryption">formatWifiEncryption
</a></li>
319 <li data-name=
"LuCI.Network#getDevice"><a href=
"LuCI.Network.html#getDevice">getDevice
</a></li>
321 <li data-name=
"LuCI.Network#getDevices"><a href=
"LuCI.Network.html#getDevices">getDevices
</a></li>
323 <li data-name=
"LuCI.Network#getDSLModemType"><a href=
"LuCI.Network.html#getDSLModemType">getDSLModemType
</a></li>
325 <li data-name=
"LuCI.Network#getHostHints"><a href=
"LuCI.Network.html#getHostHints">getHostHints
</a></li>
327 <li data-name=
"LuCI.Network#getIfnameOf"><a href=
"LuCI.Network.html#getIfnameOf">getIfnameOf
</a></li>
329 <li data-name=
"LuCI.Network#getNetwork"><a href=
"LuCI.Network.html#getNetwork">getNetwork
</a></li>
331 <li data-name=
"LuCI.Network#getNetworks"><a href=
"LuCI.Network.html#getNetworks">getNetworks
</a></li>
333 <li data-name=
"LuCI.Network#getProtocol"><a href=
"LuCI.Network.html#getProtocol">getProtocol
</a></li>
335 <li data-name=
"LuCI.Network#getProtocols"><a href=
"LuCI.Network.html#getProtocols">getProtocols
</a></li>
337 <li data-name=
"LuCI.Network#getSwitchTopologies"><a href=
"LuCI.Network.html#getSwitchTopologies">getSwitchTopologies
</a></li>
339 <li data-name=
"LuCI.Network#getWAN6Networks"><a href=
"LuCI.Network.html#getWAN6Networks">getWAN6Networks
</a></li>
341 <li data-name=
"LuCI.Network#getWANNetworks"><a href=
"LuCI.Network.html#getWANNetworks">getWANNetworks
</a></li>
343 <li data-name=
"LuCI.Network#getWifiDevice"><a href=
"LuCI.Network.html#getWifiDevice">getWifiDevice
</a></li>
345 <li data-name=
"LuCI.Network#getWifiDevices"><a href=
"LuCI.Network.html#getWifiDevices">getWifiDevices
</a></li>
347 <li data-name=
"LuCI.Network#getWifiNetwork"><a href=
"LuCI.Network.html#getWifiNetwork">getWifiNetwork
</a></li>
349 <li data-name=
"LuCI.Network#getWifiNetworks"><a href=
"LuCI.Network.html#getWifiNetworks">getWifiNetworks
</a></li>
351 <li data-name=
"LuCI.Network#isIgnoredDevice"><a href=
"LuCI.Network.html#isIgnoredDevice">isIgnoredDevice
</a></li>
353 <li data-name=
"LuCI.Network#maskToPrefix"><a href=
"LuCI.Network.html#maskToPrefix">maskToPrefix
</a></li>
355 <li data-name=
"LuCI.Network#prefixToMask"><a href=
"LuCI.Network.html#prefixToMask">prefixToMask
</a></li>
357 <li data-name=
"LuCI.Network#registerErrorCode"><a href=
"LuCI.Network.html#registerErrorCode">registerErrorCode
</a></li>
359 <li data-name=
"LuCI.Network#registerPatternVirtual"><a href=
"LuCI.Network.html#registerPatternVirtual">registerPatternVirtual
</a></li>
361 <li data-name=
"LuCI.Network#registerProtocol"><a href=
"LuCI.Network.html#registerProtocol">registerProtocol
</a></li>
363 <li data-name=
"LuCI.Network#renameNetwork"><a href=
"LuCI.Network.html#renameNetwork">renameNetwork
</a></li>
366 <ul class=
"events itemMembers">
371 <li class=
"item" data-name=
"LuCI.Network.Device">
373 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
376 <ul class=
"members itemMembers">
379 <ul class=
"typedefs itemMembers">
382 <ul class=
"typedefs itemMembers">
385 <ul class=
"methods itemMembers">
387 <span class=
"subtitle">Methods
</span>
389 <li data-name=
"LuCI.Network.Device#getBridgeID"><a href=
"LuCI.Network.Device.html#getBridgeID">getBridgeID
</a></li>
391 <li data-name=
"LuCI.Network.Device#getBridgeSTP"><a href=
"LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP
</a></li>
393 <li data-name=
"LuCI.Network.Device#getI18n"><a href=
"LuCI.Network.Device.html#getI18n">getI18n
</a></li>
395 <li data-name=
"LuCI.Network.Device#getIP6Addrs"><a href=
"LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs
</a></li>
397 <li data-name=
"LuCI.Network.Device#getIPAddrs"><a href=
"LuCI.Network.Device.html#getIPAddrs">getIPAddrs
</a></li>
399 <li data-name=
"LuCI.Network.Device#getMAC"><a href=
"LuCI.Network.Device.html#getMAC">getMAC
</a></li>
401 <li data-name=
"LuCI.Network.Device#getMTU"><a href=
"LuCI.Network.Device.html#getMTU">getMTU
</a></li>
403 <li data-name=
"LuCI.Network.Device#getName"><a href=
"LuCI.Network.Device.html#getName">getName
</a></li>
405 <li data-name=
"LuCI.Network.Device#getNetwork"><a href=
"LuCI.Network.Device.html#getNetwork">getNetwork
</a></li>
407 <li data-name=
"LuCI.Network.Device#getNetworks"><a href=
"LuCI.Network.Device.html#getNetworks">getNetworks
</a></li>
409 <li data-name=
"LuCI.Network.Device#getPorts"><a href=
"LuCI.Network.Device.html#getPorts">getPorts
</a></li>
411 <li data-name=
"LuCI.Network.Device#getRXBytes"><a href=
"LuCI.Network.Device.html#getRXBytes">getRXBytes
</a></li>
413 <li data-name=
"LuCI.Network.Device#getRXPackets"><a href=
"LuCI.Network.Device.html#getRXPackets">getRXPackets
</a></li>
415 <li data-name=
"LuCI.Network.Device#getShortName"><a href=
"LuCI.Network.Device.html#getShortName">getShortName
</a></li>
417 <li data-name=
"LuCI.Network.Device#getTXBytes"><a href=
"LuCI.Network.Device.html#getTXBytes">getTXBytes
</a></li>
419 <li data-name=
"LuCI.Network.Device#getTXPackets"><a href=
"LuCI.Network.Device.html#getTXPackets">getTXPackets
</a></li>
421 <li data-name=
"LuCI.Network.Device#getType"><a href=
"LuCI.Network.Device.html#getType">getType
</a></li>
423 <li data-name=
"LuCI.Network.Device#getTypeI18n"><a href=
"LuCI.Network.Device.html#getTypeI18n">getTypeI18n
</a></li>
425 <li data-name=
"LuCI.Network.Device#getWifiNetwork"><a href=
"LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork
</a></li>
427 <li data-name=
"LuCI.Network.Device#isBridge"><a href=
"LuCI.Network.Device.html#isBridge">isBridge
</a></li>
429 <li data-name=
"LuCI.Network.Device#isBridgePort"><a href=
"LuCI.Network.Device.html#isBridgePort">isBridgePort
</a></li>
431 <li data-name=
"LuCI.Network.Device#isUp"><a href=
"LuCI.Network.Device.html#isUp">isUp
</a></li>
434 <ul class=
"events itemMembers">
439 <li class=
"item" data-name=
"LuCI.Network.Hosts">
441 <a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>
444 <ul class=
"members itemMembers">
447 <ul class=
"typedefs itemMembers">
450 <ul class=
"typedefs itemMembers">
453 <ul class=
"methods itemMembers">
455 <span class=
"subtitle">Methods
</span>
457 <li data-name=
"LuCI.Network.Hosts#getHostnameByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr
</a></li>
459 <li data-name=
"LuCI.Network.Hosts#getHostnameByIPAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr
</a></li>
461 <li data-name=
"LuCI.Network.Hosts#getHostnameByMACAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr
</a></li>
463 <li data-name=
"LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr
</a></li>
465 <li data-name=
"LuCI.Network.Hosts#getIPAddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr
</a></li>
467 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr
</a></li>
469 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIPAddr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr
</a></li>
471 <li data-name=
"LuCI.Network.Hosts#getMACHints"><a href=
"LuCI.Network.Hosts.html#getMACHints">getMACHints
</a></li>
474 <ul class=
"events itemMembers">
479 <li class=
"item" data-name=
"LuCI.Network.Protocol">
481 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
484 <ul class=
"members itemMembers">
487 <ul class=
"typedefs itemMembers">
490 <ul class=
"typedefs itemMembers">
493 <ul class=
"methods itemMembers">
495 <span class=
"subtitle">Methods
</span>
497 <li data-name=
"LuCI.Network.Protocol#addDevice"><a href=
"LuCI.Network.Protocol.html#addDevice">addDevice
</a></li>
499 <li data-name=
"LuCI.Network.Protocol#containsDevice"><a href=
"LuCI.Network.Protocol.html#containsDevice">containsDevice
</a></li>
501 <li data-name=
"LuCI.Network.Protocol#deleteDevice"><a href=
"LuCI.Network.Protocol.html#deleteDevice">deleteDevice
</a></li>
503 <li data-name=
"LuCI.Network.Protocol#get"><a href=
"LuCI.Network.Protocol.html#get">get
</a></li>
505 <li data-name=
"LuCI.Network.Protocol#getDevice"><a href=
"LuCI.Network.Protocol.html#getDevice">getDevice
</a></li>
507 <li data-name=
"LuCI.Network.Protocol#getDevices"><a href=
"LuCI.Network.Protocol.html#getDevices">getDevices
</a></li>
509 <li data-name=
"LuCI.Network.Protocol#getDNS6Addrs"><a href=
"LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs
</a></li>
511 <li data-name=
"LuCI.Network.Protocol#getDNSAddrs"><a href=
"LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs
</a></li>
513 <li data-name=
"LuCI.Network.Protocol#getErrors"><a href=
"LuCI.Network.Protocol.html#getErrors">getErrors
</a></li>
515 <li data-name=
"LuCI.Network.Protocol#getExpiry"><a href=
"LuCI.Network.Protocol.html#getExpiry">getExpiry
</a></li>
517 <li data-name=
"LuCI.Network.Protocol#getGateway6Addr"><a href=
"LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr
</a></li>
519 <li data-name=
"LuCI.Network.Protocol#getGatewayAddr"><a href=
"LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr
</a></li>
521 <li data-name=
"LuCI.Network.Protocol#getI18n"><a href=
"LuCI.Network.Protocol.html#getI18n">getI18n
</a></li>
523 <li data-name=
"LuCI.Network.Protocol#getIfname"><a href=
"LuCI.Network.Protocol.html#getIfname">getIfname
</a></li>
525 <li data-name=
"LuCI.Network.Protocol#getIP6Addr"><a href=
"LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr
</a></li>
527 <li data-name=
"LuCI.Network.Protocol#getIP6Addrs"><a href=
"LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs
</a></li>
529 <li data-name=
"LuCI.Network.Protocol#getIP6Prefix"><a href=
"LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix
</a></li>
531 <li data-name=
"LuCI.Network.Protocol#getIPAddr"><a href=
"LuCI.Network.Protocol.html#getIPAddr">getIPAddr
</a></li>
533 <li data-name=
"LuCI.Network.Protocol#getIPAddrs"><a href=
"LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs
</a></li>
535 <li data-name=
"LuCI.Network.Protocol#getL2Device"><a href=
"LuCI.Network.Protocol.html#getL2Device">getL2Device
</a></li>
537 <li data-name=
"LuCI.Network.Protocol#getL3Device"><a href=
"LuCI.Network.Protocol.html#getL3Device">getL3Device
</a></li>
539 <li data-name=
"LuCI.Network.Protocol#getMetric"><a href=
"LuCI.Network.Protocol.html#getMetric">getMetric
</a></li>
541 <li data-name=
"LuCI.Network.Protocol#getName"><a href=
"LuCI.Network.Protocol.html#getName">getName
</a></li>
543 <li data-name=
"LuCI.Network.Protocol#getNetmask"><a href=
"LuCI.Network.Protocol.html#getNetmask">getNetmask
</a></li>
545 <li data-name=
"LuCI.Network.Protocol#getOpkgPackage"><a href=
"LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage
</a></li>
547 <li data-name=
"LuCI.Network.Protocol#getProtocol"><a href=
"LuCI.Network.Protocol.html#getProtocol">getProtocol
</a></li>
549 <li data-name=
"LuCI.Network.Protocol#getType"><a href=
"LuCI.Network.Protocol.html#getType">getType
</a></li>
551 <li data-name=
"LuCI.Network.Protocol#getUptime"><a href=
"LuCI.Network.Protocol.html#getUptime">getUptime
</a></li>
553 <li data-name=
"LuCI.Network.Protocol#getZoneName"><a href=
"LuCI.Network.Protocol.html#getZoneName">getZoneName
</a></li>
555 <li data-name=
"LuCI.Network.Protocol#isAlias"><a href=
"LuCI.Network.Protocol.html#isAlias">isAlias
</a></li>
557 <li data-name=
"LuCI.Network.Protocol#isBridge"><a href=
"LuCI.Network.Protocol.html#isBridge">isBridge
</a></li>
559 <li data-name=
"LuCI.Network.Protocol#isDynamic"><a href=
"LuCI.Network.Protocol.html#isDynamic">isDynamic
</a></li>
561 <li data-name=
"LuCI.Network.Protocol#isEmpty"><a href=
"LuCI.Network.Protocol.html#isEmpty">isEmpty
</a></li>
563 <li data-name=
"LuCI.Network.Protocol#isFloating"><a href=
"LuCI.Network.Protocol.html#isFloating">isFloating
</a></li>
565 <li data-name=
"LuCI.Network.Protocol#isInstalled"><a href=
"LuCI.Network.Protocol.html#isInstalled">isInstalled
</a></li>
567 <li data-name=
"LuCI.Network.Protocol#isUp"><a href=
"LuCI.Network.Protocol.html#isUp">isUp
</a></li>
569 <li data-name=
"LuCI.Network.Protocol#isVirtual"><a href=
"LuCI.Network.Protocol.html#isVirtual">isVirtual
</a></li>
571 <li data-name=
"LuCI.Network.Protocol#set"><a href=
"LuCI.Network.Protocol.html#set">set
</a></li>
574 <ul class=
"events itemMembers">
579 <li class=
"item" data-name=
"LuCI.Network.WifiDevice">
581 <a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>
584 <ul class=
"members itemMembers">
587 <ul class=
"typedefs itemMembers">
590 <ul class=
"typedefs itemMembers">
593 <ul class=
"methods itemMembers">
595 <span class=
"subtitle">Methods
</span>
597 <li data-name=
"LuCI.Network.WifiDevice#addWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork
</a></li>
599 <li data-name=
"LuCI.Network.WifiDevice#deleteWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
601 <li data-name=
"LuCI.Network.WifiDevice#get"><a href=
"LuCI.Network.WifiDevice.html#get">get
</a></li>
603 <li data-name=
"LuCI.Network.WifiDevice#getHTModes"><a href=
"LuCI.Network.WifiDevice.html#getHTModes">getHTModes
</a></li>
605 <li data-name=
"LuCI.Network.WifiDevice#getHWModes"><a href=
"LuCI.Network.WifiDevice.html#getHWModes">getHWModes
</a></li>
607 <li data-name=
"LuCI.Network.WifiDevice#getI18n"><a href=
"LuCI.Network.WifiDevice.html#getI18n">getI18n
</a></li>
609 <li data-name=
"LuCI.Network.WifiDevice#getName"><a href=
"LuCI.Network.WifiDevice.html#getName">getName
</a></li>
611 <li data-name=
"LuCI.Network.WifiDevice#getScanList"><a href=
"LuCI.Network.WifiDevice.html#getScanList">getScanList
</a></li>
613 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork
</a></li>
615 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetworks"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks
</a></li>
617 <li data-name=
"LuCI.Network.WifiDevice#isDisabled"><a href=
"LuCI.Network.WifiDevice.html#isDisabled">isDisabled
</a></li>
619 <li data-name=
"LuCI.Network.WifiDevice#isUp"><a href=
"LuCI.Network.WifiDevice.html#isUp">isUp
</a></li>
621 <li data-name=
"LuCI.Network.WifiDevice#set"><a href=
"LuCI.Network.WifiDevice.html#set">set
</a></li>
624 <ul class=
"events itemMembers">
629 <li class=
"item" data-name=
"LuCI.Network.WifiNetwork">
631 <a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>
634 <ul class=
"members itemMembers">
637 <ul class=
"typedefs itemMembers">
640 <ul class=
"typedefs itemMembers">
643 <ul class=
"methods itemMembers">
645 <span class=
"subtitle">Methods
</span>
647 <li data-name=
"LuCI.Network.WifiNetwork#disconnectClient"><a href=
"LuCI.Network.WifiNetwork.html#disconnectClient">disconnectClient
</a></li>
649 <li data-name=
"LuCI.Network.WifiNetwork#get"><a href=
"LuCI.Network.WifiNetwork.html#get">get
</a></li>
651 <li data-name=
"LuCI.Network.WifiNetwork#getActiveBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID
</a></li>
653 <li data-name=
"LuCI.Network.WifiNetwork#getActiveEncryption"><a href=
"LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption
</a></li>
655 <li data-name=
"LuCI.Network.WifiNetwork#getActiveMode"><a href=
"LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode
</a></li>
657 <li data-name=
"LuCI.Network.WifiNetwork#getActiveModeI18n"><a href=
"LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n
</a></li>
659 <li data-name=
"LuCI.Network.WifiNetwork#getActiveSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID
</a></li>
661 <li data-name=
"LuCI.Network.WifiNetwork#getAssocList"><a href=
"LuCI.Network.WifiNetwork.html#getAssocList">getAssocList
</a></li>
663 <li data-name=
"LuCI.Network.WifiNetwork#getBitRate"><a href=
"LuCI.Network.WifiNetwork.html#getBitRate">getBitRate
</a></li>
665 <li data-name=
"LuCI.Network.WifiNetwork#getBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getBSSID">getBSSID
</a></li>
667 <li data-name=
"LuCI.Network.WifiNetwork#getChannel"><a href=
"LuCI.Network.WifiNetwork.html#getChannel">getChannel
</a></li>
669 <li data-name=
"LuCI.Network.WifiNetwork#getCountryCode"><a href=
"LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode
</a></li>
671 <li data-name=
"LuCI.Network.WifiNetwork#getDevice"><a href=
"LuCI.Network.WifiNetwork.html#getDevice">getDevice
</a></li>
673 <li data-name=
"LuCI.Network.WifiNetwork#getFrequency"><a href=
"LuCI.Network.WifiNetwork.html#getFrequency">getFrequency
</a></li>
675 <li data-name=
"LuCI.Network.WifiNetwork#getI18n"><a href=
"LuCI.Network.WifiNetwork.html#getI18n">getI18n
</a></li>
677 <li data-name=
"LuCI.Network.WifiNetwork#getID"><a href=
"LuCI.Network.WifiNetwork.html#getID">getID
</a></li>
679 <li data-name=
"LuCI.Network.WifiNetwork#getIfname"><a href=
"LuCI.Network.WifiNetwork.html#getIfname">getIfname
</a></li>
681 <li data-name=
"LuCI.Network.WifiNetwork#getMeshID"><a href=
"LuCI.Network.WifiNetwork.html#getMeshID">getMeshID
</a></li>
683 <li data-name=
"LuCI.Network.WifiNetwork#getMode"><a href=
"LuCI.Network.WifiNetwork.html#getMode">getMode
</a></li>
685 <li data-name=
"LuCI.Network.WifiNetwork#getName"><a href=
"LuCI.Network.WifiNetwork.html#getName">getName
</a></li>
687 <li data-name=
"LuCI.Network.WifiNetwork#getNetwork"><a href=
"LuCI.Network.WifiNetwork.html#getNetwork">getNetwork
</a></li>
689 <li data-name=
"LuCI.Network.WifiNetwork#getNetworkNames"><a href=
"LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames
</a></li>
691 <li data-name=
"LuCI.Network.WifiNetwork#getNetworks"><a href=
"LuCI.Network.WifiNetwork.html#getNetworks">getNetworks
</a></li>
693 <li data-name=
"LuCI.Network.WifiNetwork#getNoise"><a href=
"LuCI.Network.WifiNetwork.html#getNoise">getNoise
</a></li>
695 <li data-name=
"LuCI.Network.WifiNetwork#getShortName"><a href=
"LuCI.Network.WifiNetwork.html#getShortName">getShortName
</a></li>
697 <li data-name=
"LuCI.Network.WifiNetwork#getSignal"><a href=
"LuCI.Network.WifiNetwork.html#getSignal">getSignal
</a></li>
699 <li data-name=
"LuCI.Network.WifiNetwork#getSignalLevel"><a href=
"LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel
</a></li>
701 <li data-name=
"LuCI.Network.WifiNetwork#getSignalPercent"><a href=
"LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent
</a></li>
703 <li data-name=
"LuCI.Network.WifiNetwork#getSSID"><a href=
"LuCI.Network.WifiNetwork.html#getSSID">getSSID
</a></li>
705 <li data-name=
"LuCI.Network.WifiNetwork#getTXPower"><a href=
"LuCI.Network.WifiNetwork.html#getTXPower">getTXPower
</a></li>
707 <li data-name=
"LuCI.Network.WifiNetwork#getTXPowerOffset"><a href=
"LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset
</a></li>
709 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDevice"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice
</a></li>
711 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDeviceName"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName
</a></li>
713 <li data-name=
"LuCI.Network.WifiNetwork#isClientDisconnectSupported"><a href=
"LuCI.Network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported
</a></li>
715 <li data-name=
"LuCI.Network.WifiNetwork#isDisabled"><a href=
"LuCI.Network.WifiNetwork.html#isDisabled">isDisabled
</a></li>
717 <li data-name=
"LuCI.Network.WifiNetwork#isUp"><a href=
"LuCI.Network.WifiNetwork.html#isUp">isUp
</a></li>
719 <li data-name=
"LuCI.Network.WifiNetwork#set"><a href=
"LuCI.Network.WifiNetwork.html#set">set
</a></li>
722 <ul class=
"events itemMembers">
727 <li class=
"item" data-name=
"LuCI.Poll">
729 <a href=
"LuCI.Poll.html">LuCI.Poll
</a>
732 <ul class=
"members itemMembers">
735 <ul class=
"typedefs itemMembers">
738 <ul class=
"typedefs itemMembers">
741 <ul class=
"methods itemMembers">
743 <span class=
"subtitle">Methods
</span>
745 <li data-name=
"LuCI.Poll#active"><a href=
"LuCI.Poll.html#active">active
</a></li>
747 <li data-name=
"LuCI.Poll#add"><a href=
"LuCI.Poll.html#add">add
</a></li>
749 <li data-name=
"LuCI.Poll#remove"><a href=
"LuCI.Poll.html#remove">remove
</a></li>
751 <li data-name=
"LuCI.Poll#start"><a href=
"LuCI.Poll.html#start">start
</a></li>
753 <li data-name=
"LuCI.Poll#stop"><a href=
"LuCI.Poll.html#stop">stop
</a></li>
756 <ul class=
"events itemMembers">
761 <li class=
"item" data-name=
"LuCI.Request">
763 <a href=
"LuCI.Request.html">LuCI.Request
</a>
766 <ul class=
"members itemMembers">
769 <ul class=
"typedefs itemMembers">
771 <span class=
"subtitle">Typedefs
</span>
773 <li data-name=
"LuCI.Request.interceptorFn"><a href=
"LuCI.Request.html#.interceptorFn">interceptorFn
</a></li>
775 <li data-name=
"LuCI.Request.RequestOptions"><a href=
"LuCI.Request.html#.RequestOptions">RequestOptions
</a></li>
778 <ul class=
"typedefs itemMembers">
781 <ul class=
"methods itemMembers">
783 <span class=
"subtitle">Methods
</span>
785 <li data-name=
"LuCI.Request#addInterceptor"><a href=
"LuCI.Request.html#addInterceptor">addInterceptor
</a></li>
787 <li data-name=
"LuCI.Request#expandURL"><a href=
"LuCI.Request.html#expandURL">expandURL
</a></li>
789 <li data-name=
"LuCI.Request#get"><a href=
"LuCI.Request.html#get">get
</a></li>
791 <li data-name=
"LuCI.Request#post"><a href=
"LuCI.Request.html#post">post
</a></li>
793 <li data-name=
"LuCI.Request#removeInterceptor"><a href=
"LuCI.Request.html#removeInterceptor">removeInterceptor
</a></li>
795 <li data-name=
"LuCI.Request#request"><a href=
"LuCI.Request.html#request">request
</a></li>
798 <ul class=
"events itemMembers">
803 <li class=
"item" data-name=
"LuCI.Request.poll">
805 <a href=
"LuCI.Request.poll.html">LuCI.Request.poll
</a>
808 <ul class=
"members itemMembers">
811 <ul class=
"typedefs itemMembers">
813 <span class=
"subtitle">Typedefs
</span>
815 <li data-name=
"LuCI.Request.poll~callbackFn"><a href=
"LuCI.Request.poll.html#~callbackFn">callbackFn
</a></li>
818 <ul class=
"typedefs itemMembers">
821 <ul class=
"methods itemMembers">
823 <span class=
"subtitle">Methods
</span>
825 <li data-name=
"LuCI.Request.poll#active"><a href=
"LuCI.Request.poll.html#active">active
</a></li>
827 <li data-name=
"LuCI.Request.poll#add"><a href=
"LuCI.Request.poll.html#add">add
</a></li>
829 <li data-name=
"LuCI.Request.poll#remove"><a href=
"LuCI.Request.poll.html#remove">remove
</a></li>
831 <li data-name=
"LuCI.Request.poll#start"><a href=
"LuCI.Request.poll.html#start">start
</a></li>
833 <li data-name=
"LuCI.Request.poll#stop"><a href=
"LuCI.Request.poll.html#stop">stop
</a></li>
836 <ul class=
"events itemMembers">
841 <li class=
"item" data-name=
"LuCI.Response">
843 <a href=
"LuCI.Response.html">LuCI.Response
</a>
846 <ul class=
"members itemMembers">
848 <span class=
"subtitle">Members
</span>
850 <li data-name=
"LuCI.Response#duration"><a href=
"LuCI.Response.html#duration">duration
</a></li>
852 <li data-name=
"LuCI.Response#headers"><a href=
"LuCI.Response.html#headers">headers
</a></li>
854 <li data-name=
"LuCI.Response#ok"><a href=
"LuCI.Response.html#ok">ok
</a></li>
856 <li data-name=
"LuCI.Response#status"><a href=
"LuCI.Response.html#status">status
</a></li>
858 <li data-name=
"LuCI.Response#statusText"><a href=
"LuCI.Response.html#statusText">statusText
</a></li>
860 <li data-name=
"LuCI.Response#url"><a href=
"LuCI.Response.html#url">url
</a></li>
863 <ul class=
"typedefs itemMembers">
866 <ul class=
"typedefs itemMembers">
869 <ul class=
"methods itemMembers">
871 <span class=
"subtitle">Methods
</span>
873 <li data-name=
"LuCI.Response#blob"><a href=
"LuCI.Response.html#blob">blob
</a></li>
875 <li data-name=
"LuCI.Response#clone"><a href=
"LuCI.Response.html#clone">clone
</a></li>
877 <li data-name=
"LuCI.Response#json"><a href=
"LuCI.Response.html#json">json
</a></li>
879 <li data-name=
"LuCI.Response#text"><a href=
"LuCI.Response.html#text">text
</a></li>
882 <ul class=
"events itemMembers">
887 <li class=
"item" data-name=
"LuCI.rpc">
889 <a href=
"LuCI.rpc.html">LuCI.rpc
</a>
892 <ul class=
"members itemMembers">
895 <ul class=
"typedefs itemMembers">
897 <span class=
"subtitle">Typedefs
</span>
899 <li data-name=
"LuCI.rpc.DeclareOptions"><a href=
"LuCI.rpc.html#.DeclareOptions">DeclareOptions
</a></li>
901 <li data-name=
"LuCI.rpc~filterFn"><a href=
"LuCI.rpc.html#~filterFn">filterFn
</a></li>
903 <li data-name=
"LuCI.rpc~interceptorFn"><a href=
"LuCI.rpc.html#~interceptorFn">interceptorFn
</a></li>
905 <li data-name=
"LuCI.rpc~invokeFn"><a href=
"LuCI.rpc.html#~invokeFn">invokeFn
</a></li>
908 <ul class=
"typedefs itemMembers">
911 <ul class=
"methods itemMembers">
913 <span class=
"subtitle">Methods
</span>
915 <li data-name=
"LuCI.rpc#addInterceptor"><a href=
"LuCI.rpc.html#addInterceptor">addInterceptor
</a></li>
917 <li data-name=
"LuCI.rpc#declare"><a href=
"LuCI.rpc.html#declare">declare
</a></li>
919 <li data-name=
"LuCI.rpc#getBaseURL"><a href=
"LuCI.rpc.html#getBaseURL">getBaseURL
</a></li>
921 <li data-name=
"LuCI.rpc#getSessionID"><a href=
"LuCI.rpc.html#getSessionID">getSessionID
</a></li>
923 <li data-name=
"LuCI.rpc#getStatusText"><a href=
"LuCI.rpc.html#getStatusText">getStatusText
</a></li>
925 <li data-name=
"LuCI.rpc#list"><a href=
"LuCI.rpc.html#list">list
</a></li>
927 <li data-name=
"LuCI.rpc#removeInterceptor"><a href=
"LuCI.rpc.html#removeInterceptor">removeInterceptor
</a></li>
929 <li data-name=
"LuCI.rpc#setBaseURL"><a href=
"LuCI.rpc.html#setBaseURL">setBaseURL
</a></li>
931 <li data-name=
"LuCI.rpc#setSessionID"><a href=
"LuCI.rpc.html#setSessionID">setSessionID
</a></li>
934 <ul class=
"events itemMembers">
939 <li class=
"item" data-name=
"LuCI.uci">
941 <a href=
"LuCI.uci.html">LuCI.uci
</a>
944 <ul class=
"members itemMembers">
947 <ul class=
"typedefs itemMembers">
949 <span class=
"subtitle">Typedefs
</span>
951 <li data-name=
"LuCI.uci.ChangeRecord"><a href=
"LuCI.uci.html#.ChangeRecord">ChangeRecord
</a></li>
953 <li data-name=
"LuCI.uci.SectionObject"><a href=
"LuCI.uci.html#.SectionObject">SectionObject
</a></li>
955 <li data-name=
"LuCI.uci~sectionsFn"><a href=
"LuCI.uci.html#~sectionsFn">sectionsFn
</a></li>
958 <ul class=
"typedefs itemMembers">
961 <ul class=
"methods itemMembers">
963 <span class=
"subtitle">Methods
</span>
965 <li data-name=
"LuCI.uci#add"><a href=
"LuCI.uci.html#add">add
</a></li>
967 <li data-name=
"LuCI.uci#apply"><a href=
"LuCI.uci.html#apply">apply
</a></li>
969 <li data-name=
"LuCI.uci#changes"><a href=
"LuCI.uci.html#changes">changes
</a></li>
971 <li data-name=
"LuCI.uci#createSID"><a href=
"LuCI.uci.html#createSID">createSID
</a></li>
973 <li data-name=
"LuCI.uci#get"><a href=
"LuCI.uci.html#get">get
</a></li>
975 <li data-name=
"LuCI.uci#get_first"><a href=
"LuCI.uci.html#get_first">get_first
</a></li>
977 <li data-name=
"LuCI.uci#load"><a href=
"LuCI.uci.html#load">load
</a></li>
979 <li data-name=
"LuCI.uci#move"><a href=
"LuCI.uci.html#move">move
</a></li>
981 <li data-name=
"LuCI.uci#remove"><a href=
"LuCI.uci.html#remove">remove
</a></li>
983 <li data-name=
"LuCI.uci#resolveSID"><a href=
"LuCI.uci.html#resolveSID">resolveSID
</a></li>
985 <li data-name=
"LuCI.uci#save"><a href=
"LuCI.uci.html#save">save
</a></li>
987 <li data-name=
"LuCI.uci#sections"><a href=
"LuCI.uci.html#sections">sections
</a></li>
989 <li data-name=
"LuCI.uci#set"><a href=
"LuCI.uci.html#set">set
</a></li>
991 <li data-name=
"LuCI.uci#set_first"><a href=
"LuCI.uci.html#set_first">set_first
</a></li>
993 <li data-name=
"LuCI.uci#unload"><a href=
"LuCI.uci.html#unload">unload
</a></li>
995 <li data-name=
"LuCI.uci#unset"><a href=
"LuCI.uci.html#unset">unset
</a></li>
997 <li data-name=
"LuCI.uci#unset_first"><a href=
"LuCI.uci.html#unset_first">unset_first
</a></li>
1000 <ul class=
"events itemMembers">
1005 <li class=
"item" data-name=
"LuCI.view">
1006 <span class=
"title">
1007 <a href=
"LuCI.view.html">LuCI.view
</a>
1010 <ul class=
"members itemMembers">
1013 <ul class=
"typedefs itemMembers">
1016 <ul class=
"typedefs itemMembers">
1019 <ul class=
"methods itemMembers">
1021 <span class=
"subtitle">Methods
</span>
1023 <li data-name=
"LuCI.view#addFooter"><a href=
"LuCI.view.html#addFooter">addFooter
</a></li>
1025 <li data-name=
"LuCI.view#handleReset"><a href=
"LuCI.view.html#handleReset">handleReset
</a></li>
1027 <li data-name=
"LuCI.view#handleSave"><a href=
"LuCI.view.html#handleSave">handleSave
</a></li>
1029 <li data-name=
"LuCI.view#handleSaveApply"><a href=
"LuCI.view.html#handleSaveApply">handleSaveApply
</a></li>
1031 <li data-name=
"LuCI.view#load"><a href=
"LuCI.view.html#load">load
</a></li>
1033 <li data-name=
"LuCI.view#render"><a href=
"LuCI.view.html#render">render
</a></li>
1036 <ul class=
"events itemMembers">
1041 <li class=
"item" data-name=
"LuCI.XHR">
1042 <span class=
"title">
1043 <a href=
"LuCI.XHR.html">LuCI.XHR
</a>
1046 <ul class=
"members itemMembers">
1049 <ul class=
"typedefs itemMembers">
1052 <ul class=
"typedefs itemMembers">
1055 <ul class=
"methods itemMembers">
1057 <span class=
"subtitle">Methods
</span>
1059 <li data-name=
"LuCI.XHR#abort"><a href=
"LuCI.XHR.html#abort">abort
</a></li>
1061 <li data-name=
"LuCI.XHR#busy"><a href=
"LuCI.XHR.html#busy">busy
</a></li>
1063 <li data-name=
"LuCI.XHR#cancel"><a href=
"LuCI.XHR.html#cancel">cancel
</a></li>
1065 <li data-name=
"LuCI.XHR#get"><a href=
"LuCI.XHR.html#get">get
</a></li>
1067 <li data-name=
"LuCI.XHR#post"><a href=
"LuCI.XHR.html#post">post
</a></li>
1069 <li data-name=
"LuCI.XHR#send_form"><a href=
"LuCI.XHR.html#send_form">send_form
</a></li>
1072 <ul class=
"events itemMembers">
1080 <h1 class=
"page-title" data-filename=
"LuCI.Network.html">Class: Network
</h1>
1089 <span class=
"ancestors"><a href=
"LuCI.html">LuCI
</a>.
</span>
1094 <div class=
"class-description"><p>The
<code>LuCI.Network
</code> class combines data from multiple
<code>ubus
</code> apis to
1095 provide an abstraction of the current network configuration state.
</p>
1096 <p>It provides methods to enumerate interfaces and devices, to query
1097 current configuration details and to manipulate settings.
</p></div>
1102 <div class=
"container-overview">
1108 <div class=
"nameContainer">
1109 <h4 class=
"name" id=
"Network">
1111 new LuCI.Network
<span class=
"signature">()
</span>
1115 <div class=
"tag-source">
1116 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line646">line
646</a>
1134 <dl class=
"details">
1182 <h3 class=
"subsection-title">Classes
</h3>
1185 <dt><a href=
"LuCI.Network.Device.html">Device
</a></dt>
1188 <dt><a href=
"LuCI.Network.Hosts.html">Hosts
</a></dt>
1191 <dt><a href=
"LuCI.Network.Protocol.html">Protocol
</a></dt>
1194 <dt><a href=
"LuCI.Network.WifiDevice.html">WifiDevice
</a></dt>
1197 <dt><a href=
"LuCI.Network.WifiNetwork.html">WifiNetwork
</a></dt>
1207 <h3 class=
"subsection-title">Methods
</h3>
1212 <div class=
"nameContainer">
1213 <h4 class=
"name" id=
"addNetwork">
1215 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>
1219 <div class=
"tag-source">
1220 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line902">line
902</a>
1230 <div class=
"description">
1231 <p>Adds a new network of the given name and update it with the given
1232 uci option values.
</p>
1233 <p>If a network with the given name already exist but is empty, then
1234 this function will update its option, otherwise it will do nothing.
</p>
1245 <table class=
"params">
1256 <th class=
"last">Description
</th>
1265 <td class=
"name"><code>name
</code></td>
1271 <span class=
"param-type">string
</span>
1279 <td class=
"description last">
1286 <p>The name of the network to add. Must be in the format
<code>[a-zA-Z0-
9_]+
</code>.
</p></td>
1293 <td class=
"name"><code>options
</code></td>
1299 <span class=
"param-type">Object.
<string, (string|Array.
<string
>)
></span>
1307 <td class=
"description last">
1310 <span class=
"optional">optional
</span>
1316 <p>An object of uci option values to set on the new network or to
1317 update in an existing, empty network.
</p></td>
1326 <dl class=
"details">
1364 <table class=
"params">
1369 <th class=
"last">Description
</th>
1378 Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>
1382 <td class=
"description last">Returns a promise resolving to the
<code>Protocol
</code> subclass instance
1383 describing the added network or resolving to
<code>null
</code> if the name
1384 was invalid or if a non-empty network of the given name already
1399 <div class=
"nameContainer">
1400 <h4 class=
"name" id=
"addWifiNetwork">
1402 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>
1406 <div class=
"tag-source">
1407 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1354">line
1354</a>
1417 <div class=
"description">
1418 <p>Adds a new wireless network to the configuration and sets its options
1419 to the provided values.
</p>
1430 <table class=
"params">
1441 <th class=
"last">Description
</th>
1450 <td class=
"name"><code>options
</code></td>
1456 <span class=
"param-type">Object.
<string, (string|Array.
<string
>)
></span>
1464 <td class=
"description last">
1466 <p>The options to set for the newly added wireless network. This object
1467 must at least contain a
<code>device
</code> property which is set to the radio
1468 name the new network belongs to.
</p></td>
1477 <dl class=
"details">
1515 <table class=
"params">
1520 <th class=
"last">Description
</th>
1529 Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>
1533 <td class=
"description last">Returns a promise resolving to a
<code>WifiNetwork
</code> instance describing
1534 the newly added wireless network or
<code>null
</code> if the given options
1535 were invalid or if the associated radio device could not be found.
</td>
1549 <div class=
"nameContainer">
1550 <h4 class=
"name" id=
"deleteNetwork">
1552 deleteNetwork
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
1556 <div class=
"tag-source">
1557 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line980">line
980</a>
1567 <div class=
"description">
1568 <p>Deletes the given network and its references from the network and
1569 firewall configuration.
</p>
1580 <table class=
"params">
1591 <th class=
"last">Description
</th>
1600 <td class=
"name"><code>name
</code></td>
1606 <span class=
"param-type">string
</span>
1614 <td class=
"description last">
1616 <p>The name of the network to delete.
</p></td>
1625 <dl class=
"details">
1663 <table class=
"params">
1668 <th class=
"last">Description
</th>
1677 Promise.
<boolean
>
1681 <td class=
"description last">Returns a promise resolving to either
<code>true
</code> if the network and
1682 references to it were successfully deleted from the configuration or
1683 <code>false
</code> if the given network could not be found.
</td>
1697 <div class=
"nameContainer">
1698 <h4 class=
"name" id=
"deleteWifiNetwork">
1700 deleteWifiNetwork
<span class=
"signature">(netname)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
1704 <div class=
"tag-source">
1705 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1392">line
1392</a>
1715 <div class=
"description">
1716 <p>Deletes the given wireless network from the configuration.
</p>
1727 <table class=
"params">
1738 <th class=
"last">Description
</th>
1747 <td class=
"name"><code>netname
</code></td>
1753 <span class=
"param-type">string
</span>
1761 <td class=
"description last">
1763 <p>The name of the network to remove. This may be either a
1764 network ID in the form
<code>radio#.network#
</code> or a Linux network device
1765 name like
<code>wlan0
</code> which is resolved to the corresponding configuration
1766 section through
<code>ubus
</code> runtime information.
</p></td>
1775 <dl class=
"details">
1813 <table class=
"params">
1818 <th class=
"last">Description
</th>
1827 Promise.
<boolean
>
1831 <td class=
"description last">Returns a promise resolving to
<code>true
</code> if the wireless network has been
1832 successfully deleted from the configuration or
<code>false
</code> if it could not
1847 <div class=
"nameContainer">
1848 <h4 class=
"name" id=
"flushCache">
1850 flushCache
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Object
>}
</span>
1854 <div class=
"tag-source">
1855 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line746">line
746</a>
1865 <div class=
"description">
1866 <p>Flushes the local network state cache and fetches updated information
1867 from the remote
<code>ubus
</code> apis.
</p>
1878 <dl class=
"details">
1916 <table class=
"params">
1921 <th class=
"last">Description
</th>
1934 <td class=
"description last">Returns a promise resolving to the internal network state object.
</td>
1948 <div class=
"nameContainer">
1949 <h4 class=
"name" id=
"formatWifiEncryption">
1951 formatWifiEncryption
<span class=
"signature">(encryption)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
1955 <div class=
"tag-source">
1956 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line737">line
737</a>
1966 <div class=
"description">
1967 <p>Converts a given
<a href=
"LuCI.Network.html#.WifiEncryption"><code>encryption entry
</code></a>
1968 into a human readable string such as
<code>mixed WPA/WPA2 PSK (TKIP, CCMP)
</code>
1969 or
<code>WPA3 SAE (CCMP)
</code>.
</p>
1980 <table class=
"params">
1991 <th class=
"last">Description
</th>
2000 <td class=
"name"><code>encryption
</code></td>
2006 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a></span>
2014 <td class=
"description last">
2016 <p>The wireless encryption entry to convert.
</p></td>
2025 <dl class=
"details">
2063 <table class=
"params">
2068 <th class=
"last">Description
</th>
2084 <td class=
"description last">Returns the description string for the given encryption entry or
2085 <code>null
</code> if the given entry was invalid.
</td>
2099 <div class=
"nameContainer">
2100 <h4 class=
"name" id=
"getDevice">
2102 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>
2106 <div class=
"tag-source">
2107 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1105">line
1105</a>
2117 <div class=
"description">
2118 <p>Get a
<a href=
"LuCI.Network.Device.html"><code>Device
</code></a> instance describing the
2119 given network device.
</p>
2130 <table class=
"params">
2141 <th class=
"last">Description
</th>
2150 <td class=
"name"><code>name
</code></td>
2156 <span class=
"param-type">string
</span>
2164 <td class=
"description last">
2166 <p>The name of the network device to get, e.g.
<code>eth0
</code> or
<code>br-lan
</code>.
</p></td>
2175 <dl class=
"details">
2213 <table class=
"params">
2218 <th class=
"last">Description
</th>
2227 Promise.
<(null|
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>)
>
2231 <td class=
"description last">Returns a promise resolving to the
<code>Device
</code> instance describing
2232 the network device or
<code>null
</code> if the given device name could not
2247 <div class=
"nameContainer">
2248 <h4 class=
"name" id=
"getDevices">
2250 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>
2254 <div class=
"tag-source">
2255 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1128">line
1128</a>
2265 <div class=
"description">
2266 <p>Get a sorted list of all found network devices.
</p>
2277 <dl class=
"details">
2315 <table class=
"params">
2320 <th class=
"last">Description
</th>
2329 Promise.
<Array.
<<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>>>
2333 <td class=
"description last">Returns a promise resolving to a sorted array of
<code>Device
</code> class
2334 instances describing the network devices found on the system.
</td>
2348 <div class=
"nameContainer">
2349 <h4 class=
"name" id=
"getDSLModemType">
2351 getDSLModemType
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<(null|string)
>}
</span>
2355 <div class=
"tag-source">
2356 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1654">line
1654</a>
2366 <div class=
"description">
2367 <p>Queries the internal DSL modem type from board information.
</p>
2378 <dl class=
"details">
2416 <table class=
"params">
2421 <th class=
"last">Description
</th>
2430 Promise.
<(null|string)
>
2434 <td class=
"description last">Returns a promise resolving to the type of the internal modem
2435 (e.g.
<code>vdsl
</code>) or to
<code>null
</code> if no internal modem is present.
</td>
2449 <div class=
"nameContainer">
2450 <h4 class=
"name" id=
"getHostHints">
2452 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>
2456 <div class=
"tag-source">
2457 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1671">line
1671</a>
2467 <div class=
"description">
2468 <p>Queries aggregated information about known hosts.
</p>
2469 <p>This function aggregates information from various sources such as
2470 DHCP lease databases, ARP and IPv6 neighbour entries, wireless
2471 association list etc. and returns a
<a href=
"LuCI.Network.Hosts.html"><code>Hosts
</code></a>
2472 class instance describing the found hosts.
</p>
2483 <dl class=
"details">
2521 <table class=
"params">
2526 <th class=
"last">Description
</th>
2535 Promise.
<<a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>>
2539 <td class=
"description last">Returns a
<code>Hosts
</code> instance describing host known on the system.
</td>
2553 <div class=
"nameContainer">
2554 <h4 class=
"name" id=
"getIfnameOf">
2556 getIfnameOf
<span class=
"signature">(obj)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
2560 <div class=
"tag-source">
2561 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1643">line
1643</a>
2571 <div class=
"description">
2572 <p>Obtains the the network device name of the given object.
</p>
2583 <table class=
"params">
2594 <th class=
"last">Description
</th>
2603 <td class=
"name"><code>obj
</code></td>
2609 <span class=
"param-type"><a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a></span>
2612 <span class=
"param-type"><a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a></span>
2615 <span class=
"param-type"><a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a></span>
2618 <span class=
"param-type"><a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a></span>
2621 <span class=
"param-type">string
</span>
2629 <td class=
"description last">
2631 <p>The object to get the device name from.
</p></td>
2640 <dl class=
"details">
2678 <table class=
"params">
2683 <th class=
"last">Description
</th>
2699 <td class=
"description last">Returns a string containing the device name or
<code>null
</code> if the given
2700 object could not be converted to a name.
</td>
2714 <div class=
"nameContainer">
2715 <h4 class=
"name" id=
"getNetwork">
2717 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>
2721 <div class=
"tag-source">
2722 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line939">line
939</a>
2732 <div class=
"description">
2733 <p>Get a
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> instance describing
2734 the network with the given name.
</p>
2745 <table class=
"params">
2756 <th class=
"last">Description
</th>
2765 <td class=
"name"><code>name
</code></td>
2771 <span class=
"param-type">string
</span>
2779 <td class=
"description last">
2781 <p>The logical interface name of the network get, e.g.
<code>lan
</code> or
<code>wan
</code>.
</p></td>
2790 <dl class=
"details">
2828 <table class=
"params">
2833 <th class=
"last">Description
</th>
2842 Promise.
<(null|
<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>)
>
2846 <td class=
"description last">Returns a promise resolving to a
2847 <a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass instance describing
2848 the network or
<code>null
</code> if the network did not exist.
</td>
2862 <div class=
"nameContainer">
2863 <h4 class=
"name" id=
"getNetworks">
2865 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>
2869 <div class=
"tag-source">
2870 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line964">line
964</a>
2880 <div class=
"description">
2881 <p>Gets an array containing all known networks.
</p>
2892 <dl class=
"details">
2930 <table class=
"params">
2935 <th class=
"last">Description
</th>
2944 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
2948 <td class=
"description last">Returns a promise resolving to a name-sorted array of
2949 <a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass instances
2950 describing all known networks.
</td>
2964 <div class=
"nameContainer">
2965 <h4 class=
"name" id=
"getProtocol">
2967 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>
2971 <div class=
"tag-source">
2972 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line768">line
768</a>
2982 <div class=
"description">
2983 <p>Instantiates the given
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> backend,
2984 optionally using the given network name.
</p>
2995 <table class=
"params">
3008 <th class=
"last">Description
</th>
3017 <td class=
"name"><code>protoname
</code></td>
3023 <span class=
"param-type">string
</span>
3030 <td class=
"default">
3035 <td class=
"description last">
3042 <p>The protocol backend to use, e.g.
<code>static
</code> or
<code>dhcp
</code>.
</p></td>
3049 <td class=
"name"><code>netname
</code></td>
3055 <span class=
"param-type">string
</span>
3062 <td class=
"default">
3069 <td class=
"description last">
3072 <span class=
"optional">optional
</span>
3078 <p>The network name to use for the instantiated protocol. This should be
3079 usually set to one of the interfaces described in /etc/config/network
3080 but it is allowed to omit it, e.g. to query protocol capabilities
3081 without the need for an existing interface.
</p></td>
3090 <dl class=
"details">
3128 <table class=
"params">
3133 <th class=
"last">Description
</th>
3145 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
3149 <td class=
"description last">Returns the instantiated protocol backend class or
<code>null
</code> if the given
3150 protocol isn't known.
</td>
3164 <div class=
"nameContainer">
3165 <h4 class=
"name" id=
"getProtocols">
3167 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>
3171 <div class=
"tag-source">
3172 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line783">line
783</a>
3182 <div class=
"description">
3183 <p>Obtains instances of all known
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a>
3184 backend classes.
</p>
3195 <dl class=
"details">
3233 <table class=
"params">
3238 <th class=
"last">Description
</th>
3247 Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>
3251 <td class=
"description last">Returns an array of protocol class instances.
</td>
3265 <div class=
"nameContainer">
3266 <h4 class=
"name" id=
"getSwitchTopologies">
3268 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>
3272 <div class=
"tag-source">
3273 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1548">line
1548</a>
3283 <div class=
"description">
3284 <p>Returns the topologies of all swconfig switches found on the system.
</p>
3295 <dl class=
"details">
3333 <table class=
"params">
3338 <th class=
"last">Description
</th>
3347 Promise.
<Object.
<string,
<a href=
"LuCI.Network.html#.SwitchTopology">LuCI.Network.SwitchTopology
</a>>>
3351 <td class=
"description last">Returns a promise resolving to an object containing the topologies
3352 of each switch. The object keys correspond to the name of the switches
3353 such as
<code>switch0
</code>, the values are
3354 <a href=
"LuCI.Network.html#.SwitchTopology"><code>SwitchTopology
</code></a> objects describing
3369 <div class=
"nameContainer">
3370 <h4 class=
"name" id=
"getWAN6Networks">
3372 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>
3376 <div class=
"tag-source">
3377 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1499">line
1499</a>
3387 <div class=
"description">
3388 <p>Get IPv6 wan networks.
</p>
3389 <p>This function looks up all networks having a default
<code>::/
0</code> route
3390 and returns them as array.
</p>
3401 <dl class=
"details">
3439 <table class=
"params">
3444 <th class=
"last">Description
</th>
3453 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
3457 <td class=
"description last">Returns a promise resolving to an array of
<code>Protocol
</code> subclass
3458 instances describing the found IPv6 default route interfaces.
</td>
3472 <div class=
"nameContainer">
3473 <h4 class=
"name" id=
"getWANNetworks">
3475 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>
3479 <div class=
"tag-source">
3480 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1474">line
1474</a>
3490 <div class=
"description">
3491 <p>Get IPv4 wan networks.
</p>
3492 <p>This function looks up all networks having a default
<code>0.0.0.0/
0</code> route
3493 and returns them as array.
</p>
3504 <dl class=
"details">
3542 <table class=
"params">
3547 <th class=
"last">Description
</th>
3556 Promise.
<Array.
<<a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>>>
3560 <td class=
"description last">Returns a promise resolving to an array of
<code>Protocol
</code> subclass
3561 instances describing the found default route interfaces.
</td>
3575 <div class=
"nameContainer">
3576 <h4 class=
"name" id=
"getWifiDevice">
3578 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>
3582 <div class=
"tag-source">
3583 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1261">line
1261</a>
3593 <div class=
"description">
3594 <p>Get a
<a href=
"LuCI.Network.WifiDevice.html"><code>WifiDevice
</code></a> instance describing
3595 the given wireless radio.
</p>
3606 <table class=
"params">
3617 <th class=
"last">Description
</th>
3626 <td class=
"name"><code>devname
</code></td>
3632 <span class=
"param-type">string
</span>
3640 <td class=
"description last">
3642 <p>The configuration name of the wireless radio to lookup, e.g.
<code>radio0
</code>
3643 for the first mac80211 phy on the system.
</p></td>
3652 <dl class=
"details">
3690 <table class=
"params">
3695 <th class=
"last">Description
</th>
3704 Promise.
<(null|
<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>)
>
3708 <td class=
"description last">Returns a promise resolving to the
<code>WifiDevice
</code> instance describing
3709 the underlying radio device or
<code>null
</code> if the wireless radio could not
3724 <div class=
"nameContainer">
3725 <h4 class=
"name" id=
"getWifiDevices">
3727 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>
3731 <div class=
"tag-source">
3732 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1281">line
1281</a>
3742 <div class=
"description">
3743 <p>Obtain a list of all configured radio devices.
</p>
3754 <dl class=
"details">
3792 <table class=
"params">
3797 <th class=
"last">Description
</th>
3806 Promise.
<Array.
<<a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>>>
3810 <td class=
"description last">Returns a promise resolving to an array of
<code>WifiDevice
</code> instances
3811 describing the wireless radios configured in the system.
3812 The order of the array corresponds to the order of the radios in
3813 the configuration.
</td>
3827 <div class=
"nameContainer">
3828 <h4 class=
"name" id=
"getWifiNetwork">
3830 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>
3834 <div class=
"tag-source">
3835 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1310">line
1310</a>
3845 <div class=
"description">
3846 <p>Get a
<a href=
"LuCI.Network.WifiNetwork.html"><code>WifiNetwork
</code></a> instance describing
3847 the given wireless network.
</p>
3858 <table class=
"params">
3869 <th class=
"last">Description
</th>
3878 <td class=
"name"><code>netname
</code></td>
3884 <span class=
"param-type">string
</span>
3892 <td class=
"description last">
3894 <p>The name of the wireless network to lookup. This may be either an uci
3895 configuration section ID, a network ID in the form
<code>radio#.network#
</code>
3896 or a Linux network device name like
<code>wlan0
</code> which is resolved to the
3897 corresponding configuration section through
<code>ubus
</code> runtime information.
</p></td>
3906 <dl class=
"details">
3944 <table class=
"params">
3949 <th class=
"last">Description
</th>
3958 Promise.
<(null|
<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>)
>
3962 <td class=
"description last">Returns a promise resolving to the
<code>WifiNetwork
</code> instance describing
3963 the wireless network or
<code>null
</code> if the corresponding network could not
3978 <div class=
"nameContainer">
3979 <h4 class=
"name" id=
"getWifiNetworks">
3981 getWifiNetworks
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<Array.
<<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>>>}
</span>
3985 <div class=
"tag-source">
3986 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1324">line
1324</a>
3996 <div class=
"description">
3997 <p>Get an array of all
<a href=
"LuCI.Network.WifiNetwork.html"><code>WifiNetwork
</code></a>
3998 instances describing the wireless networks present on the system.
</p>
4009 <dl class=
"details">
4047 <table class=
"params">
4052 <th class=
"last">Description
</th>
4061 Promise.
<Array.
<<a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>>>
4065 <td class=
"description last">Returns a promise resolving to an array of
<code>WifiNetwork
</code> instances
4066 describing the wireless networks. The array will be empty if no networks
4081 <div class=
"nameContainer">
4082 <h4 class=
"name" id=
"isIgnoredDevice">
4084 isIgnoredDevice
<span class=
"signature">(name)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4088 <div class=
"tag-source">
4089 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1244">line
1244</a>
4099 <div class=
"description">
4100 <p>Test if a given network device name is in the list of patterns for
4101 device names to ignore.
</p>
4102 <p>Ignored device names are usually Linux network devices which are
4103 spawned implicitly by kernel modules such as
<code>tunl0
</code> or
<code>hwsim0
</code>
4104 and which are unsuitable for use in network configuration.
</p>
4115 <table class=
"params">
4126 <th class=
"last">Description
</th>
4135 <td class=
"name"><code>name
</code></td>
4141 <span class=
"param-type">string
</span>
4149 <td class=
"description last">
4151 <p>The device name to test.
</p></td>
4160 <dl class=
"details">
4198 <table class=
"params">
4203 <th class=
"last">Description
</th>
4216 <td class=
"description last">Returns
<code>true
</code> if the given name is in the ignore pattern list,
4217 else returns
<code>false
</code>.
</td>
4231 <div class=
"nameContainer">
4232 <h4 class=
"name" id=
"maskToPrefix">
4234 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>
4238 <div class=
"tag-source">
4239 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line682">line
682</a>
4249 <div class=
"description">
4250 <p>Converts the given netmask to a prefix size in bits.
</p>
4261 <table class=
"params">
4274 <th class=
"last">Description
</th>
4283 <td class=
"name"><code>netmask
</code></td>
4289 <span class=
"param-type">string
</span>
4296 <td class=
"default">
4301 <td class=
"description last">
4308 <p>The netmask to convert into a bit count.
</p></td>
4315 <td class=
"name"><code>v6
</code></td>
4321 <span class=
"param-type">boolean
</span>
4328 <td class=
"default">
4335 <td class=
"description last">
4338 <span class=
"optional">optional
</span>
4344 <p>Whether to parse the given netmask as IPv4 (
<code>false
</code>) or IPv6 (
<code>true
</code>)
4354 <dl class=
"details">
4392 <table class=
"params">
4397 <th class=
"last">Description
</th>
4413 <td class=
"description last">Returns the number of prefix bits contained in the netmask or
<code>null
</code>
4414 if the given netmask value was invalid.
</td>
4428 <div class=
"nameContainer">
4429 <h4 class=
"name" id=
"prefixToMask">
4431 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>
4435 <div class=
"tag-source">
4436 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line664">line
664</a>
4446 <div class=
"description">
4447 <p>Converts the given prefix size in bits to a netmask.
</p>
4458 <table class=
"params">
4471 <th class=
"last">Description
</th>
4480 <td class=
"name"><code>bits
</code></td>
4486 <span class=
"param-type">number
</span>
4493 <td class=
"default">
4498 <td class=
"description last">
4505 <p>The prefix size in bits.
</p></td>
4512 <td class=
"name"><code>v6
</code></td>
4518 <span class=
"param-type">boolean
</span>
4525 <td class=
"default">
4532 <td class=
"description last">
4535 <span class=
"optional">optional
</span>
4541 <p>Whether to convert the bits value into an IPv4 netmask (
<code>false
</code>) or
4542 an IPv6 netmask (
<code>true
</code>).
</p></td>
4551 <dl class=
"details">
4589 <table class=
"params">
4594 <th class=
"last">Description
</th>
4610 <td class=
"description last">Returns a string containing the netmask corresponding to the bit count
4611 or
<code>null
</code> when the given amount of bits exceeds the maximum possible
4612 value of
<code>32</code> for IPv4 or
<code>128</code> for IPv6.
</td>
4626 <div class=
"nameContainer">
4627 <h4 class=
"name" id=
"registerErrorCode">
4629 registerErrorCode
<span class=
"signature">(code, message)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4633 <div class=
"tag-source">
4634 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line871">line
871</a>
4644 <div class=
"description">
4645 <p>Registers a new human readable translation string for a
<code>Protocol
</code>
4657 <table class=
"params">
4668 <th class=
"last">Description
</th>
4677 <td class=
"name"><code>code
</code></td>
4683 <span class=
"param-type">string
</span>
4691 <td class=
"description last">
4693 <p>The
<code>ubus
</code> protocol error code to register a translation for, e.g.
4694 <code>NO_DEVICE
</code>.
</p></td>
4701 <td class=
"name"><code>message
</code></td>
4707 <span class=
"param-type">string
</span>
4715 <td class=
"description last">
4717 <p>The message to use as translation for the given protocol error code.
</p></td>
4726 <dl class=
"details">
4764 <table class=
"params">
4769 <th class=
"last">Description
</th>
4782 <td class=
"description last">Returns
<code>true
</code> if the error code description has been added or
<code>false
</code>
4783 if either the arguments were invalid or if there already was a
4784 description for the given code.
</td>
4798 <div class=
"nameContainer">
4799 <h4 class=
"name" id=
"registerPatternVirtual">
4801 registerPatternVirtual
<span class=
"signature">(pat)
</span>
4805 <div class=
"tag-source">
4806 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line851">line
851</a>
4816 <div class=
"description">
4817 <p>Registers a new regular expression pattern to recognize
4818 virtual interfaces.
</p>
4829 <table class=
"params">
4840 <th class=
"last">Description
</th>
4849 <td class=
"name"><code>pat
</code></td>
4855 <span class=
"param-type">RegExp
</span>
4863 <td class=
"description last">
4865 <p>A
<code>RegExp
</code> instance to match a virtual interface name
4866 such as
<code>6in4-wan
</code> or
<code>tun0
</code>.
</p></td>
4875 <dl class=
"details">
4916 <div class=
"nameContainer">
4917 <h4 class=
"name" id=
"registerProtocol">
4919 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>
4923 <div class=
"tag-source">
4924 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line810">line
810</a>
4934 <div class=
"description">
4935 <p>Registers a new
<a href=
"LuCI.Network.Protocol.html"><code>Protocol
</code></a> subclass
4936 with the given methods and returns the resulting subclass value.
</p>
4937 <p>This functions internally calls
4938 <a href=
"LuCI.Class.html#.extend"><code>Class.extend()
</code></a> on the
<code>Network.Protocol
</code>
4950 <table class=
"params">
4961 <th class=
"last">Description
</th>
4970 <td class=
"name"><code>protoname
</code></td>
4976 <span class=
"param-type">string
</span>
4984 <td class=
"description last">
4986 <p>The name of the new protocol to register.
</p></td>
4993 <td class=
"name"><code>methods
</code></td>
4999 <span class=
"param-type">Object.
<string, *
></span>
5007 <td class=
"description last">
5009 <p>The member methods and values of the new
<code>Protocol
</code> subclass to
5010 be passed to
<a href=
"LuCI.Class.html#.extend"><code>Class.extend()
</code></a>.
</p></td>
5019 <dl class=
"details">
5057 <table class=
"params">
5062 <th class=
"last">Description
</th>
5071 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
5075 <td class=
"description last">Returns the new
<code>Protocol
</code> subclass.
</td>
5089 <div class=
"nameContainer">
5090 <h4 class=
"name" id=
"renameNetwork">
5092 renameNetwork
<span class=
"signature">(oldName, newName)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Promise.
<boolean
>}
</span>
5096 <div class=
"tag-source">
5097 <a href=
"network.js.html">network.js
</a>,
<a href=
"network.js.html#line1044">line
1044</a>
5107 <div class=
"description">
5108 <p>Rename the given network and its references to a new name.
</p>
5119 <table class=
"params">
5130 <th class=
"last">Description
</th>
5139 <td class=
"name"><code>oldName
</code></td>
5145 <span class=
"param-type">string
</span>
5153 <td class=
"description last">
5155 <p>The current name of the network.
</p></td>
5162 <td class=
"name"><code>newName
</code></td>
5168 <span class=
"param-type">string
</span>
5176 <td class=
"description last">
5178 <p>The name to rename the network to, must be in the format
5179 <code>[a-z-A-Z0-
9_]+
</code>.
</p></td>
5188 <dl class=
"details">
5226 <table class=
"params">
5231 <th class=
"last">Description
</th>
5240 Promise.
<boolean
>
5244 <td class=
"description last">Returns a promise resolving to either
<code>true
</code> if the network was
5245 successfully renamed or
<code>false
</code> if the new name was invalid, if
5246 a network with the new name already exists or if the network to
5247 rename could not be found.
</td>
5262 <h3 class=
"subsection-title">Type Definitions
</h3>
5267 <div class=
"nameContainer">
5268 <h4 class=
"name" id=
".SwitchTopology">LuCI.Network.SwitchTopology
<span class=
"type-signature type object.<string, (object|array)>">Object.
<string, (Object|Array)
></span> </h4>
5275 <div class=
"description">
5276 <p>Describes an swconfig switch topology by specifying the CPU
5277 connections and external port labels of a switch.
</p>
5282 <dl class=
"details">
5285 <h5 class=
"subsection-title">Properties:
</h5>
5289 <table class=
"props">
5302 <th class=
"last">Description
</th>
5311 <td class=
"name"><code>netdevs
</code></td>
5317 <span class=
"param-type">Object.
<number, string
></span>
5327 <td class=
"description last"><p>The
<code>netdevs
</code> property points to an object describing the CPU port
5328 connections of the switch. The numeric key of the enclosed object is
5329 the port number, the value contains the Linux network device name the
5330 port is hardwired to.
</p></td>
5337 <td class=
"name"><code>ports
</code></td>
5343 <span class=
"param-type">Array.
<Object.
<string, (boolean|number|string)
>></span>
5353 <td class=
"description last"><p>The
<code>ports
</code> property points to an array describing the populated
5354 ports of the switch in the external label order. Each array item is
5355 an object containg the following keys:
</p>
5357 <li><code>num
</code> - the internal switch port number
</li>
5358 <li><code>label
</code> - the label of the port, e.g.
<code>LAN
1</code> or
<code>CPU (eth0)
</code></li>
5359 <li><code>device
</code> - the connected Linux network device name (CPU ports only)
</li>
5360 <li><code>tagged
</code> - a boolean indicating whether the port must be tagged to
5361 function (CPU ports only)
</li>
5399 <div class=
"nameContainer">
5400 <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>
5407 <div class=
"description">
5408 <p>An encryption entry describes active wireless encryption settings
5409 such as the used key management protocols, active ciphers and
5410 protocol versions.
</p>
5415 <dl class=
"details">
5418 <h5 class=
"subsection-title">Properties:
</h5>
5422 <table class=
"props">
5437 <th class=
"last">Description
</th>
5446 <td class=
"name"><code>enabled
</code></td>
5452 <span class=
"param-type">boolean
</span>
5459 <td class=
"attributes">
5468 <td class=
"description last"><p>Specifies whether any kind of encryption, such as
<code>WEP
</code> or
<code>WPA
</code> is
5469 enabled. If set to
<code>false
</code>, then no encryption is active and the
5470 corresponding network is open.
</p></td>
5477 <td class=
"name"><code>wep
</code></td>
5483 <span class=
"param-type">Array.
<string
></span>
5490 <td class=
"attributes">
5501 <td class=
"description last"><p>When the
<code>wep
</code> property exists, the network uses WEP encryption.
5502 In this case, the property is set to an array of active WEP modes
5503 which might be either
<code>open
</code>,
<code>shared
</code> or both.
</p></td>
5510 <td class=
"name"><code>wpa
</code></td>
5516 <span class=
"param-type">Array.
<number
></span>
5523 <td class=
"attributes">
5534 <td class=
"description last"><p>When the
<code>wpa
</code> property exists, the network uses WPA security.
5535 In this case, the property is set to an array containing the WPA
5536 protocol versions used, e.g.
<code>[
1,
2 ]
</code> for WPA/WPA2 mixed mode or
5537 <code>[
3 ]
</code> for WPA3-SAE.
</p></td>
5544 <td class=
"name"><code>authentication
</code></td>
5550 <span class=
"param-type">Array.
<string
></span>
5557 <td class=
"attributes">
5568 <td class=
"description last"><p>The
<code>authentication
</code> property only applies to WPA encryption and
5569 is defined when the
<code>wpa
</code> property is set as well. It points to
5570 an array of active authentication suites used by the network, e.g.
5571 <code>[
"psk
" ]
</code> for a WPA(
2)-PSK network or
<code>[
"psk
",
"sae
" ]
</code> for
5572 mixed WPA2-PSK/WPA3-SAE encryption.
</p></td>
5579 <td class=
"name"><code>ciphers
</code></td>
5585 <span class=
"param-type">Array.
<string
></span>
5592 <td class=
"attributes">
5603 <td class=
"description last"><p>If either WEP or WPA encryption is active, then the
<code>ciphers
</code>
5604 property will be set to an array describing the active encryption
5605 ciphers used by the network, e.g.
<code>[
"tkip
",
"ccmp
" ]
</code> for a
5606 WPA/WPA2-PSK mixed network or
<code>[
"wep-
40",
"wep-
104" ]
</code> for an
5607 WEP network.
</p></td>
5644 <div class=
"nameContainer">
5645 <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>
5652 <div class=
"description">
5653 <p>A wireless peer entry describes the properties of a remote wireless
5654 peer associated with a local network.
</p>
5659 <dl class=
"details">
5662 <h5 class=
"subsection-title">Properties:
</h5>
5666 <table class=
"props">
5681 <th class=
"last">Description
</th>
5690 <td class=
"name"><code>mac
</code></td>
5696 <span class=
"param-type">string
</span>
5703 <td class=
"attributes">
5712 <td class=
"description last"><p>The MAC address (BSSID).
</p></td>
5719 <td class=
"name"><code>signal
</code></td>
5725 <span class=
"param-type">number
</span>
5732 <td class=
"attributes">
5741 <td class=
"description last"><p>The received signal strength.
</p></td>
5748 <td class=
"name"><code>signal_avg
</code></td>
5754 <span class=
"param-type">number
</span>
5761 <td class=
"attributes">
5772 <td class=
"description last"><p>The average signal strength if supported by the driver.
</p></td>
5779 <td class=
"name"><code>noise
</code></td>
5785 <span class=
"param-type">number
</span>
5792 <td class=
"attributes">
5803 <td class=
"description last"><p>The current noise floor of the radio. May be
<code>0</code> or absent if not
5804 supported by the driver.
</p></td>
5811 <td class=
"name"><code>inactive
</code></td>
5817 <span class=
"param-type">number
</span>
5824 <td class=
"attributes">
5833 <td class=
"description last"><p>The amount of milliseconds the peer has been inactive, e.g. due
5834 to powersave.
</p></td>
5841 <td class=
"name"><code>connected_time
</code></td>
5847 <span class=
"param-type">number
</span>
5854 <td class=
"attributes">
5863 <td class=
"description last"><p>The amount of milliseconds the peer is associated to this network.
</p></td>
5870 <td class=
"name"><code>thr
</code></td>
5876 <span class=
"param-type">number
</span>
5883 <td class=
"attributes">
5894 <td class=
"description last"><p>The estimated throughput of the peer, May be
<code>0</code> or absent if not
5895 supported by the driver.
</p></td>
5902 <td class=
"name"><code>authorized
</code></td>
5908 <span class=
"param-type">boolean
</span>
5915 <td class=
"attributes">
5924 <td class=
"description last"><p>Specifies whether the peer is authorized to associate to this network.
</p></td>
5931 <td class=
"name"><code>authenticated
</code></td>
5937 <span class=
"param-type">boolean
</span>
5944 <td class=
"attributes">
5953 <td class=
"description last"><p>Specifies whether the peer completed authentication to this network.
</p></td>
5960 <td class=
"name"><code>preamble
</code></td>
5966 <span class=
"param-type">string
</span>
5973 <td class=
"attributes">
5982 <td class=
"description last"><p>The preamble mode used by the peer. May be
<code>long
</code> or
<code>short
</code>.
</p></td>
5989 <td class=
"name"><code>wme
</code></td>
5995 <span class=
"param-type">boolean
</span>
6002 <td class=
"attributes">
6011 <td class=
"description last"><p>Specifies whether the peer supports WME/WMM capabilities.
</p></td>
6018 <td class=
"name"><code>mfp
</code></td>
6024 <span class=
"param-type">boolean
</span>
6031 <td class=
"attributes">
6040 <td class=
"description last"><p>Specifies whether management frame protection is active.
</p></td>
6047 <td class=
"name"><code>tdls
</code></td>
6053 <span class=
"param-type">boolean
</span>
6060 <td class=
"attributes">
6069 <td class=
"description last"><p>Specifies whether TDLS is active.
</p></td>
6076 <td class=
"name"><code>mesh llid
</code></td>
6082 <span class=
"param-type">number
</span>
6089 <td class=
"attributes">
6100 <td class=
"description last"><p>The mesh LLID, may be
<code>0</code> or absent if not applicable or supported
6101 by the driver.
</p></td>
6108 <td class=
"name"><code>mesh plid
</code></td>
6114 <span class=
"param-type">number
</span>
6121 <td class=
"attributes">
6132 <td class=
"description last"><p>The mesh PLID, may be
<code>0</code> or absent if not applicable or supported
6133 by the driver.
</p></td>
6140 <td class=
"name"><code>mesh plink
</code></td>
6146 <span class=
"param-type">string
</span>
6153 <td class=
"attributes">
6164 <td class=
"description last"><p>The mesh peer link state description, may be an empty string (
<code>''
</code>)
6165 or absent if not applicable or supported by the driver.
</p>
6166 <p>The following states are known:
</p>
6168 <li><code>LISTEN
</code></li>
6169 <li><code>OPN_SNT
</code></li>
6170 <li><code>OPN_RCVD
</code></li>
6171 <li><code>CNF_RCVD
</code></li>
6172 <li><code>ESTAB
</code></li>
6173 <li><code>HOLDING
</code></li>
6174 <li><code>BLOCKED
</code></li>
6175 <li><code>UNKNOWN
</code></li>
6183 <td class=
"name"><code>mesh local PS
</code></td>
6189 <span class=
"param-type">number
</span>
6196 <td class=
"attributes">
6207 <td class=
"description last"><p>The local powersafe mode for the peer link, may be an empty
6208 string (
<code>''
</code>) or absent if not applicable or supported by
6210 <p>The following modes are known:
</p>
6212 <li><code>ACTIVE
</code> (no power save)
</li>
6213 <li><code>LIGHT SLEEP
</code></li>
6214 <li><code>DEEP SLEEP
</code></li>
6215 <li><code>UNKNOWN
</code></li>
6223 <td class=
"name"><code>mesh peer PS
</code></td>
6229 <span class=
"param-type">number
</span>
6236 <td class=
"attributes">
6247 <td class=
"description last"><p>The remote powersafe mode for the peer link, may be an empty
6248 string (
<code>''
</code>) or absent if not applicable or supported by
6250 <p>The following modes are known:
</p>
6252 <li><code>ACTIVE
</code> (no power save)
</li>
6253 <li><code>LIGHT SLEEP
</code></li>
6254 <li><code>DEEP SLEEP
</code></li>
6255 <li><code>UNKNOWN
</code></li>
6263 <td class=
"name"><code>mesh non-peer PS
</code></td>
6269 <span class=
"param-type">number
</span>
6276 <td class=
"attributes">
6287 <td class=
"description last"><p>The powersafe mode for all non-peer neigbours, may be an empty
6288 string (
<code>''
</code>) or absent if not applicable or supported by the driver.
</p>
6289 <p>The following modes are known:
</p>
6291 <li><code>ACTIVE
</code> (no power save)
</li>
6292 <li><code>LIGHT SLEEP
</code></li>
6293 <li><code>DEEP SLEEP
</code></li>
6294 <li><code>UNKNOWN
</code></li>
6302 <td class=
"name"><code>rx
</code></td>
6308 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a></span>
6315 <td class=
"attributes">
6324 <td class=
"description last"><p>Describes the receiving wireless rate from the peer.
</p></td>
6331 <td class=
"name"><code>tx
</code></td>
6337 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiRateEntry">LuCI.Network.WifiRateEntry
</a></span>
6344 <td class=
"attributes">
6353 <td class=
"description last"><p>Describes the transmitting wireless rate to the peer.
</p></td>
6390 <div class=
"nameContainer">
6391 <h4 class=
"name" id=
".WifiRateEntry">LuCI.Network.WifiRateEntry
<span class=
"type-signature type object.<string, (boolean|number)>">Object.
<string, (boolean|number)
></span> </h4>
6398 <div class=
"description">
6399 <p>A wireless rate entry describes the properties of a wireless
6400 transmission rate to or from a peer.
</p>
6405 <dl class=
"details">
6408 <h5 class=
"subsection-title">Properties:
</h5>
6412 <table class=
"props">
6427 <th class=
"last">Description
</th>
6436 <td class=
"name"><code>drop_misc
</code></td>
6442 <span class=
"param-type">number
</span>
6449 <td class=
"attributes">
6460 <td class=
"description last"><p>The amount of received misc. packages that have been dropped, e.g.
6461 due to corruption or missing authentication. Only applicable to
6462 receiving rates.
</p></td>
6469 <td class=
"name"><code>packets
</code></td>
6475 <span class=
"param-type">number
</span>
6482 <td class=
"attributes">
6491 <td class=
"description last"><p>The amount of packets that have been received or sent.
</p></td>
6498 <td class=
"name"><code>bytes
</code></td>
6504 <span class=
"param-type">number
</span>
6511 <td class=
"attributes">
6520 <td class=
"description last"><p>The amount of bytes that have been received or sent.
</p></td>
6527 <td class=
"name"><code>failed
</code></td>
6533 <span class=
"param-type">number
</span>
6540 <td class=
"attributes">
6551 <td class=
"description last"><p>The amount of failed tranmission attempts. Only applicable to
6552 transmit rates.
</p></td>
6559 <td class=
"name"><code>retries
</code></td>
6565 <span class=
"param-type">number
</span>
6572 <td class=
"attributes">
6583 <td class=
"description last"><p>The amount of retried transmissions. Only applicable to transmit
6591 <td class=
"name"><code>is_ht
</code></td>
6597 <span class=
"param-type">boolean
</span>
6604 <td class=
"attributes">
6613 <td class=
"description last"><p>Specifies whether this rate is an HT (IEEE
802.11n) rate.
</p></td>
6620 <td class=
"name"><code>is_vht
</code></td>
6626 <span class=
"param-type">boolean
</span>
6633 <td class=
"attributes">
6642 <td class=
"description last"><p>Specifies whether this rate is an VHT (IEEE
802.11ac) rate.
</p></td>
6649 <td class=
"name"><code>mhz
</code></td>
6655 <span class=
"param-type">number
</span>
6662 <td class=
"attributes">
6671 <td class=
"description last"><p>The channel width in MHz used for the transmission.
</p></td>
6678 <td class=
"name"><code>rate
</code></td>
6684 <span class=
"param-type">number
</span>
6691 <td class=
"attributes">
6700 <td class=
"description last"><p>The bitrate in bit/s of the transmission.
</p></td>
6707 <td class=
"name"><code>mcs
</code></td>
6713 <span class=
"param-type">number
</span>
6720 <td class=
"attributes">
6731 <td class=
"description last"><p>The MCS index of the used transmission rate. Only applicable to
6732 HT or VHT rates.
</p></td>
6739 <td class=
"name"><code>40mhz
</code></td>
6745 <span class=
"param-type">number
</span>
6752 <td class=
"attributes">
6763 <td class=
"description last"><p>Specifies whether the tranmission rate used
40MHz wide channel.
6764 Only applicable to HT or VHT rates.
</p>
6765 <p>Note: this option exists for backwards compatibility only and its
6766 use is discouraged. The
<code>mhz
</code> field should be used instead to
6767 determine the channel width.
</p></td>
6774 <td class=
"name"><code>short_gi
</code></td>
6780 <span class=
"param-type">boolean
</span>
6787 <td class=
"attributes">
6798 <td class=
"description last"><p>Specifies whether a short guard interval is used for the transmission.
6799 Only applicable to HT or VHT rates.
</p></td>
6806 <td class=
"name"><code>nss
</code></td>
6812 <span class=
"param-type">number
</span>
6819 <td class=
"attributes">
6830 <td class=
"description last"><p>Specifies the number of spatial streams used by the transmission.
6831 Only applicable to VHT rates.
</p></td>
6868 <div class=
"nameContainer">
6869 <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>
6876 <div class=
"description">
6877 <p>A wireless scan result object describes a neighbouring wireless
6878 network found in the vincinity.
</p>
6883 <dl class=
"details">
6886 <h5 class=
"subsection-title">Properties:
</h5>
6890 <table class=
"props">
6903 <th class=
"last">Description
</th>
6912 <td class=
"name"><code>ssid
</code></td>
6918 <span class=
"param-type">string
</span>
6928 <td class=
"description last"><p>The SSID / Mesh ID of the network.
</p></td>
6935 <td class=
"name"><code>bssid
</code></td>
6941 <span class=
"param-type">string
</span>
6951 <td class=
"description last"><p>The BSSID if the network.
</p></td>
6958 <td class=
"name"><code>mode
</code></td>
6964 <span class=
"param-type">string
</span>
6974 <td class=
"description last"><p>The operation mode of the network (
<code>Master
</code>,
<code>Ad-Hoc
</code>,
<code>Mesh Point
</code>).
</p></td>
6981 <td class=
"name"><code>channel
</code></td>
6987 <span class=
"param-type">number
</span>
6997 <td class=
"description last"><p>The wireless channel of the network.
</p></td>
7004 <td class=
"name"><code>signal
</code></td>
7010 <span class=
"param-type">number
</span>
7020 <td class=
"description last"><p>The received signal strength of the network in dBm.
</p></td>
7027 <td class=
"name"><code>quality
</code></td>
7033 <span class=
"param-type">number
</span>
7043 <td class=
"description last"><p>The numeric quality level of the signal, can be used in conjunction
7044 with
<code>quality_max
</code> to calculate a quality percentage.
</p></td>
7051 <td class=
"name"><code>quality_max
</code></td>
7057 <span class=
"param-type">number
</span>
7067 <td class=
"description last"><p>The maximum possible quality level of the signal, can be used in
7068 conjunction with
<code>quality
</code> to calculate a quality percentage.
</p></td>
7075 <td class=
"name"><code>encryption
</code></td>
7081 <span class=
"param-type"><a href=
"LuCI.Network.html#.WifiEncryption">LuCI.Network.WifiEncryption
</a></span>
7091 <td class=
"description last"><p>The encryption used by the wireless network.
</p></td>
7142 Documentation generated by
<a target=
"_blank" href=
"https://github.com/jsdoc3/jsdoc">JSDoc
3.6.3</a> on Wed Feb
12 2020 11:
56:
59 GMT+
0100 (Central European Standard Time)
7146 <script>prettyPrint();
</script>
7147 <script src=
"scripts/jaguar.js"></script>