5 <title>Class: Protocol
</title>
8 <script src=
"scripts/prettify/prettify.js"></script>
9 <script src=
"scripts/prettify/lang-css.js"></script>
10 <script src=
"scripts/jquery.min.js"></script>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14 <link type=
"text/css" rel=
"stylesheet" href=
"styles/prettify-tomorrow.css">
15 <link type=
"text/css" rel=
"stylesheet" href=
"styles/bootstrap.min.css">
16 <link type=
"text/css" rel=
"stylesheet" href=
"styles/jaguar.css">
20 var config = {
"monospaceLinks":true,
"cleverLinks":true,
"default":{}};
27 <div id=
"wrap" class=
"clearfix">
29 <div class=
"navigation">
30 <h3 class=
"applicationName"><a href=
"index.html"></a></h3>
33 <input id=
"search" type=
"text" class=
"form-control input-sm" placeholder=
"Search Documentations">
37 <li class=
"item" data-name=
"LuCI">
39 <a href=
"LuCI.html">LuCI
</a>
42 <ul class=
"members itemMembers">
44 <span class=
"subtitle">Members
</span>
46 <li data-name=
"LuCI#env"><a href=
"LuCI.html#env">env
</a></li>
49 <ul class=
"typedefs itemMembers">
51 <span class=
"subtitle">Typedefs
</span>
53 <li data-name=
"LuCI.requestCallbackFn"><a href=
"LuCI.html#.requestCallbackFn">requestCallbackFn
</a></li>
56 <ul class=
"typedefs itemMembers">
59 <ul class=
"methods itemMembers">
61 <span class=
"subtitle">Methods
</span>
63 <li data-name=
"LuCI#bind"><a href=
"LuCI.html#bind">bind
</a></li>
65 <li data-name=
"LuCI#error"><a href=
"LuCI.html#error">error
</a></li>
67 <li data-name=
"LuCI#get"><a href=
"LuCI.html#get">get
</a></li>
69 <li data-name=
"LuCI#halt"><a href=
"LuCI.html#halt">halt
</a></li>
71 <li data-name=
"LuCI#hasSystemFeature"><a href=
"LuCI.html#hasSystemFeature">hasSystemFeature
</a></li>
73 <li data-name=
"LuCI#isObject"><a href=
"LuCI.html#isObject">isObject
</a></li>
75 <li data-name=
"LuCI#location"><a href=
"LuCI.html#location">location
</a></li>
77 <li data-name=
"LuCI#path"><a href=
"LuCI.html#path">path
</a></li>
79 <li data-name=
"LuCI#poll"><a href=
"LuCI.html#poll">poll
</a></li>
81 <li data-name=
"LuCI#post"><a href=
"LuCI.html#post">post
</a></li>
83 <li data-name=
"LuCI#raise"><a href=
"LuCI.html#raise">raise
</a></li>
85 <li data-name=
"LuCI#require"><a href=
"LuCI.html#require">require
</a></li>
87 <li data-name=
"LuCI#resolveDefault"><a href=
"LuCI.html#resolveDefault">resolveDefault
</a></li>
89 <li data-name=
"LuCI#resource"><a href=
"LuCI.html#resource">resource
</a></li>
91 <li data-name=
"LuCI#run"><a href=
"LuCI.html#run">run
</a></li>
93 <li data-name=
"LuCI#sortedKeys"><a href=
"LuCI.html#sortedKeys">sortedKeys
</a></li>
95 <li data-name=
"LuCI#stop"><a href=
"LuCI.html#stop">stop
</a></li>
97 <li data-name=
"LuCI#toArray"><a href=
"LuCI.html#toArray">toArray
</a></li>
99 <li data-name=
"LuCI#url"><a href=
"LuCI.html#url">url
</a></li>
102 <ul class=
"events itemMembers">
107 <li class=
"item" data-name=
"LuCI.Class">
109 <a href=
"LuCI.Class.html">LuCI.Class
</a>
112 <ul class=
"members itemMembers">
115 <ul class=
"typedefs itemMembers">
118 <ul class=
"typedefs itemMembers">
121 <ul class=
"methods itemMembers">
123 <span class=
"subtitle">Methods
</span>
125 <li data-name=
"LuCI.Class.extend"><a href=
"LuCI.Class.html#.extend">extend
</a></li>
127 <li data-name=
"LuCI.Class.instantiate"><a href=
"LuCI.Class.html#.instantiate">instantiate
</a></li>
129 <li data-name=
"LuCI.Class.isSubclass"><a href=
"LuCI.Class.html#.isSubclass">isSubclass
</a></li>
131 <li data-name=
"LuCI.Class.singleton"><a href=
"LuCI.Class.html#.singleton">singleton
</a></li>
133 <li data-name=
"LuCI.Class#super"><a href=
"LuCI.Class.html#super">super
</a></li>
135 <li data-name=
"LuCI.Class#varargs"><a href=
"LuCI.Class.html#varargs">varargs
</a></li>
138 <ul class=
"events itemMembers">
143 <li class=
"item" data-name=
"LuCI.dom">
145 <a href=
"LuCI.dom.html">LuCI.dom
</a>
148 <ul class=
"members itemMembers">
151 <ul class=
"typedefs itemMembers">
153 <span class=
"subtitle">Typedefs
</span>
155 <li data-name=
"LuCI.dom~ignoreCallbackFn"><a href=
"LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn
</a></li>
158 <ul class=
"typedefs itemMembers">
161 <ul class=
"methods itemMembers">
163 <span class=
"subtitle">Methods
</span>
165 <li data-name=
"LuCI.dom#append"><a href=
"LuCI.dom.html#append">append
</a></li>
167 <li data-name=
"LuCI.dom#attr"><a href=
"LuCI.dom.html#attr">attr
</a></li>
169 <li data-name=
"LuCI.dom#bindClassInstance"><a href=
"LuCI.dom.html#bindClassInstance">bindClassInstance
</a></li>
171 <li data-name=
"LuCI.dom#callClassMethod"><a href=
"LuCI.dom.html#callClassMethod">callClassMethod
</a></li>
173 <li data-name=
"LuCI.dom#content"><a href=
"LuCI.dom.html#content">content
</a></li>
175 <li data-name=
"LuCI.dom#create"><a href=
"LuCI.dom.html#create">create
</a></li>
177 <li data-name=
"LuCI.dom#data"><a href=
"LuCI.dom.html#data">data
</a></li>
179 <li data-name=
"LuCI.dom#elem"><a href=
"LuCI.dom.html#elem">elem
</a></li>
181 <li data-name=
"LuCI.dom#findClassInstance"><a href=
"LuCI.dom.html#findClassInstance">findClassInstance
</a></li>
183 <li data-name=
"LuCI.dom#isEmpty"><a href=
"LuCI.dom.html#isEmpty">isEmpty
</a></li>
185 <li data-name=
"LuCI.dom#matches"><a href=
"LuCI.dom.html#matches">matches
</a></li>
187 <li data-name=
"LuCI.dom#parent"><a href=
"LuCI.dom.html#parent">parent
</a></li>
189 <li data-name=
"LuCI.dom#parse"><a href=
"LuCI.dom.html#parse">parse
</a></li>
192 <ul class=
"events itemMembers">
197 <li class=
"item" data-name=
"LuCI.fs">
199 <a href=
"LuCI.fs.html">LuCI.fs
</a>
202 <ul class=
"members itemMembers">
205 <ul class=
"typedefs itemMembers">
207 <span class=
"subtitle">Typedefs
</span>
209 <li data-name=
"LuCI.fs.FileExecResult"><a href=
"LuCI.fs.html#.FileExecResult">FileExecResult
</a></li>
211 <li data-name=
"LuCI.fs.FileStatEntry"><a href=
"LuCI.fs.html#.FileStatEntry">FileStatEntry
</a></li>
214 <ul class=
"typedefs itemMembers">
217 <ul class=
"methods itemMembers">
219 <span class=
"subtitle">Methods
</span>
221 <li data-name=
"LuCI.fs#exec"><a href=
"LuCI.fs.html#exec">exec
</a></li>
223 <li data-name=
"LuCI.fs#lines"><a href=
"LuCI.fs.html#lines">lines
</a></li>
225 <li data-name=
"LuCI.fs#list"><a href=
"LuCI.fs.html#list">list
</a></li>
227 <li data-name=
"LuCI.fs#read"><a href=
"LuCI.fs.html#read">read
</a></li>
229 <li data-name=
"LuCI.fs#remove"><a href=
"LuCI.fs.html#remove">remove
</a></li>
231 <li data-name=
"LuCI.fs#stat"><a href=
"LuCI.fs.html#stat">stat
</a></li>
233 <li data-name=
"LuCI.fs#trimmed"><a href=
"LuCI.fs.html#trimmed">trimmed
</a></li>
235 <li data-name=
"LuCI.fs#write"><a href=
"LuCI.fs.html#write">write
</a></li>
238 <ul class=
"events itemMembers">
243 <li class=
"item" data-name=
"LuCI.Headers">
245 <a href=
"LuCI.Headers.html">LuCI.Headers
</a>
248 <ul class=
"members itemMembers">
251 <ul class=
"typedefs itemMembers">
254 <ul class=
"typedefs itemMembers">
257 <ul class=
"methods itemMembers">
259 <span class=
"subtitle">Methods
</span>
261 <li data-name=
"LuCI.Headers#get"><a href=
"LuCI.Headers.html#get">get
</a></li>
263 <li data-name=
"LuCI.Headers#has"><a href=
"LuCI.Headers.html#has">has
</a></li>
266 <ul class=
"events itemMembers">
271 <li class=
"item" data-name=
"LuCI.Network">
273 <a href=
"LuCI.Network.html">LuCI.Network
</a>
276 <ul class=
"members itemMembers">
279 <ul class=
"typedefs itemMembers">
281 <span class=
"subtitle">Typedefs
</span>
283 <li data-name=
"LuCI.Network.SwitchTopology"><a href=
"LuCI.Network.html#.SwitchTopology">SwitchTopology
</a></li>
285 <li data-name=
"LuCI.Network.WifiEncryption"><a href=
"LuCI.Network.html#.WifiEncryption">WifiEncryption
</a></li>
287 <li data-name=
"LuCI.Network.WifiPeerEntry"><a href=
"LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry
</a></li>
289 <li data-name=
"LuCI.Network.WifiRateEntry"><a href=
"LuCI.Network.html#.WifiRateEntry">WifiRateEntry
</a></li>
291 <li data-name=
"LuCI.Network.WifiScanResult"><a href=
"LuCI.Network.html#.WifiScanResult">WifiScanResult
</a></li>
294 <ul class=
"typedefs itemMembers">
297 <ul class=
"methods itemMembers">
299 <span class=
"subtitle">Methods
</span>
301 <li data-name=
"LuCI.Network#addNetwork"><a href=
"LuCI.Network.html#addNetwork">addNetwork
</a></li>
303 <li data-name=
"LuCI.Network#addWifiNetwork"><a href=
"LuCI.Network.html#addWifiNetwork">addWifiNetwork
</a></li>
305 <li data-name=
"LuCI.Network#deleteNetwork"><a href=
"LuCI.Network.html#deleteNetwork">deleteNetwork
</a></li>
307 <li data-name=
"LuCI.Network#deleteWifiNetwork"><a href=
"LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
309 <li data-name=
"LuCI.Network#flushCache"><a href=
"LuCI.Network.html#flushCache">flushCache
</a></li>
311 <li data-name=
"LuCI.Network#formatWifiEncryption"><a href=
"LuCI.Network.html#formatWifiEncryption">formatWifiEncryption
</a></li>
313 <li data-name=
"LuCI.Network#getDevice"><a href=
"LuCI.Network.html#getDevice">getDevice
</a></li>
315 <li data-name=
"LuCI.Network#getDevices"><a href=
"LuCI.Network.html#getDevices">getDevices
</a></li>
317 <li data-name=
"LuCI.Network#getDSLModemType"><a href=
"LuCI.Network.html#getDSLModemType">getDSLModemType
</a></li>
319 <li data-name=
"LuCI.Network#getHostHints"><a href=
"LuCI.Network.html#getHostHints">getHostHints
</a></li>
321 <li data-name=
"LuCI.Network#getIfnameOf"><a href=
"LuCI.Network.html#getIfnameOf">getIfnameOf
</a></li>
323 <li data-name=
"LuCI.Network#getNetwork"><a href=
"LuCI.Network.html#getNetwork">getNetwork
</a></li>
325 <li data-name=
"LuCI.Network#getNetworks"><a href=
"LuCI.Network.html#getNetworks">getNetworks
</a></li>
327 <li data-name=
"LuCI.Network#getProtocol"><a href=
"LuCI.Network.html#getProtocol">getProtocol
</a></li>
329 <li data-name=
"LuCI.Network#getProtocols"><a href=
"LuCI.Network.html#getProtocols">getProtocols
</a></li>
331 <li data-name=
"LuCI.Network#getSwitchTopologies"><a href=
"LuCI.Network.html#getSwitchTopologies">getSwitchTopologies
</a></li>
333 <li data-name=
"LuCI.Network#getWAN6Networks"><a href=
"LuCI.Network.html#getWAN6Networks">getWAN6Networks
</a></li>
335 <li data-name=
"LuCI.Network#getWANNetworks"><a href=
"LuCI.Network.html#getWANNetworks">getWANNetworks
</a></li>
337 <li data-name=
"LuCI.Network#getWifiDevice"><a href=
"LuCI.Network.html#getWifiDevice">getWifiDevice
</a></li>
339 <li data-name=
"LuCI.Network#getWifiDevices"><a href=
"LuCI.Network.html#getWifiDevices">getWifiDevices
</a></li>
341 <li data-name=
"LuCI.Network#getWifiNetwork"><a href=
"LuCI.Network.html#getWifiNetwork">getWifiNetwork
</a></li>
343 <li data-name=
"LuCI.Network#isIgnoredDevice"><a href=
"LuCI.Network.html#isIgnoredDevice">isIgnoredDevice
</a></li>
345 <li data-name=
"LuCI.Network#maskToPrefix"><a href=
"LuCI.Network.html#maskToPrefix">maskToPrefix
</a></li>
347 <li data-name=
"LuCI.Network#prefixToMask"><a href=
"LuCI.Network.html#prefixToMask">prefixToMask
</a></li>
349 <li data-name=
"LuCI.Network#registerErrorCode"><a href=
"LuCI.Network.html#registerErrorCode">registerErrorCode
</a></li>
351 <li data-name=
"LuCI.Network#registerPatternVirtual"><a href=
"LuCI.Network.html#registerPatternVirtual">registerPatternVirtual
</a></li>
353 <li data-name=
"LuCI.Network#registerProtocol"><a href=
"LuCI.Network.html#registerProtocol">registerProtocol
</a></li>
355 <li data-name=
"LuCI.Network#renameNetwork"><a href=
"LuCI.Network.html#renameNetwork">renameNetwork
</a></li>
358 <ul class=
"events itemMembers">
363 <li class=
"item" data-name=
"LuCI.Network.Device">
365 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
368 <ul class=
"members itemMembers">
371 <ul class=
"typedefs itemMembers">
374 <ul class=
"typedefs itemMembers">
377 <ul class=
"methods itemMembers">
379 <span class=
"subtitle">Methods
</span>
381 <li data-name=
"LuCI.Network.Device#getBridgeID"><a href=
"LuCI.Network.Device.html#getBridgeID">getBridgeID
</a></li>
383 <li data-name=
"LuCI.Network.Device#getBridgeSTP"><a href=
"LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP
</a></li>
385 <li data-name=
"LuCI.Network.Device#getI18n"><a href=
"LuCI.Network.Device.html#getI18n">getI18n
</a></li>
387 <li data-name=
"LuCI.Network.Device#getIP6Addrs"><a href=
"LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs
</a></li>
389 <li data-name=
"LuCI.Network.Device#getIPAddrs"><a href=
"LuCI.Network.Device.html#getIPAddrs">getIPAddrs
</a></li>
391 <li data-name=
"LuCI.Network.Device#getMAC"><a href=
"LuCI.Network.Device.html#getMAC">getMAC
</a></li>
393 <li data-name=
"LuCI.Network.Device#getMTU"><a href=
"LuCI.Network.Device.html#getMTU">getMTU
</a></li>
395 <li data-name=
"LuCI.Network.Device#getName"><a href=
"LuCI.Network.Device.html#getName">getName
</a></li>
397 <li data-name=
"LuCI.Network.Device#getNetwork"><a href=
"LuCI.Network.Device.html#getNetwork">getNetwork
</a></li>
399 <li data-name=
"LuCI.Network.Device#getNetworks"><a href=
"LuCI.Network.Device.html#getNetworks">getNetworks
</a></li>
401 <li data-name=
"LuCI.Network.Device#getPorts"><a href=
"LuCI.Network.Device.html#getPorts">getPorts
</a></li>
403 <li data-name=
"LuCI.Network.Device#getRXBytes"><a href=
"LuCI.Network.Device.html#getRXBytes">getRXBytes
</a></li>
405 <li data-name=
"LuCI.Network.Device#getRXPackets"><a href=
"LuCI.Network.Device.html#getRXPackets">getRXPackets
</a></li>
407 <li data-name=
"LuCI.Network.Device#getShortName"><a href=
"LuCI.Network.Device.html#getShortName">getShortName
</a></li>
409 <li data-name=
"LuCI.Network.Device#getTXBytes"><a href=
"LuCI.Network.Device.html#getTXBytes">getTXBytes
</a></li>
411 <li data-name=
"LuCI.Network.Device#getTXPackets"><a href=
"LuCI.Network.Device.html#getTXPackets">getTXPackets
</a></li>
413 <li data-name=
"LuCI.Network.Device#getType"><a href=
"LuCI.Network.Device.html#getType">getType
</a></li>
415 <li data-name=
"LuCI.Network.Device#getTypeI18n"><a href=
"LuCI.Network.Device.html#getTypeI18n">getTypeI18n
</a></li>
417 <li data-name=
"LuCI.Network.Device#getWifiNetwork"><a href=
"LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork
</a></li>
419 <li data-name=
"LuCI.Network.Device#isBridge"><a href=
"LuCI.Network.Device.html#isBridge">isBridge
</a></li>
421 <li data-name=
"LuCI.Network.Device#isBridgePort"><a href=
"LuCI.Network.Device.html#isBridgePort">isBridgePort
</a></li>
423 <li data-name=
"LuCI.Network.Device#isUp"><a href=
"LuCI.Network.Device.html#isUp">isUp
</a></li>
426 <ul class=
"events itemMembers">
431 <li class=
"item" data-name=
"LuCI.Network.Hosts">
433 <a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>
436 <ul class=
"members itemMembers">
439 <ul class=
"typedefs itemMembers">
442 <ul class=
"typedefs itemMembers">
445 <ul class=
"methods itemMembers">
447 <span class=
"subtitle">Methods
</span>
449 <li data-name=
"LuCI.Network.Hosts#getHostnameByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr
</a></li>
451 <li data-name=
"LuCI.Network.Hosts#getHostnameByIPAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr
</a></li>
453 <li data-name=
"LuCI.Network.Hosts#getHostnameByMACAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr
</a></li>
455 <li data-name=
"LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr
</a></li>
457 <li data-name=
"LuCI.Network.Hosts#getIPAddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr
</a></li>
459 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr
</a></li>
461 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIPAddr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr
</a></li>
463 <li data-name=
"LuCI.Network.Hosts#getMACHints"><a href=
"LuCI.Network.Hosts.html#getMACHints">getMACHints
</a></li>
466 <ul class=
"events itemMembers">
471 <li class=
"item" data-name=
"LuCI.Network.Protocol">
473 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
476 <ul class=
"members itemMembers">
479 <ul class=
"typedefs itemMembers">
482 <ul class=
"typedefs itemMembers">
485 <ul class=
"methods itemMembers">
487 <span class=
"subtitle">Methods
</span>
489 <li data-name=
"LuCI.Network.Protocol#addDevice"><a href=
"LuCI.Network.Protocol.html#addDevice">addDevice
</a></li>
491 <li data-name=
"LuCI.Network.Protocol#containsDevice"><a href=
"LuCI.Network.Protocol.html#containsDevice">containsDevice
</a></li>
493 <li data-name=
"LuCI.Network.Protocol#deleteDevice"><a href=
"LuCI.Network.Protocol.html#deleteDevice">deleteDevice
</a></li>
495 <li data-name=
"LuCI.Network.Protocol#get"><a href=
"LuCI.Network.Protocol.html#get">get
</a></li>
497 <li data-name=
"LuCI.Network.Protocol#getDevice"><a href=
"LuCI.Network.Protocol.html#getDevice">getDevice
</a></li>
499 <li data-name=
"LuCI.Network.Protocol#getDevices"><a href=
"LuCI.Network.Protocol.html#getDevices">getDevices
</a></li>
501 <li data-name=
"LuCI.Network.Protocol#getDNS6Addrs"><a href=
"LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs
</a></li>
503 <li data-name=
"LuCI.Network.Protocol#getDNSAddrs"><a href=
"LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs
</a></li>
505 <li data-name=
"LuCI.Network.Protocol#getErrors"><a href=
"LuCI.Network.Protocol.html#getErrors">getErrors
</a></li>
507 <li data-name=
"LuCI.Network.Protocol#getExpiry"><a href=
"LuCI.Network.Protocol.html#getExpiry">getExpiry
</a></li>
509 <li data-name=
"LuCI.Network.Protocol#getGateway6Addr"><a href=
"LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr
</a></li>
511 <li data-name=
"LuCI.Network.Protocol#getGatewayAddr"><a href=
"LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr
</a></li>
513 <li data-name=
"LuCI.Network.Protocol#getI18n"><a href=
"LuCI.Network.Protocol.html#getI18n">getI18n
</a></li>
515 <li data-name=
"LuCI.Network.Protocol#getIfname"><a href=
"LuCI.Network.Protocol.html#getIfname">getIfname
</a></li>
517 <li data-name=
"LuCI.Network.Protocol#getIP6Addr"><a href=
"LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr
</a></li>
519 <li data-name=
"LuCI.Network.Protocol#getIP6Addrs"><a href=
"LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs
</a></li>
521 <li data-name=
"LuCI.Network.Protocol#getIP6Prefix"><a href=
"LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix
</a></li>
523 <li data-name=
"LuCI.Network.Protocol#getIPAddr"><a href=
"LuCI.Network.Protocol.html#getIPAddr">getIPAddr
</a></li>
525 <li data-name=
"LuCI.Network.Protocol#getIPAddrs"><a href=
"LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs
</a></li>
527 <li data-name=
"LuCI.Network.Protocol#getL2Device"><a href=
"LuCI.Network.Protocol.html#getL2Device">getL2Device
</a></li>
529 <li data-name=
"LuCI.Network.Protocol#getL3Device"><a href=
"LuCI.Network.Protocol.html#getL3Device">getL3Device
</a></li>
531 <li data-name=
"LuCI.Network.Protocol#getMetric"><a href=
"LuCI.Network.Protocol.html#getMetric">getMetric
</a></li>
533 <li data-name=
"LuCI.Network.Protocol#getName"><a href=
"LuCI.Network.Protocol.html#getName">getName
</a></li>
535 <li data-name=
"LuCI.Network.Protocol#getNetmask"><a href=
"LuCI.Network.Protocol.html#getNetmask">getNetmask
</a></li>
537 <li data-name=
"LuCI.Network.Protocol#getOpkgPackage"><a href=
"LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage
</a></li>
539 <li data-name=
"LuCI.Network.Protocol#getProtocol"><a href=
"LuCI.Network.Protocol.html#getProtocol">getProtocol
</a></li>
541 <li data-name=
"LuCI.Network.Protocol#getType"><a href=
"LuCI.Network.Protocol.html#getType">getType
</a></li>
543 <li data-name=
"LuCI.Network.Protocol#getUptime"><a href=
"LuCI.Network.Protocol.html#getUptime">getUptime
</a></li>
545 <li data-name=
"LuCI.Network.Protocol#getZoneName"><a href=
"LuCI.Network.Protocol.html#getZoneName">getZoneName
</a></li>
547 <li data-name=
"LuCI.Network.Protocol#isAlias"><a href=
"LuCI.Network.Protocol.html#isAlias">isAlias
</a></li>
549 <li data-name=
"LuCI.Network.Protocol#isBridge"><a href=
"LuCI.Network.Protocol.html#isBridge">isBridge
</a></li>
551 <li data-name=
"LuCI.Network.Protocol#isDynamic"><a href=
"LuCI.Network.Protocol.html#isDynamic">isDynamic
</a></li>
553 <li data-name=
"LuCI.Network.Protocol#isEmpty"><a href=
"LuCI.Network.Protocol.html#isEmpty">isEmpty
</a></li>
555 <li data-name=
"LuCI.Network.Protocol#isFloating"><a href=
"LuCI.Network.Protocol.html#isFloating">isFloating
</a></li>
557 <li data-name=
"LuCI.Network.Protocol#isInstalled"><a href=
"LuCI.Network.Protocol.html#isInstalled">isInstalled
</a></li>
559 <li data-name=
"LuCI.Network.Protocol#isUp"><a href=
"LuCI.Network.Protocol.html#isUp">isUp
</a></li>
561 <li data-name=
"LuCI.Network.Protocol#isVirtual"><a href=
"LuCI.Network.Protocol.html#isVirtual">isVirtual
</a></li>
563 <li data-name=
"LuCI.Network.Protocol#set"><a href=
"LuCI.Network.Protocol.html#set">set
</a></li>
566 <ul class=
"events itemMembers">
571 <li class=
"item" data-name=
"LuCI.Network.WifiDevice">
573 <a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>
576 <ul class=
"members itemMembers">
579 <ul class=
"typedefs itemMembers">
582 <ul class=
"typedefs itemMembers">
585 <ul class=
"methods itemMembers">
587 <span class=
"subtitle">Methods
</span>
589 <li data-name=
"LuCI.Network.WifiDevice#addWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork
</a></li>
591 <li data-name=
"LuCI.Network.WifiDevice#deleteWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
593 <li data-name=
"LuCI.Network.WifiDevice#get"><a href=
"LuCI.Network.WifiDevice.html#get">get
</a></li>
595 <li data-name=
"LuCI.Network.WifiDevice#getHTModes"><a href=
"LuCI.Network.WifiDevice.html#getHTModes">getHTModes
</a></li>
597 <li data-name=
"LuCI.Network.WifiDevice#getHWModes"><a href=
"LuCI.Network.WifiDevice.html#getHWModes">getHWModes
</a></li>
599 <li data-name=
"LuCI.Network.WifiDevice#getI18n"><a href=
"LuCI.Network.WifiDevice.html#getI18n">getI18n
</a></li>
601 <li data-name=
"LuCI.Network.WifiDevice#getName"><a href=
"LuCI.Network.WifiDevice.html#getName">getName
</a></li>
603 <li data-name=
"LuCI.Network.WifiDevice#getScanList"><a href=
"LuCI.Network.WifiDevice.html#getScanList">getScanList
</a></li>
605 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork
</a></li>
607 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetworks"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks
</a></li>
609 <li data-name=
"LuCI.Network.WifiDevice#isDisabled"><a href=
"LuCI.Network.WifiDevice.html#isDisabled">isDisabled
</a></li>
611 <li data-name=
"LuCI.Network.WifiDevice#isUp"><a href=
"LuCI.Network.WifiDevice.html#isUp">isUp
</a></li>
613 <li data-name=
"LuCI.Network.WifiDevice#set"><a href=
"LuCI.Network.WifiDevice.html#set">set
</a></li>
616 <ul class=
"events itemMembers">
621 <li class=
"item" data-name=
"LuCI.Network.WifiNetwork">
623 <a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>
626 <ul class=
"members itemMembers">
629 <ul class=
"typedefs itemMembers">
632 <ul class=
"typedefs itemMembers">
635 <ul class=
"methods itemMembers">
637 <span class=
"subtitle">Methods
</span>
639 <li data-name=
"LuCI.Network.WifiNetwork#get"><a href=
"LuCI.Network.WifiNetwork.html#get">get
</a></li>
641 <li data-name=
"LuCI.Network.WifiNetwork#getActiveBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID
</a></li>
643 <li data-name=
"LuCI.Network.WifiNetwork#getActiveEncryption"><a href=
"LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption
</a></li>
645 <li data-name=
"LuCI.Network.WifiNetwork#getActiveMode"><a href=
"LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode
</a></li>
647 <li data-name=
"LuCI.Network.WifiNetwork#getActiveModeI18n"><a href=
"LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n
</a></li>
649 <li data-name=
"LuCI.Network.WifiNetwork#getActiveSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID
</a></li>
651 <li data-name=
"LuCI.Network.WifiNetwork#getAssocList"><a href=
"LuCI.Network.WifiNetwork.html#getAssocList">getAssocList
</a></li>
653 <li data-name=
"LuCI.Network.WifiNetwork#getBitRate"><a href=
"LuCI.Network.WifiNetwork.html#getBitRate">getBitRate
</a></li>
655 <li data-name=
"LuCI.Network.WifiNetwork#getBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getBSSID">getBSSID
</a></li>
657 <li data-name=
"LuCI.Network.WifiNetwork#getChannel"><a href=
"LuCI.Network.WifiNetwork.html#getChannel">getChannel
</a></li>
659 <li data-name=
"LuCI.Network.WifiNetwork#getCountryCode"><a href=
"LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode
</a></li>
661 <li data-name=
"LuCI.Network.WifiNetwork#getDevice"><a href=
"LuCI.Network.WifiNetwork.html#getDevice">getDevice
</a></li>
663 <li data-name=
"LuCI.Network.WifiNetwork#getFrequency"><a href=
"LuCI.Network.WifiNetwork.html#getFrequency">getFrequency
</a></li>
665 <li data-name=
"LuCI.Network.WifiNetwork#getI18n"><a href=
"LuCI.Network.WifiNetwork.html#getI18n">getI18n
</a></li>
667 <li data-name=
"LuCI.Network.WifiNetwork#getID"><a href=
"LuCI.Network.WifiNetwork.html#getID">getID
</a></li>
669 <li data-name=
"LuCI.Network.WifiNetwork#getIfname"><a href=
"LuCI.Network.WifiNetwork.html#getIfname">getIfname
</a></li>
671 <li data-name=
"LuCI.Network.WifiNetwork#getMeshID"><a href=
"LuCI.Network.WifiNetwork.html#getMeshID">getMeshID
</a></li>
673 <li data-name=
"LuCI.Network.WifiNetwork#getMode"><a href=
"LuCI.Network.WifiNetwork.html#getMode">getMode
</a></li>
675 <li data-name=
"LuCI.Network.WifiNetwork#getName"><a href=
"LuCI.Network.WifiNetwork.html#getName">getName
</a></li>
677 <li data-name=
"LuCI.Network.WifiNetwork#getNetwork"><a href=
"LuCI.Network.WifiNetwork.html#getNetwork">getNetwork
</a></li>
679 <li data-name=
"LuCI.Network.WifiNetwork#getNetworkNames"><a href=
"LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames
</a></li>
681 <li data-name=
"LuCI.Network.WifiNetwork#getNetworks"><a href=
"LuCI.Network.WifiNetwork.html#getNetworks">getNetworks
</a></li>
683 <li data-name=
"LuCI.Network.WifiNetwork#getNoise"><a href=
"LuCI.Network.WifiNetwork.html#getNoise">getNoise
</a></li>
685 <li data-name=
"LuCI.Network.WifiNetwork#getShortName"><a href=
"LuCI.Network.WifiNetwork.html#getShortName">getShortName
</a></li>
687 <li data-name=
"LuCI.Network.WifiNetwork#getSignal"><a href=
"LuCI.Network.WifiNetwork.html#getSignal">getSignal
</a></li>
689 <li data-name=
"LuCI.Network.WifiNetwork#getSignalLevel"><a href=
"LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel
</a></li>
691 <li data-name=
"LuCI.Network.WifiNetwork#getSignalPercent"><a href=
"LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent
</a></li>
693 <li data-name=
"LuCI.Network.WifiNetwork#getSSID"><a href=
"LuCI.Network.WifiNetwork.html#getSSID">getSSID
</a></li>
695 <li data-name=
"LuCI.Network.WifiNetwork#getTXPower"><a href=
"LuCI.Network.WifiNetwork.html#getTXPower">getTXPower
</a></li>
697 <li data-name=
"LuCI.Network.WifiNetwork#getTXPowerOffset"><a href=
"LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset
</a></li>
699 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDevice"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice
</a></li>
701 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDeviceName"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName
</a></li>
703 <li data-name=
"LuCI.Network.WifiNetwork#isDisabled"><a href=
"LuCI.Network.WifiNetwork.html#isDisabled">isDisabled
</a></li>
705 <li data-name=
"LuCI.Network.WifiNetwork#isUp"><a href=
"LuCI.Network.WifiNetwork.html#isUp">isUp
</a></li>
707 <li data-name=
"LuCI.Network.WifiNetwork#set"><a href=
"LuCI.Network.WifiNetwork.html#set">set
</a></li>
710 <ul class=
"events itemMembers">
715 <li class=
"item" data-name=
"LuCI.Poll">
717 <a href=
"LuCI.Poll.html">LuCI.Poll
</a>
720 <ul class=
"members itemMembers">
723 <ul class=
"typedefs itemMembers">
726 <ul class=
"typedefs itemMembers">
729 <ul class=
"methods itemMembers">
731 <span class=
"subtitle">Methods
</span>
733 <li data-name=
"LuCI.Poll#active"><a href=
"LuCI.Poll.html#active">active
</a></li>
735 <li data-name=
"LuCI.Poll#add"><a href=
"LuCI.Poll.html#add">add
</a></li>
737 <li data-name=
"LuCI.Poll#remove"><a href=
"LuCI.Poll.html#remove">remove
</a></li>
739 <li data-name=
"LuCI.Poll#start"><a href=
"LuCI.Poll.html#start">start
</a></li>
741 <li data-name=
"LuCI.Poll#stop"><a href=
"LuCI.Poll.html#stop">stop
</a></li>
744 <ul class=
"events itemMembers">
749 <li class=
"item" data-name=
"LuCI.Request">
751 <a href=
"LuCI.Request.html">LuCI.Request
</a>
754 <ul class=
"members itemMembers">
757 <ul class=
"typedefs itemMembers">
759 <span class=
"subtitle">Typedefs
</span>
761 <li data-name=
"LuCI.Request.interceptorFn"><a href=
"LuCI.Request.html#.interceptorFn">interceptorFn
</a></li>
763 <li data-name=
"LuCI.Request.RequestOptions"><a href=
"LuCI.Request.html#.RequestOptions">RequestOptions
</a></li>
766 <ul class=
"typedefs itemMembers">
769 <ul class=
"methods itemMembers">
771 <span class=
"subtitle">Methods
</span>
773 <li data-name=
"LuCI.Request#addInterceptor"><a href=
"LuCI.Request.html#addInterceptor">addInterceptor
</a></li>
775 <li data-name=
"LuCI.Request#expandURL"><a href=
"LuCI.Request.html#expandURL">expandURL
</a></li>
777 <li data-name=
"LuCI.Request#get"><a href=
"LuCI.Request.html#get">get
</a></li>
779 <li data-name=
"LuCI.Request#post"><a href=
"LuCI.Request.html#post">post
</a></li>
781 <li data-name=
"LuCI.Request#removeInterceptor"><a href=
"LuCI.Request.html#removeInterceptor">removeInterceptor
</a></li>
783 <li data-name=
"LuCI.Request#request"><a href=
"LuCI.Request.html#request">request
</a></li>
786 <ul class=
"events itemMembers">
791 <li class=
"item" data-name=
"LuCI.Request.poll">
793 <a href=
"LuCI.Request.poll.html">LuCI.Request.poll
</a>
796 <ul class=
"members itemMembers">
799 <ul class=
"typedefs itemMembers">
801 <span class=
"subtitle">Typedefs
</span>
803 <li data-name=
"LuCI.Request.poll~callbackFn"><a href=
"LuCI.Request.poll.html#~callbackFn">callbackFn
</a></li>
806 <ul class=
"typedefs itemMembers">
809 <ul class=
"methods itemMembers">
811 <span class=
"subtitle">Methods
</span>
813 <li data-name=
"LuCI.Request.poll#active"><a href=
"LuCI.Request.poll.html#active">active
</a></li>
815 <li data-name=
"LuCI.Request.poll#add"><a href=
"LuCI.Request.poll.html#add">add
</a></li>
817 <li data-name=
"LuCI.Request.poll#remove"><a href=
"LuCI.Request.poll.html#remove">remove
</a></li>
819 <li data-name=
"LuCI.Request.poll#start"><a href=
"LuCI.Request.poll.html#start">start
</a></li>
821 <li data-name=
"LuCI.Request.poll#stop"><a href=
"LuCI.Request.poll.html#stop">stop
</a></li>
824 <ul class=
"events itemMembers">
829 <li class=
"item" data-name=
"LuCI.Response">
831 <a href=
"LuCI.Response.html">LuCI.Response
</a>
834 <ul class=
"members itemMembers">
836 <span class=
"subtitle">Members
</span>
838 <li data-name=
"LuCI.Response#duration"><a href=
"LuCI.Response.html#duration">duration
</a></li>
840 <li data-name=
"LuCI.Response#headers"><a href=
"LuCI.Response.html#headers">headers
</a></li>
842 <li data-name=
"LuCI.Response#ok"><a href=
"LuCI.Response.html#ok">ok
</a></li>
844 <li data-name=
"LuCI.Response#status"><a href=
"LuCI.Response.html#status">status
</a></li>
846 <li data-name=
"LuCI.Response#statusText"><a href=
"LuCI.Response.html#statusText">statusText
</a></li>
848 <li data-name=
"LuCI.Response#url"><a href=
"LuCI.Response.html#url">url
</a></li>
851 <ul class=
"typedefs itemMembers">
854 <ul class=
"typedefs itemMembers">
857 <ul class=
"methods itemMembers">
859 <span class=
"subtitle">Methods
</span>
861 <li data-name=
"LuCI.Response#clone"><a href=
"LuCI.Response.html#clone">clone
</a></li>
863 <li data-name=
"LuCI.Response#json"><a href=
"LuCI.Response.html#json">json
</a></li>
865 <li data-name=
"LuCI.Response#text"><a href=
"LuCI.Response.html#text">text
</a></li>
868 <ul class=
"events itemMembers">
873 <li class=
"item" data-name=
"LuCI.rpc">
875 <a href=
"LuCI.rpc.html">LuCI.rpc
</a>
878 <ul class=
"members itemMembers">
881 <ul class=
"typedefs itemMembers">
883 <span class=
"subtitle">Typedefs
</span>
885 <li data-name=
"LuCI.rpc.DeclareOptions"><a href=
"LuCI.rpc.html#.DeclareOptions">DeclareOptions
</a></li>
887 <li data-name=
"LuCI.rpc~filterFn"><a href=
"LuCI.rpc.html#~filterFn">filterFn
</a></li>
889 <li data-name=
"LuCI.rpc~interceptorFn"><a href=
"LuCI.rpc.html#~interceptorFn">interceptorFn
</a></li>
891 <li data-name=
"LuCI.rpc~invokeFn"><a href=
"LuCI.rpc.html#~invokeFn">invokeFn
</a></li>
894 <ul class=
"typedefs itemMembers">
897 <ul class=
"methods itemMembers">
899 <span class=
"subtitle">Methods
</span>
901 <li data-name=
"LuCI.rpc#addInterceptor"><a href=
"LuCI.rpc.html#addInterceptor">addInterceptor
</a></li>
903 <li data-name=
"LuCI.rpc#declare"><a href=
"LuCI.rpc.html#declare">declare
</a></li>
905 <li data-name=
"LuCI.rpc#getBaseURL"><a href=
"LuCI.rpc.html#getBaseURL">getBaseURL
</a></li>
907 <li data-name=
"LuCI.rpc#getSessionID"><a href=
"LuCI.rpc.html#getSessionID">getSessionID
</a></li>
909 <li data-name=
"LuCI.rpc#getStatusText"><a href=
"LuCI.rpc.html#getStatusText">getStatusText
</a></li>
911 <li data-name=
"LuCI.rpc#list"><a href=
"LuCI.rpc.html#list">list
</a></li>
913 <li data-name=
"LuCI.rpc#removeInterceptor"><a href=
"LuCI.rpc.html#removeInterceptor">removeInterceptor
</a></li>
915 <li data-name=
"LuCI.rpc#setBaseURL"><a href=
"LuCI.rpc.html#setBaseURL">setBaseURL
</a></li>
917 <li data-name=
"LuCI.rpc#setSessionID"><a href=
"LuCI.rpc.html#setSessionID">setSessionID
</a></li>
920 <ul class=
"events itemMembers">
925 <li class=
"item" data-name=
"LuCI.uci">
927 <a href=
"LuCI.uci.html">LuCI.uci
</a>
930 <ul class=
"members itemMembers">
933 <ul class=
"typedefs itemMembers">
935 <span class=
"subtitle">Typedefs
</span>
937 <li data-name=
"LuCI.uci.ChangeRecord"><a href=
"LuCI.uci.html#.ChangeRecord">ChangeRecord
</a></li>
939 <li data-name=
"LuCI.uci.SectionObject"><a href=
"LuCI.uci.html#.SectionObject">SectionObject
</a></li>
941 <li data-name=
"LuCI.uci~sectionsFn"><a href=
"LuCI.uci.html#~sectionsFn">sectionsFn
</a></li>
944 <ul class=
"typedefs itemMembers">
947 <ul class=
"methods itemMembers">
949 <span class=
"subtitle">Methods
</span>
951 <li data-name=
"LuCI.uci#add"><a href=
"LuCI.uci.html#add">add
</a></li>
953 <li data-name=
"LuCI.uci#apply"><a href=
"LuCI.uci.html#apply">apply
</a></li>
955 <li data-name=
"LuCI.uci#changes"><a href=
"LuCI.uci.html#changes">changes
</a></li>
957 <li data-name=
"LuCI.uci#createSID"><a href=
"LuCI.uci.html#createSID">createSID
</a></li>
959 <li data-name=
"LuCI.uci#get"><a href=
"LuCI.uci.html#get">get
</a></li>
961 <li data-name=
"LuCI.uci#get_first"><a href=
"LuCI.uci.html#get_first">get_first
</a></li>
963 <li data-name=
"LuCI.uci#load"><a href=
"LuCI.uci.html#load">load
</a></li>
965 <li data-name=
"LuCI.uci#move"><a href=
"LuCI.uci.html#move">move
</a></li>
967 <li data-name=
"LuCI.uci#remove"><a href=
"LuCI.uci.html#remove">remove
</a></li>
969 <li data-name=
"LuCI.uci#resolveSID"><a href=
"LuCI.uci.html#resolveSID">resolveSID
</a></li>
971 <li data-name=
"LuCI.uci#save"><a href=
"LuCI.uci.html#save">save
</a></li>
973 <li data-name=
"LuCI.uci#sections"><a href=
"LuCI.uci.html#sections">sections
</a></li>
975 <li data-name=
"LuCI.uci#set"><a href=
"LuCI.uci.html#set">set
</a></li>
977 <li data-name=
"LuCI.uci#set_first"><a href=
"LuCI.uci.html#set_first">set_first
</a></li>
979 <li data-name=
"LuCI.uci#unload"><a href=
"LuCI.uci.html#unload">unload
</a></li>
981 <li data-name=
"LuCI.uci#unset"><a href=
"LuCI.uci.html#unset">unset
</a></li>
983 <li data-name=
"LuCI.uci#unset_first"><a href=
"LuCI.uci.html#unset_first">unset_first
</a></li>
986 <ul class=
"events itemMembers">
991 <li class=
"item" data-name=
"LuCI.view">
993 <a href=
"LuCI.view.html">LuCI.view
</a>
996 <ul class=
"members itemMembers">
999 <ul class=
"typedefs itemMembers">
1002 <ul class=
"typedefs itemMembers">
1005 <ul class=
"methods itemMembers">
1007 <span class=
"subtitle">Methods
</span>
1009 <li data-name=
"LuCI.view#addFooter"><a href=
"LuCI.view.html#addFooter">addFooter
</a></li>
1011 <li data-name=
"LuCI.view#handleReset"><a href=
"LuCI.view.html#handleReset">handleReset
</a></li>
1013 <li data-name=
"LuCI.view#handleSave"><a href=
"LuCI.view.html#handleSave">handleSave
</a></li>
1015 <li data-name=
"LuCI.view#handleSaveApply"><a href=
"LuCI.view.html#handleSaveApply">handleSaveApply
</a></li>
1017 <li data-name=
"LuCI.view#load"><a href=
"LuCI.view.html#load">load
</a></li>
1019 <li data-name=
"LuCI.view#render"><a href=
"LuCI.view.html#render">render
</a></li>
1022 <ul class=
"events itemMembers">
1027 <li class=
"item" data-name=
"LuCI.XHR">
1028 <span class=
"title">
1029 <a href=
"LuCI.XHR.html">LuCI.XHR
</a>
1032 <ul class=
"members itemMembers">
1035 <ul class=
"typedefs itemMembers">
1038 <ul class=
"typedefs itemMembers">
1041 <ul class=
"methods itemMembers">
1043 <span class=
"subtitle">Methods
</span>
1045 <li data-name=
"LuCI.XHR#abort"><a href=
"LuCI.XHR.html#abort">abort
</a></li>
1047 <li data-name=
"LuCI.XHR#busy"><a href=
"LuCI.XHR.html#busy">busy
</a></li>
1049 <li data-name=
"LuCI.XHR#cancel"><a href=
"LuCI.XHR.html#cancel">cancel
</a></li>
1051 <li data-name=
"LuCI.XHR#get"><a href=
"LuCI.XHR.html#get">get
</a></li>
1053 <li data-name=
"LuCI.XHR#post"><a href=
"LuCI.XHR.html#post">post
</a></li>
1055 <li data-name=
"LuCI.XHR#send_form"><a href=
"LuCI.XHR.html#send_form">send_form
</a></li>
1058 <ul class=
"events itemMembers">
1066 <h1 class=
"page-title" data-filename=
"LuCI.Network.Protocol.html">Class: Protocol
</h1>
1075 <span class=
"ancestors"><a href=
"LuCI.html">LuCI
</a><a href=
"LuCI.Network.html">.Network
</a>.
</span>
1080 <div class=
"class-description"><p>The
<code>Network.Protocol
</code> class serves as base for protocol specific
1081 subclasses which describe logical UCI networks defined by
<code>config interface
</code> sections in
<code>/etc/config/network
</code>.
</p></div>
1086 <div class=
"container-overview">
1092 <div class=
"nameContainer">
1093 <h4 class=
"name" id=
"Protocol">
1095 new LuCI.Network.Protocol
<span class=
"signature">()
</span>
1099 <div class=
"tag-source">
1100 network.js, line
1794
1118 <dl class=
"details">
1172 <h3 class=
"subsection-title">Methods
</h3>
1177 <div class=
"nameContainer">
1178 <h4 class=
"name" id=
"addDevice">
1180 addDevice
<span class=
"signature">(device)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
1184 <div class=
"tag-source">
1185 network.js, line
2383
1195 <div class=
"description">
1196 <p>Add the given network device to the logical interface.
</p>
1207 <table class=
"params">
1218 <th class=
"last">Description
</th>
1227 <td class=
"name"><code>device
</code></td>
1233 <span class=
"param-type"><a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a></span>
1236 <span class=
"param-type"><a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a></span>
1239 <span class=
"param-type"><a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a></span>
1242 <span class=
"param-type"><a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a></span>
1245 <span class=
"param-type">string
</span>
1253 <td class=
"description last">
1255 <p>The object or device name to add to the logical interface. In case the
1256 given argument is not a string, it is resolved though the
1257 <a href=
"LuCI.Network.html#getIfnameOf"><code>Network.getIfnameOf()
</code></a> function.
</p></td>
1266 <dl class=
"details">
1304 <table class=
"params">
1309 <th class=
"last">Description
</th>
1322 <td class=
"description last">Returns
<code>true
</code> if the device name has been added or
<code>false
</code> if any
1323 argument was invalid, if the device was already part of the logical
1324 interface or if the logical interface is virtual.
</td>
1338 <div class=
"nameContainer">
1339 <h4 class=
"name" id=
"containsDevice">
1341 containsDevice
<span class=
"signature">(device)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
1345 <div class=
"tag-source">
1346 network.js, line
2552
1356 <div class=
"description">
1357 <p>Checks whether this logical interface contains the given device
1369 <table class=
"params">
1380 <th class=
"last">Description
</th>
1389 <td class=
"name"><code>device
</code></td>
1395 <span class=
"param-type"><a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a></span>
1398 <span class=
"param-type"><a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a></span>
1401 <span class=
"param-type"><a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a></span>
1404 <span class=
"param-type"><a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a></span>
1407 <span class=
"param-type">string
</span>
1415 <td class=
"description last">
1417 <p>The object or device name to check. In case the given argument is not
1418 a string, it is resolved though the
1419 <a href=
"LuCI.Network.html#getIfnameOf"><code>Network.getIfnameOf()
</code></a> function.
</p></td>
1428 <dl class=
"details">
1466 <table class=
"params">
1471 <th class=
"last">Description
</th>
1484 <td class=
"description last">Returns
<code>true
</code> when this logical interface contains the given network
1485 device or
<code>false
</code> if not.
</td>
1499 <div class=
"nameContainer">
1500 <h4 class=
"name" id=
"deleteDevice">
1502 deleteDevice
<span class=
"signature">(device)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
1506 <div class=
"tag-source">
1507 network.js, line
2410
1517 <div class=
"description">
1518 <p>Remove the given network device from the logical interface.
</p>
1529 <table class=
"params">
1540 <th class=
"last">Description
</th>
1549 <td class=
"name"><code>device
</code></td>
1555 <span class=
"param-type"><a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a></span>
1558 <span class=
"param-type"><a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a></span>
1561 <span class=
"param-type"><a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a></span>
1564 <span class=
"param-type"><a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a></span>
1567 <span class=
"param-type">string
</span>
1575 <td class=
"description last">
1577 <p>The object or device name to remove from the logical interface. In case
1578 the given argument is not a string, it is resolved though the
1579 <a href=
"LuCI.Network.html#getIfnameOf"><code>Network.getIfnameOf()
</code></a> function.
</p></td>
1588 <dl class=
"details">
1626 <table class=
"params">
1631 <th class=
"last">Description
</th>
1644 <td class=
"description last">Returns
<code>true
</code> if the device name has been added or
<code>false
</code> if any
1645 argument was invalid, if the device was already part of the logical
1646 interface or if the logical interface is virtual.
</td>
1660 <div class=
"nameContainer">
1661 <h4 class=
"name" id=
"get">
1663 get
<span class=
"signature">(opt)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string|Array.
<string
>}
</span>
1667 <div class=
"tag-source">
1668 network.js, line
1827
1678 <div class=
"description">
1679 <p>Read the given UCI option value of this network.
</p>
1690 <table class=
"params">
1701 <th class=
"last">Description
</th>
1710 <td class=
"name"><code>opt
</code></td>
1716 <span class=
"param-type">string
</span>
1724 <td class=
"description last">
1726 <p>The UCI option name to read.
</p></td>
1735 <dl class=
"details">
1773 <table class=
"params">
1778 <th class=
"last">Description
</th>
1797 <td class=
"description last">Returns the UCI option value or
<code>null
</code> if the requested option is
1812 <div class=
"nameContainer">
1813 <h4 class=
"name" id=
"getDevice">
1815 getDevice
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>}
</span>
1819 <div class=
"tag-source">
1820 network.js, line
2437
1830 <div class=
"description">
1831 <p>Returns the Linux network device associated with this logical
1843 <dl class=
"details">
1881 <table class=
"params">
1886 <th class=
"last">Description
</th>
1895 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
1899 <td class=
"description last">Returns a
<code>Network.Device
</code> class instance representing the
1900 expected Linux network device according to the configuration.
</td>
1914 <div class=
"nameContainer">
1915 <h4 class=
"name" id=
"getDevices">
1917 getDevices
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|Array.
<<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>>}
</span>
1921 <div class=
"tag-source">
1922 network.js, line
2498
1932 <div class=
"description">
1933 <p>Returns a list of network sub-devices associated with this logical
1945 <dl class=
"details">
1983 <table class=
"params">
1988 <th class=
"last">Description
</th>
2000 Array.
<<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>>
2004 <td class=
"description last">Returns an array of of
<code>Network.Device
</code> class instances representing
2005 the sub-devices attached to this logical interface or
<code>null
</code> if the
2006 logical interface does not support sub-devices, e.g. because it is
2007 virtual and not a bridge.
</td>
2021 <div class=
"nameContainer">
2022 <h4 class=
"name" id=
"getDNS6Addrs">
2024 getDNS6Addrs
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Array.
<string
>}
</span>
2028 <div class=
"tag-source">
2029 network.js, line
2152
2039 <div class=
"description">
2040 <p>Query the IPv6 DNS servers associated with the logical interface.
</p>
2051 <dl class=
"details">
2089 <table class=
"params">
2094 <th class=
"last">Description
</th>
2107 <td class=
"description last">Returns an array of IPv6 DNS servers registered by the remote
2108 protocol backend.
</td>
2122 <div class=
"nameContainer">
2123 <h4 class=
"name" id=
"getDNSAddrs">
2125 getDNSAddrs
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Array.
<string
>}
</span>
2129 <div class=
"tag-source">
2130 network.js, line
2064
2140 <div class=
"description">
2141 <p>Query the IPv4 DNS servers associated with the logical interface.
</p>
2152 <dl class=
"details">
2190 <table class=
"params">
2195 <th class=
"last">Description
</th>
2208 <td class=
"description last">Returns an array of IPv4 DNS servers registered by the remote
2209 protocol backend.
</td>
2223 <div class=
"nameContainer">
2224 <h4 class=
"name" id=
"getErrors">
2226 getErrors
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Array.
<string
>}
</span>
2230 <div class=
"tag-source">
2231 network.js, line
2196
2241 <div class=
"description">
2242 <p>Query interface error messages published in
<code>ubus
</code> runtime state.
</p>
2243 <p>Interface errors are emitted by remote protocol handlers if the setup
2244 of the underlying logical interface failed, e.g. due to bad
2245 configuration or network connectivity issues.
</p>
2246 <p>This function will translate the found error codes to human readable
2247 messages using the descriptions registered by
2248 <a href=
"LuCI.Network.html#registerErrorCode"><code>Network.registerErrorCode()
</code></a>
2249 and fall back to
<code>"Unknown error (%s)
"</code> where
<code>%s
</code> is replaced by the
2250 error code in case no translation can be found.
</p>
2261 <dl class=
"details">
2299 <table class=
"params">
2304 <th class=
"last">Description
</th>
2317 <td class=
"description last">Returns an array of translated interface error messages.
</td>
2331 <div class=
"nameContainer">
2332 <h4 class=
"name" id=
"getExpiry">
2334 getExpiry
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{number}
</span>
2338 <div class=
"tag-source">
2339 network.js, line
1947
2349 <div class=
"description">
2350 <p>Get the logical interface expiry time in seconds.
</p>
2351 <p>For protocols that have a concept of a lease, such as DHCP or
2352 DHCPv6, this function returns the remaining time in seconds
2353 until the lease expires.
</p>
2364 <dl class=
"details">
2402 <table class=
"params">
2407 <th class=
"last">Description
</th>
2420 <td class=
"description last">Returns the amount of seconds until the lease expires or
<code>-
1</code>
2421 if it isn't applicable to the associated protocol.
</td>
2435 <div class=
"nameContainer">
2436 <h4 class=
"name" id=
"getGateway6Addr">
2438 getGateway6Addr
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{string}
</span>
2442 <div class=
"tag-source">
2443 network.js, line
2132
2453 <div class=
"description">
2454 <p>Query the gateway (nexthop) of the IPv6 default route associated with
2455 this logical interface.
</p>
2466 <dl class=
"details">
2504 <table class=
"params">
2509 <th class=
"last">Description
</th>
2522 <td class=
"description last">Returns a string containing the IPv6 nexthop address of the associated
2523 default route or
<code>null
</code> if no default route was found.
</td>
2537 <div class=
"nameContainer">
2538 <h4 class=
"name" id=
"getGatewayAddr">
2540 getGatewayAddr
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{string}
</span>
2544 <div class=
"tag-source">
2545 network.js, line
2044
2555 <div class=
"description">
2556 <p>Query the gateway (nexthop) of the default route associated with
2557 this logical interface.
</p>
2568 <dl class=
"details">
2606 <table class=
"params">
2611 <th class=
"last">Description
</th>
2624 <td class=
"description last">Returns a string containing the IPv4 nexthop address of the associated
2625 default route or
<code>null
</code> if no default route was found.
</td>
2639 <div class=
"nameContainer">
2640 <h4 class=
"name" id=
"getI18n">
2642 <span class=
"type-signature ">abstract
</span>getI18n
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{string}
</span>
2646 <div class=
"tag-source">
2647 network.js, line
1892
2657 <div class=
"description">
2658 <p>Return a human readable description for the protcol, such as
2659 <code>Static address
</code> or
<code>DHCP client
</code>.
</p>
2660 <p>This function should be overwritten by subclasses.
</p>
2671 <dl class=
"details">
2709 <table class=
"params">
2714 <th class=
"last">Description
</th>
2727 <td class=
"description last">Returns the description string.
</td>
2741 <div class=
"nameContainer">
2742 <h4 class=
"name" id=
"getIfname">
2744 getIfname
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
2748 <div class=
"tag-source">
2749 network.js, line
1852
2759 <div class=
"description">
2760 <p>Get the associared Linux network device of this network.
</p>
2771 <dl class=
"details">
2809 <table class=
"params">
2814 <th class=
"last">Description
</th>
2830 <td class=
"description last">Returns the name of the associated network device or
<code>null
</code> if
2831 it could not be determined.
</td>
2845 <div class=
"nameContainer">
2846 <h4 class=
"name" id=
"getIP6Addr">
2848 getIP6Addr
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
2852 <div class=
"tag-source">
2853 network.js, line
2083
2863 <div class=
"description">
2864 <p>Query the first (primary) IPv6 address of the logical interface.
</p>
2875 <dl class=
"details">
2913 <table class=
"params">
2918 <th class=
"last">Description
</th>
2934 <td class=
"description last">Returns the primary IPv6 address registered by the protocol handler
2935 in CIDR notation or
<code>null
</code> if no IPv6 addresses were set.
</td>
2949 <div class=
"nameContainer">
2950 <h4 class=
"name" id=
"getIP6Addrs">
2952 getIP6Addrs
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Array.
<string
>}
</span>
2956 <div class=
"tag-source">
2957 network.js, line
2105
2967 <div class=
"description">
2968 <p>Query all IPv6 addresses of the logical interface.
</p>
2979 <dl class=
"details">
3017 <table class=
"params">
3022 <th class=
"last">Description
</th>
3035 <td class=
"description last">Returns an array of IPv6 addresses in CIDR notation which have been
3036 registered by the protocol handler. The order of the resulting array
3037 follows the order of the addresses in
<code>ubus
</code> runtime information.
</td>
3051 <div class=
"nameContainer">
3052 <h4 class=
"name" id=
"getIP6Prefix">
3054 getIP6Prefix
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
3058 <div class=
"tag-source">
3059 network.js, line
2171
3069 <div class=
"description">
3070 <p>Query the routed IPv6 prefix associated with the logical interface.
</p>
3081 <dl class=
"details">
3119 <table class=
"params">
3124 <th class=
"last">Description
</th>
3140 <td class=
"description last">Returns the routed IPv6 prefix registered by the remote protocol
3141 handler or
<code>null
</code> if no prefix is present.
</td>
3155 <div class=
"nameContainer">
3156 <h4 class=
"name" id=
"getIPAddr">
3158 getIPAddr
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
3162 <div class=
"tag-source">
3163 network.js, line
1999
3173 <div class=
"description">
3174 <p>Query the first (primary) IPv4 address of the logical interface.
</p>
3185 <dl class=
"details">
3223 <table class=
"params">
3228 <th class=
"last">Description
</th>
3244 <td class=
"description last">Returns the primary IPv4 address registered by the protocol handler
3245 or
<code>null
</code> if no IPv4 addresses were set.
</td>
3259 <div class=
"nameContainer">
3260 <h4 class=
"name" id=
"getIPAddrs">
3262 getIPAddrs
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Array.
<string
>}
</span>
3266 <div class=
"tag-source">
3267 network.js, line
2012
3277 <div class=
"description">
3278 <p>Query all IPv4 addresses of the logical interface.
</p>
3289 <dl class=
"details">
3327 <table class=
"params">
3332 <th class=
"last">Description
</th>
3345 <td class=
"description last">Returns an array of IPv4 addresses in CIDR notation which have been
3346 registered by the protocol handler. The order of the resulting array
3347 follows the order of the addresses in
<code>ubus
</code> runtime information.
</td>
3361 <div class=
"nameContainer">
3362 <h4 class=
"name" id=
"getL2Device">
3364 getL2Device
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>}
</span>
3368 <div class=
"tag-source">
3369 network.js, line
2470
3379 <div class=
"description">
3380 <p>Returns the layer
2 linux network device currently associated
3381 with this logical interface.
</p>
3392 <dl class=
"details">
3430 <table class=
"params">
3435 <th class=
"last">Description
</th>
3444 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
3448 <td class=
"description last">Returns a
<code>Network.Device
</code> class instance representing the Linux
3449 network device currently associated with the logical interface.
</td>
3463 <div class=
"nameContainer">
3464 <h4 class=
"name" id=
"getL3Device">
3466 getL3Device
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{
<a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>}
</span>
3470 <div class=
"tag-source">
3471 network.js, line
2483
3481 <div class=
"description">
3482 <p>Returns the layer
3 linux network device currently associated
3483 with this logical interface.
</p>
3494 <dl class=
"details">
3532 <table class=
"params">
3537 <th class=
"last">Description
</th>
3546 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
3550 <td class=
"description last">Returns a
<code>Network.Device
</code> class instance representing the Linux
3551 network device currently associated with the logical interface.
</td>
3565 <div class=
"nameContainer">
3566 <h4 class=
"name" id=
"getMetric">
3568 getMetric
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{number}
</span>
3572 <div class=
"tag-source">
3573 network.js, line
1967
3583 <div class=
"description">
3584 <p>Get the metric value of the logical interface.
</p>
3595 <dl class=
"details">
3633 <table class=
"params">
3638 <th class=
"last">Description
</th>
3651 <td class=
"description last">Returns the current metric value used for device and network
3652 routes spawned by the associated logical interface.
</td>
3666 <div class=
"nameContainer">
3667 <h4 class=
"name" id=
"getName">
3669 getName
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{string}
</span>
3673 <div class=
"tag-source">
3674 network.js, line
1922
3684 <div class=
"description">
3685 <p>Get the name of the associated logical interface.
</p>
3696 <dl class=
"details">
3734 <table class=
"params">
3739 <th class=
"last">Description
</th>
3752 <td class=
"description last">Returns the logical interface name, such as
<code>lan
</code> or
<code>wan
</code>.
</td>
3766 <div class=
"nameContainer">
3767 <h4 class=
"name" id=
"getNetmask">
3769 getNetmask
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
3773 <div class=
"tag-source">
3774 network.js, line
2030
3784 <div class=
"description">
3785 <p>Query the first (primary) IPv4 netmask of the logical interface.
</p>
3796 <dl class=
"details">
3834 <table class=
"params">
3839 <th class=
"last">Description
</th>
3855 <td class=
"description last">Returns the netmask of the primary IPv4 address registered by the
3856 protocol handler or
<code>null
</code> if no IPv4 addresses were set.
</td>
3870 <div class=
"nameContainer">
3871 <h4 class=
"name" id=
"getOpkgPackage">
3873 <span class=
"type-signature ">abstract
</span>getOpkgPackage
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{string}
</span>
3877 <div class=
"tag-source">
3878 network.js, line
2236
3888 <div class=
"description">
3889 <p>Get the name of the opkg package providing the protocol functionality.
</p>
3890 <p>This function should be overwritten by protocol specific subclasses.
</p>
3901 <dl class=
"details">
3939 <table class=
"params">
3944 <th class=
"last">Description
</th>
3957 <td class=
"description last">Returns the name of the opkg package required for the protocol to
3958 function, e.g.
<code>odhcp6c
</code> for the
<code>dhcpv6
</code> prototocol.
</td>
3972 <div class=
"nameContainer">
3973 <h4 class=
"name" id=
"getProtocol">
3975 <span class=
"type-signature ">abstract
</span>getProtocol
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{string}
</span>
3979 <div class=
"tag-source">
3980 network.js, line
1878
3990 <div class=
"description">
3991 <p>Get the name of this network protocol class.
</p>
3992 <p>This function will be overwritten by subclasses created by
3993 <a href=
"LuCI.Network.html#registerProtocol"><code>Network.registerProtocol()
</code></a>.
</p>
4004 <dl class=
"details">
4042 <table class=
"params">
4047 <th class=
"last">Description
</th>
4060 <td class=
"description last">Returns the name of the network protocol implementation, e.g.
4061 <code>static
</code> or
<code>dhcp
</code>.
</td>
4075 <div class=
"nameContainer">
4076 <h4 class=
"name" id=
"getType">
4078 getType
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
4082 <div class=
"tag-source">
4083 network.js, line
1912
4093 <div class=
"description">
4094 <p>Get the type of the underlying interface.
</p>
4095 <p>This function actually is a convenience wrapper around
4096 <code>proto.get(
"type
")
</code> and is mainly used by other
<code>LuCI.Network
</code> code
4097 to check whether the interface is declared as bridge in UCI.
</p>
4108 <dl class=
"details">
4146 <table class=
"params">
4151 <th class=
"last">Description
</th>
4167 <td class=
"description last">Returns the value of the
<code>type
</code> option of the associated logical
4168 interface or
<code>null
</code> if no
<code>type
</code> option is set.
</td>
4182 <div class=
"nameContainer">
4183 <h4 class=
"name" id=
"getUptime">
4185 getUptime
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{number}
</span>
4189 <div class=
"tag-source">
4190 network.js, line
1932
4200 <div class=
"description">
4201 <p>Get the uptime of the logical interface.
</p>
4212 <dl class=
"details">
4250 <table class=
"params">
4255 <th class=
"last">Description
</th>
4268 <td class=
"description last">Returns the uptime of the associated interface in seconds.
</td>
4282 <div class=
"nameContainer">
4283 <h4 class=
"name" id=
"getZoneName">
4285 getZoneName
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
4289 <div class=
"tag-source">
4290 network.js, line
1983
4300 <div class=
"description">
4301 <p>Get the requested firewall zone name of the logical interface.
</p>
4302 <p>Some protocol implementations request a specific firewall zone
4303 to trigger inclusion of their resulting network devices into the
4304 firewall rule set.
</p>
4315 <dl class=
"details">
4353 <table class=
"params">
4358 <th class=
"last">Description
</th>
4374 <td class=
"description last">Returns the requested firewall zone name as published in the
4375 <code>ubus
</code> runtime information or
<code>null
</code> if the remote protocol
4376 handler didn't request a zone.
</td>
4390 <div class=
"nameContainer">
4391 <h4 class=
"name" id=
"isAlias">
4393 isAlias
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{null|string}
</span>
4397 <div class=
"tag-source">
4398 network.js, line
2324
4408 <div class=
"description">
4409 <p>Checks whether this interface is an alias interface.
</p>
4410 <p>Alias interfaces are interfaces layering on top of another interface
4411 and are denoted by a special
<code>@interfacename
</code> notation in the
4412 underlying
<code>ifname
</code> option.
</p>
4423 <dl class=
"details">
4461 <table class=
"params">
4466 <th class=
"last">Description
</th>
4482 <td class=
"description last">Returns the name of the parent interface if this logical interface
4483 is an alias or
<code>null
</code> if it is not an alias interface.
</td>
4497 <div class=
"nameContainer">
4498 <h4 class=
"name" id=
"isBridge">
4500 isBridge
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4504 <div class=
"tag-source">
4505 network.js, line
2221
4515 <div class=
"description">
4516 <p>Checks whether the underlying logical interface is declared as bridge.
</p>
4527 <dl class=
"details">
4565 <table class=
"params">
4570 <th class=
"last">Description
</th>
4583 <td class=
"description last">Returns
<code>true
</code> when the interface is declared with
<code>option type bridge
</code>
4584 and when the associated protocol implementation is not marked virtual
4585 or
<code>false
</code> when the logical interface is no bridge.
</td>
4599 <div class=
"nameContainer">
4600 <h4 class=
"name" id=
"isDynamic">
4602 isDynamic
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4606 <div class=
"tag-source">
4607 network.js, line
2309
4617 <div class=
"description">
4618 <p>Checks whether this logical interface is dynamic.
</p>
4619 <p>A dynamic interface is an interface which has been created at runtime,
4620 e.g. as sub-interface of another interface, but which is not backed by
4621 any user configuration. Such dynamic interfaces cannot be edited but
4622 only brought down or restarted.
</p>
4633 <dl class=
"details">
4671 <table class=
"params">
4676 <th class=
"last">Description
</th>
4689 <td class=
"description last">Returns a boolean indicating whether this interface is dynamic (
<code>true
</code>)
4690 or not (
<code>false
</code>).
</td>
4704 <div class=
"nameContainer">
4705 <h4 class=
"name" id=
"isEmpty">
4707 isEmpty
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4711 <div class=
"tag-source">
4712 network.js, line
2344
4722 <div class=
"description">
4723 <p>Checks whether this logical interface is
"empty
", meaning that ut
4724 has no network devices attached.
</p>
4735 <dl class=
"details">
4773 <table class=
"params">
4778 <th class=
"last">Description
</th>
4791 <td class=
"description last">Returns
<code>true
</code> if this logical interface is empty, else
<code>false
</code>.
</td>
4805 <div class=
"nameContainer">
4806 <h4 class=
"name" id=
"isFloating">
4808 isFloating
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4812 <div class=
"tag-source">
4813 network.js, line
2293
4823 <div class=
"description">
4824 <p>Checks whether this protocol is
"floating
".
</p>
4825 <p>A
"floating
" protocol is a protocol which spawns its own interfaces
4826 on demand, like a virtual one but which relies on an existinf lower
4827 level interface to initiate the connection.
</p>
4828 <p>An example for such a protocol is
"pppoe
".
</p>
4829 <p>This function exists for backwards compatibility with older code
4830 but should not be used anymore.
</p>
4841 <dl class=
"details">
4849 <dt class=
"important tag-deprecated">Deprecated
</dt><dd class=
"yes-def tag-deprecated"><ul class=
"dummy"><li>Yes
</li></ul></dd>
4881 <table class=
"params">
4886 <th class=
"last">Description
</th>
4899 <td class=
"description last">Returns a boolean indicating whether this protocol is floating (
<code>true
</code>)
4900 or not (
<code>false
</code>).
</td>
4914 <div class=
"nameContainer">
4915 <h4 class=
"name" id=
"isInstalled">
4917 <span class=
"type-signature ">abstract
</span>isInstalled
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
4921 <div class=
"tag-source">
4922 network.js, line
2252
4932 <div class=
"description">
4933 <p>Checks whether the protocol functionality is installed.
</p>
4934 <p>This function exists for compatibility with old code, it always
4935 returns
<code>true
</code>.
</p>
4946 <dl class=
"details">
4954 <dt class=
"important tag-deprecated">Deprecated
</dt><dd class=
"yes-def tag-deprecated"><ul class=
"dummy"><li>Yes
</li></ul></dd>
4986 <table class=
"params">
4991 <th class=
"last">Description
</th>
5004 <td class=
"description last">Returns
<code>true
</code> if the protocol support is installed, else
<code>false
</code>.
</td>
5018 <div class=
"nameContainer">
5019 <h4 class=
"name" id=
"isUp">
5021 isUp
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
5025 <div class=
"tag-source">
5026 network.js, line
2366
5036 <div class=
"description">
5037 <p>Checks whether this logical interface is configured and running.
</p>
5048 <dl class=
"details">
5086 <table class=
"params">
5091 <th class=
"last">Description
</th>
5104 <td class=
"description last">Returns
<code>true
</code> when the interface is active or
<code>false
</code> when it is not.
</td>
5118 <div class=
"nameContainer">
5119 <h4 class=
"name" id=
"isVirtual">
5121 isVirtual
<span class=
"signature">()
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
5125 <div class=
"tag-source">
5126 network.js, line
2272
5136 <div class=
"description">
5137 <p>Checks whether this protocol is
"virtual
".
</p>
5138 <p>A
"virtual
" protocol is a protocol which spawns its own interfaces
5139 on demand instead of using existing physical interfaces.
</p>
5140 <p>Examples for virtual protocols are
<code>6in4
</code> which
<code>gre
</code> spawn tunnel
5141 network device on startup, examples for non-virtual protcols are
5142 <code>dhcp
</code> or
<code>static
</code> which apply IP configuration to existing interfaces.
</p>
5143 <p>This function should be overwritten by subclasses.
</p>
5154 <dl class=
"details">
5192 <table class=
"params">
5197 <th class=
"last">Description
</th>
5210 <td class=
"description last">Returns a boolean indicating whether the underlying protocol spawns
5211 dynamic interfaces (
<code>true
</code>) or not (
<code>false
</code>).
</td>
5225 <div class=
"nameContainer">
5226 <h4 class=
"name" id=
"set">
5228 set
<span class=
"signature">(opt, val)
</span>
5232 <div class=
"tag-source">
5233 network.js, line
1841
5243 <div class=
"description">
5244 <p>Set the given UCI option of this network to the given value.
</p>
5255 <table class=
"params">
5266 <th class=
"last">Description
</th>
5275 <td class=
"name"><code>opt
</code></td>
5281 <span class=
"param-type">string
</span>
5289 <td class=
"description last">
5291 <p>The name of the UCI option to set.
</p></td>
5298 <td class=
"name"><code>val
</code></td>
5304 <span class=
"param-type">null
</span>
5307 <span class=
"param-type">string
</span>
5310 <span class=
"param-type">Array.
<string
></span>
5318 <td class=
"description last">
5320 <p>The value to set or
<code>null
</code> to remove the given option from the
5321 configuration.
</p></td>
5330 <dl class=
"details">
5387 Documentation generated by
<a target=
"_blank" href=
"https://github.com/jsdoc3/jsdoc">JSDoc
3.6.3</a> on Tue Nov
05 2019 10:
17:
12 GMT+
0100 (Central European Standard Time)
5391 <script>prettyPrint();
</script>
5392 <script src=
"scripts/jaguar.js"></script>