documentation: change JS docs template
[project/luci.git] / documentation / jsapi / LuCI.Network.Device.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Class: Device</title>
6
7
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>
11 <!--[if lt IE 9]>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13 <![endif]-->
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">
17
18
19 <script>
20 var config = {"monospaceLinks":true,"cleverLinks":true,"default":{}};
21 </script>
22
23
24
25 </head>
26 <body>
27 <div id="wrap" class="clearfix">
28
29 <div class="navigation">
30 <h3 class="applicationName"><a href="index.html"></a></h3>
31
32 <div class="search">
33 <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
34 </div>
35 <ul class="list">
36
37 <li class="item" data-name="LuCI">
38 <span class="title">
39 <a href="LuCI.html">LuCI</a>
40
41 </span>
42 <ul class="members itemMembers">
43
44 <span class="subtitle">Members</span>
45
46 <li data-name="LuCI#env"><a href="LuCI.html#env">env</a></li>
47
48 </ul>
49 <ul class="typedefs itemMembers">
50
51 <span class="subtitle">Typedefs</span>
52
53 <li data-name="LuCI.requestCallbackFn"><a href="LuCI.html#.requestCallbackFn">requestCallbackFn</a></li>
54
55 </ul>
56 <ul class="typedefs itemMembers">
57
58 </ul>
59 <ul class="methods itemMembers">
60
61 <span class="subtitle">Methods</span>
62
63 <li data-name="LuCI#bind"><a href="LuCI.html#bind">bind</a></li>
64
65 <li data-name="LuCI#error"><a href="LuCI.html#error">error</a></li>
66
67 <li data-name="LuCI#get"><a href="LuCI.html#get">get</a></li>
68
69 <li data-name="LuCI#halt"><a href="LuCI.html#halt">halt</a></li>
70
71 <li data-name="LuCI#hasSystemFeature"><a href="LuCI.html#hasSystemFeature">hasSystemFeature</a></li>
72
73 <li data-name="LuCI#isObject"><a href="LuCI.html#isObject">isObject</a></li>
74
75 <li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
76
77 <li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
78
79 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
80
81 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
82
83 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
84
85 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
86
87 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
88
89 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
90
91 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
92
93 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
94
95 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
96
97 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
98
99 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
100
101 </ul>
102 <ul class="events itemMembers">
103
104 </ul>
105 </li>
106
107 <li class="item" data-name="LuCI.Class">
108 <span class="title">
109 <a href="LuCI.Class.html">LuCI.Class</a>
110
111 </span>
112 <ul class="members itemMembers">
113
114 </ul>
115 <ul class="typedefs itemMembers">
116
117 </ul>
118 <ul class="typedefs itemMembers">
119
120 </ul>
121 <ul class="methods itemMembers">
122
123 <span class="subtitle">Methods</span>
124
125 <li data-name="LuCI.Class.extend"><a href="LuCI.Class.html#.extend">extend</a></li>
126
127 <li data-name="LuCI.Class.instantiate"><a href="LuCI.Class.html#.instantiate">instantiate</a></li>
128
129 <li data-name="LuCI.Class.isSubclass"><a href="LuCI.Class.html#.isSubclass">isSubclass</a></li>
130
131 <li data-name="LuCI.Class.singleton"><a href="LuCI.Class.html#.singleton">singleton</a></li>
132
133 <li data-name="LuCI.Class#super"><a href="LuCI.Class.html#super">super</a></li>
134
135 <li data-name="LuCI.Class#varargs"><a href="LuCI.Class.html#varargs">varargs</a></li>
136
137 </ul>
138 <ul class="events itemMembers">
139
140 </ul>
141 </li>
142
143 <li class="item" data-name="LuCI.dom">
144 <span class="title">
145 <a href="LuCI.dom.html">LuCI.dom</a>
146
147 </span>
148 <ul class="members itemMembers">
149
150 </ul>
151 <ul class="typedefs itemMembers">
152
153 <span class="subtitle">Typedefs</span>
154
155 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
156
157 </ul>
158 <ul class="typedefs itemMembers">
159
160 </ul>
161 <ul class="methods itemMembers">
162
163 <span class="subtitle">Methods</span>
164
165 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
166
167 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
168
169 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
170
171 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
172
173 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
174
175 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
176
177 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
178
179 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
180
181 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
182
183 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
184
185 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
186
187 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
188
189 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
190
191 </ul>
192 <ul class="events itemMembers">
193
194 </ul>
195 </li>
196
197 <li class="item" data-name="LuCI.fs">
198 <span class="title">
199 <a href="LuCI.fs.html">LuCI.fs</a>
200
201 </span>
202 <ul class="members itemMembers">
203
204 </ul>
205 <ul class="typedefs itemMembers">
206
207 <span class="subtitle">Typedefs</span>
208
209 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
210
211 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
212
213 </ul>
214 <ul class="typedefs itemMembers">
215
216 </ul>
217 <ul class="methods itemMembers">
218
219 <span class="subtitle">Methods</span>
220
221 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
222
223 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
224
225 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
226
227 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
228
229 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
230
231 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
232
233 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
234
235 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
236
237 </ul>
238 <ul class="events itemMembers">
239
240 </ul>
241 </li>
242
243 <li class="item" data-name="LuCI.Headers">
244 <span class="title">
245 <a href="LuCI.Headers.html">LuCI.Headers</a>
246
247 </span>
248 <ul class="members itemMembers">
249
250 </ul>
251 <ul class="typedefs itemMembers">
252
253 </ul>
254 <ul class="typedefs itemMembers">
255
256 </ul>
257 <ul class="methods itemMembers">
258
259 <span class="subtitle">Methods</span>
260
261 <li data-name="LuCI.Headers#get"><a href="LuCI.Headers.html#get">get</a></li>
262
263 <li data-name="LuCI.Headers#has"><a href="LuCI.Headers.html#has">has</a></li>
264
265 </ul>
266 <ul class="events itemMembers">
267
268 </ul>
269 </li>
270
271 <li class="item" data-name="LuCI.Network">
272 <span class="title">
273 <a href="LuCI.Network.html">LuCI.Network</a>
274
275 </span>
276 <ul class="members itemMembers">
277
278 </ul>
279 <ul class="typedefs itemMembers">
280
281 <span class="subtitle">Typedefs</span>
282
283 <li data-name="LuCI.Network.SwitchTopology"><a href="LuCI.Network.html#.SwitchTopology">SwitchTopology</a></li>
284
285 <li data-name="LuCI.Network.WifiEncryption"><a href="LuCI.Network.html#.WifiEncryption">WifiEncryption</a></li>
286
287 <li data-name="LuCI.Network.WifiPeerEntry"><a href="LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
288
289 <li data-name="LuCI.Network.WifiRateEntry"><a href="LuCI.Network.html#.WifiRateEntry">WifiRateEntry</a></li>
290
291 <li data-name="LuCI.Network.WifiScanResult"><a href="LuCI.Network.html#.WifiScanResult">WifiScanResult</a></li>
292
293 </ul>
294 <ul class="typedefs itemMembers">
295
296 </ul>
297 <ul class="methods itemMembers">
298
299 <span class="subtitle">Methods</span>
300
301 <li data-name="LuCI.Network#addNetwork"><a href="LuCI.Network.html#addNetwork">addNetwork</a></li>
302
303 <li data-name="LuCI.Network#addWifiNetwork"><a href="LuCI.Network.html#addWifiNetwork">addWifiNetwork</a></li>
304
305 <li data-name="LuCI.Network#deleteNetwork"><a href="LuCI.Network.html#deleteNetwork">deleteNetwork</a></li>
306
307 <li data-name="LuCI.Network#deleteWifiNetwork"><a href="LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
308
309 <li data-name="LuCI.Network#flushCache"><a href="LuCI.Network.html#flushCache">flushCache</a></li>
310
311 <li data-name="LuCI.Network#formatWifiEncryption"><a href="LuCI.Network.html#formatWifiEncryption">formatWifiEncryption</a></li>
312
313 <li data-name="LuCI.Network#getDevice"><a href="LuCI.Network.html#getDevice">getDevice</a></li>
314
315 <li data-name="LuCI.Network#getDevices"><a href="LuCI.Network.html#getDevices">getDevices</a></li>
316
317 <li data-name="LuCI.Network#getDSLModemType"><a href="LuCI.Network.html#getDSLModemType">getDSLModemType</a></li>
318
319 <li data-name="LuCI.Network#getHostHints"><a href="LuCI.Network.html#getHostHints">getHostHints</a></li>
320
321 <li data-name="LuCI.Network#getIfnameOf"><a href="LuCI.Network.html#getIfnameOf">getIfnameOf</a></li>
322
323 <li data-name="LuCI.Network#getNetwork"><a href="LuCI.Network.html#getNetwork">getNetwork</a></li>
324
325 <li data-name="LuCI.Network#getNetworks"><a href="LuCI.Network.html#getNetworks">getNetworks</a></li>
326
327 <li data-name="LuCI.Network#getProtocol"><a href="LuCI.Network.html#getProtocol">getProtocol</a></li>
328
329 <li data-name="LuCI.Network#getProtocols"><a href="LuCI.Network.html#getProtocols">getProtocols</a></li>
330
331 <li data-name="LuCI.Network#getSwitchTopologies"><a href="LuCI.Network.html#getSwitchTopologies">getSwitchTopologies</a></li>
332
333 <li data-name="LuCI.Network#getWAN6Networks"><a href="LuCI.Network.html#getWAN6Networks">getWAN6Networks</a></li>
334
335 <li data-name="LuCI.Network#getWANNetworks"><a href="LuCI.Network.html#getWANNetworks">getWANNetworks</a></li>
336
337 <li data-name="LuCI.Network#getWifiDevice"><a href="LuCI.Network.html#getWifiDevice">getWifiDevice</a></li>
338
339 <li data-name="LuCI.Network#getWifiDevices"><a href="LuCI.Network.html#getWifiDevices">getWifiDevices</a></li>
340
341 <li data-name="LuCI.Network#getWifiNetwork"><a href="LuCI.Network.html#getWifiNetwork">getWifiNetwork</a></li>
342
343 <li data-name="LuCI.Network#isIgnoredDevice"><a href="LuCI.Network.html#isIgnoredDevice">isIgnoredDevice</a></li>
344
345 <li data-name="LuCI.Network#maskToPrefix"><a href="LuCI.Network.html#maskToPrefix">maskToPrefix</a></li>
346
347 <li data-name="LuCI.Network#prefixToMask"><a href="LuCI.Network.html#prefixToMask">prefixToMask</a></li>
348
349 <li data-name="LuCI.Network#registerErrorCode"><a href="LuCI.Network.html#registerErrorCode">registerErrorCode</a></li>
350
351 <li data-name="LuCI.Network#registerPatternVirtual"><a href="LuCI.Network.html#registerPatternVirtual">registerPatternVirtual</a></li>
352
353 <li data-name="LuCI.Network#registerProtocol"><a href="LuCI.Network.html#registerProtocol">registerProtocol</a></li>
354
355 <li data-name="LuCI.Network#renameNetwork"><a href="LuCI.Network.html#renameNetwork">renameNetwork</a></li>
356
357 </ul>
358 <ul class="events itemMembers">
359
360 </ul>
361 </li>
362
363 <li class="item" data-name="LuCI.Network.Device">
364 <span class="title">
365 <a href="LuCI.Network.Device.html">LuCI.Network.Device</a>
366
367 </span>
368 <ul class="members itemMembers">
369
370 </ul>
371 <ul class="typedefs itemMembers">
372
373 </ul>
374 <ul class="typedefs itemMembers">
375
376 </ul>
377 <ul class="methods itemMembers">
378
379 <span class="subtitle">Methods</span>
380
381 <li data-name="LuCI.Network.Device#getBridgeID"><a href="LuCI.Network.Device.html#getBridgeID">getBridgeID</a></li>
382
383 <li data-name="LuCI.Network.Device#getBridgeSTP"><a href="LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
384
385 <li data-name="LuCI.Network.Device#getI18n"><a href="LuCI.Network.Device.html#getI18n">getI18n</a></li>
386
387 <li data-name="LuCI.Network.Device#getIP6Addrs"><a href="LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
388
389 <li data-name="LuCI.Network.Device#getIPAddrs"><a href="LuCI.Network.Device.html#getIPAddrs">getIPAddrs</a></li>
390
391 <li data-name="LuCI.Network.Device#getMAC"><a href="LuCI.Network.Device.html#getMAC">getMAC</a></li>
392
393 <li data-name="LuCI.Network.Device#getMTU"><a href="LuCI.Network.Device.html#getMTU">getMTU</a></li>
394
395 <li data-name="LuCI.Network.Device#getName"><a href="LuCI.Network.Device.html#getName">getName</a></li>
396
397 <li data-name="LuCI.Network.Device#getNetwork"><a href="LuCI.Network.Device.html#getNetwork">getNetwork</a></li>
398
399 <li data-name="LuCI.Network.Device#getNetworks"><a href="LuCI.Network.Device.html#getNetworks">getNetworks</a></li>
400
401 <li data-name="LuCI.Network.Device#getPorts"><a href="LuCI.Network.Device.html#getPorts">getPorts</a></li>
402
403 <li data-name="LuCI.Network.Device#getRXBytes"><a href="LuCI.Network.Device.html#getRXBytes">getRXBytes</a></li>
404
405 <li data-name="LuCI.Network.Device#getRXPackets"><a href="LuCI.Network.Device.html#getRXPackets">getRXPackets</a></li>
406
407 <li data-name="LuCI.Network.Device#getShortName"><a href="LuCI.Network.Device.html#getShortName">getShortName</a></li>
408
409 <li data-name="LuCI.Network.Device#getTXBytes"><a href="LuCI.Network.Device.html#getTXBytes">getTXBytes</a></li>
410
411 <li data-name="LuCI.Network.Device#getTXPackets"><a href="LuCI.Network.Device.html#getTXPackets">getTXPackets</a></li>
412
413 <li data-name="LuCI.Network.Device#getType"><a href="LuCI.Network.Device.html#getType">getType</a></li>
414
415 <li data-name="LuCI.Network.Device#getTypeI18n"><a href="LuCI.Network.Device.html#getTypeI18n">getTypeI18n</a></li>
416
417 <li data-name="LuCI.Network.Device#getWifiNetwork"><a href="LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
418
419 <li data-name="LuCI.Network.Device#isBridge"><a href="LuCI.Network.Device.html#isBridge">isBridge</a></li>
420
421 <li data-name="LuCI.Network.Device#isBridgePort"><a href="LuCI.Network.Device.html#isBridgePort">isBridgePort</a></li>
422
423 <li data-name="LuCI.Network.Device#isUp"><a href="LuCI.Network.Device.html#isUp">isUp</a></li>
424
425 </ul>
426 <ul class="events itemMembers">
427
428 </ul>
429 </li>
430
431 <li class="item" data-name="LuCI.Network.Hosts">
432 <span class="title">
433 <a href="LuCI.Network.Hosts.html">LuCI.Network.Hosts</a>
434
435 </span>
436 <ul class="members itemMembers">
437
438 </ul>
439 <ul class="typedefs itemMembers">
440
441 </ul>
442 <ul class="typedefs itemMembers">
443
444 </ul>
445 <ul class="methods itemMembers">
446
447 <span class="subtitle">Methods</span>
448
449 <li data-name="LuCI.Network.Hosts#getHostnameByIP6Addr"><a href="LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
450
451 <li data-name="LuCI.Network.Hosts#getHostnameByIPAddr"><a href="LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
452
453 <li data-name="LuCI.Network.Hosts#getHostnameByMACAddr"><a href="LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
454
455 <li data-name="LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
456
457 <li data-name="LuCI.Network.Hosts#getIPAddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
458
459 <li data-name="LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
460
461 <li data-name="LuCI.Network.Hosts#getMACAddrByIPAddr"><a href="LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
462
463 <li data-name="LuCI.Network.Hosts#getMACHints"><a href="LuCI.Network.Hosts.html#getMACHints">getMACHints</a></li>
464
465 </ul>
466 <ul class="events itemMembers">
467
468 </ul>
469 </li>
470
471 <li class="item" data-name="LuCI.Network.Protocol">
472 <span class="title">
473 <a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>
474
475 </span>
476 <ul class="members itemMembers">
477
478 </ul>
479 <ul class="typedefs itemMembers">
480
481 </ul>
482 <ul class="typedefs itemMembers">
483
484 </ul>
485 <ul class="methods itemMembers">
486
487 <span class="subtitle">Methods</span>
488
489 <li data-name="LuCI.Network.Protocol#addDevice"><a href="LuCI.Network.Protocol.html#addDevice">addDevice</a></li>
490
491 <li data-name="LuCI.Network.Protocol#containsDevice"><a href="LuCI.Network.Protocol.html#containsDevice">containsDevice</a></li>
492
493 <li data-name="LuCI.Network.Protocol#deleteDevice"><a href="LuCI.Network.Protocol.html#deleteDevice">deleteDevice</a></li>
494
495 <li data-name="LuCI.Network.Protocol#get"><a href="LuCI.Network.Protocol.html#get">get</a></li>
496
497 <li data-name="LuCI.Network.Protocol#getDevice"><a href="LuCI.Network.Protocol.html#getDevice">getDevice</a></li>
498
499 <li data-name="LuCI.Network.Protocol#getDevices"><a href="LuCI.Network.Protocol.html#getDevices">getDevices</a></li>
500
501 <li data-name="LuCI.Network.Protocol#getDNS6Addrs"><a href="LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
502
503 <li data-name="LuCI.Network.Protocol#getDNSAddrs"><a href="LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
504
505 <li data-name="LuCI.Network.Protocol#getErrors"><a href="LuCI.Network.Protocol.html#getErrors">getErrors</a></li>
506
507 <li data-name="LuCI.Network.Protocol#getExpiry"><a href="LuCI.Network.Protocol.html#getExpiry">getExpiry</a></li>
508
509 <li data-name="LuCI.Network.Protocol#getGateway6Addr"><a href="LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
510
511 <li data-name="LuCI.Network.Protocol#getGatewayAddr"><a href="LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
512
513 <li data-name="LuCI.Network.Protocol#getI18n"><a href="LuCI.Network.Protocol.html#getI18n">getI18n</a></li>
514
515 <li data-name="LuCI.Network.Protocol#getIfname"><a href="LuCI.Network.Protocol.html#getIfname">getIfname</a></li>
516
517 <li data-name="LuCI.Network.Protocol#getIP6Addr"><a href="LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
518
519 <li data-name="LuCI.Network.Protocol#getIP6Addrs"><a href="LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
520
521 <li data-name="LuCI.Network.Protocol#getIP6Prefix"><a href="LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
522
523 <li data-name="LuCI.Network.Protocol#getIPAddr"><a href="LuCI.Network.Protocol.html#getIPAddr">getIPAddr</a></li>
524
525 <li data-name="LuCI.Network.Protocol#getIPAddrs"><a href="LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
526
527 <li data-name="LuCI.Network.Protocol#getL2Device"><a href="LuCI.Network.Protocol.html#getL2Device">getL2Device</a></li>
528
529 <li data-name="LuCI.Network.Protocol#getL3Device"><a href="LuCI.Network.Protocol.html#getL3Device">getL3Device</a></li>
530
531 <li data-name="LuCI.Network.Protocol#getMetric"><a href="LuCI.Network.Protocol.html#getMetric">getMetric</a></li>
532
533 <li data-name="LuCI.Network.Protocol#getName"><a href="LuCI.Network.Protocol.html#getName">getName</a></li>
534
535 <li data-name="LuCI.Network.Protocol#getNetmask"><a href="LuCI.Network.Protocol.html#getNetmask">getNetmask</a></li>
536
537 <li data-name="LuCI.Network.Protocol#getOpkgPackage"><a href="LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
538
539 <li data-name="LuCI.Network.Protocol#getProtocol"><a href="LuCI.Network.Protocol.html#getProtocol">getProtocol</a></li>
540
541 <li data-name="LuCI.Network.Protocol#getType"><a href="LuCI.Network.Protocol.html#getType">getType</a></li>
542
543 <li data-name="LuCI.Network.Protocol#getUptime"><a href="LuCI.Network.Protocol.html#getUptime">getUptime</a></li>
544
545 <li data-name="LuCI.Network.Protocol#getZoneName"><a href="LuCI.Network.Protocol.html#getZoneName">getZoneName</a></li>
546
547 <li data-name="LuCI.Network.Protocol#isAlias"><a href="LuCI.Network.Protocol.html#isAlias">isAlias</a></li>
548
549 <li data-name="LuCI.Network.Protocol#isBridge"><a href="LuCI.Network.Protocol.html#isBridge">isBridge</a></li>
550
551 <li data-name="LuCI.Network.Protocol#isDynamic"><a href="LuCI.Network.Protocol.html#isDynamic">isDynamic</a></li>
552
553 <li data-name="LuCI.Network.Protocol#isEmpty"><a href="LuCI.Network.Protocol.html#isEmpty">isEmpty</a></li>
554
555 <li data-name="LuCI.Network.Protocol#isFloating"><a href="LuCI.Network.Protocol.html#isFloating">isFloating</a></li>
556
557 <li data-name="LuCI.Network.Protocol#isInstalled"><a href="LuCI.Network.Protocol.html#isInstalled">isInstalled</a></li>
558
559 <li data-name="LuCI.Network.Protocol#isUp"><a href="LuCI.Network.Protocol.html#isUp">isUp</a></li>
560
561 <li data-name="LuCI.Network.Protocol#isVirtual"><a href="LuCI.Network.Protocol.html#isVirtual">isVirtual</a></li>
562
563 <li data-name="LuCI.Network.Protocol#set"><a href="LuCI.Network.Protocol.html#set">set</a></li>
564
565 </ul>
566 <ul class="events itemMembers">
567
568 </ul>
569 </li>
570
571 <li class="item" data-name="LuCI.Network.WifiDevice">
572 <span class="title">
573 <a href="LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice</a>
574
575 </span>
576 <ul class="members itemMembers">
577
578 </ul>
579 <ul class="typedefs itemMembers">
580
581 </ul>
582 <ul class="typedefs itemMembers">
583
584 </ul>
585 <ul class="methods itemMembers">
586
587 <span class="subtitle">Methods</span>
588
589 <li data-name="LuCI.Network.WifiDevice#addWifiNetwork"><a href="LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
590
591 <li data-name="LuCI.Network.WifiDevice#deleteWifiNetwork"><a href="LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
592
593 <li data-name="LuCI.Network.WifiDevice#get"><a href="LuCI.Network.WifiDevice.html#get">get</a></li>
594
595 <li data-name="LuCI.Network.WifiDevice#getHTModes"><a href="LuCI.Network.WifiDevice.html#getHTModes">getHTModes</a></li>
596
597 <li data-name="LuCI.Network.WifiDevice#getHWModes"><a href="LuCI.Network.WifiDevice.html#getHWModes">getHWModes</a></li>
598
599 <li data-name="LuCI.Network.WifiDevice#getI18n"><a href="LuCI.Network.WifiDevice.html#getI18n">getI18n</a></li>
600
601 <li data-name="LuCI.Network.WifiDevice#getName"><a href="LuCI.Network.WifiDevice.html#getName">getName</a></li>
602
603 <li data-name="LuCI.Network.WifiDevice#getScanList"><a href="LuCI.Network.WifiDevice.html#getScanList">getScanList</a></li>
604
605 <li data-name="LuCI.Network.WifiDevice#getWifiNetwork"><a href="LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
606
607 <li data-name="LuCI.Network.WifiDevice#getWifiNetworks"><a href="LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
608
609 <li data-name="LuCI.Network.WifiDevice#isDisabled"><a href="LuCI.Network.WifiDevice.html#isDisabled">isDisabled</a></li>
610
611 <li data-name="LuCI.Network.WifiDevice#isUp"><a href="LuCI.Network.WifiDevice.html#isUp">isUp</a></li>
612
613 <li data-name="LuCI.Network.WifiDevice#set"><a href="LuCI.Network.WifiDevice.html#set">set</a></li>
614
615 </ul>
616 <ul class="events itemMembers">
617
618 </ul>
619 </li>
620
621 <li class="item" data-name="LuCI.Network.WifiNetwork">
622 <span class="title">
623 <a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>
624
625 </span>
626 <ul class="members itemMembers">
627
628 </ul>
629 <ul class="typedefs itemMembers">
630
631 </ul>
632 <ul class="typedefs itemMembers">
633
634 </ul>
635 <ul class="methods itemMembers">
636
637 <span class="subtitle">Methods</span>
638
639 <li data-name="LuCI.Network.WifiNetwork#get"><a href="LuCI.Network.WifiNetwork.html#get">get</a></li>
640
641 <li data-name="LuCI.Network.WifiNetwork#getActiveBSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
642
643 <li data-name="LuCI.Network.WifiNetwork#getActiveEncryption"><a href="LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
644
645 <li data-name="LuCI.Network.WifiNetwork#getActiveMode"><a href="LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
646
647 <li data-name="LuCI.Network.WifiNetwork#getActiveModeI18n"><a href="LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
648
649 <li data-name="LuCI.Network.WifiNetwork#getActiveSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
650
651 <li data-name="LuCI.Network.WifiNetwork#getAssocList"><a href="LuCI.Network.WifiNetwork.html#getAssocList">getAssocList</a></li>
652
653 <li data-name="LuCI.Network.WifiNetwork#getBitRate"><a href="LuCI.Network.WifiNetwork.html#getBitRate">getBitRate</a></li>
654
655 <li data-name="LuCI.Network.WifiNetwork#getBSSID"><a href="LuCI.Network.WifiNetwork.html#getBSSID">getBSSID</a></li>
656
657 <li data-name="LuCI.Network.WifiNetwork#getChannel"><a href="LuCI.Network.WifiNetwork.html#getChannel">getChannel</a></li>
658
659 <li data-name="LuCI.Network.WifiNetwork#getCountryCode"><a href="LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
660
661 <li data-name="LuCI.Network.WifiNetwork#getDevice"><a href="LuCI.Network.WifiNetwork.html#getDevice">getDevice</a></li>
662
663 <li data-name="LuCI.Network.WifiNetwork#getFrequency"><a href="LuCI.Network.WifiNetwork.html#getFrequency">getFrequency</a></li>
664
665 <li data-name="LuCI.Network.WifiNetwork#getI18n"><a href="LuCI.Network.WifiNetwork.html#getI18n">getI18n</a></li>
666
667 <li data-name="LuCI.Network.WifiNetwork#getID"><a href="LuCI.Network.WifiNetwork.html#getID">getID</a></li>
668
669 <li data-name="LuCI.Network.WifiNetwork#getIfname"><a href="LuCI.Network.WifiNetwork.html#getIfname">getIfname</a></li>
670
671 <li data-name="LuCI.Network.WifiNetwork#getMeshID"><a href="LuCI.Network.WifiNetwork.html#getMeshID">getMeshID</a></li>
672
673 <li data-name="LuCI.Network.WifiNetwork#getMode"><a href="LuCI.Network.WifiNetwork.html#getMode">getMode</a></li>
674
675 <li data-name="LuCI.Network.WifiNetwork#getName"><a href="LuCI.Network.WifiNetwork.html#getName">getName</a></li>
676
677 <li data-name="LuCI.Network.WifiNetwork#getNetwork"><a href="LuCI.Network.WifiNetwork.html#getNetwork">getNetwork</a></li>
678
679 <li data-name="LuCI.Network.WifiNetwork#getNetworkNames"><a href="LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
680
681 <li data-name="LuCI.Network.WifiNetwork#getNetworks"><a href="LuCI.Network.WifiNetwork.html#getNetworks">getNetworks</a></li>
682
683 <li data-name="LuCI.Network.WifiNetwork#getNoise"><a href="LuCI.Network.WifiNetwork.html#getNoise">getNoise</a></li>
684
685 <li data-name="LuCI.Network.WifiNetwork#getShortName"><a href="LuCI.Network.WifiNetwork.html#getShortName">getShortName</a></li>
686
687 <li data-name="LuCI.Network.WifiNetwork#getSignal"><a href="LuCI.Network.WifiNetwork.html#getSignal">getSignal</a></li>
688
689 <li data-name="LuCI.Network.WifiNetwork#getSignalLevel"><a href="LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
690
691 <li data-name="LuCI.Network.WifiNetwork#getSignalPercent"><a href="LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
692
693 <li data-name="LuCI.Network.WifiNetwork#getSSID"><a href="LuCI.Network.WifiNetwork.html#getSSID">getSSID</a></li>
694
695 <li data-name="LuCI.Network.WifiNetwork#getTXPower"><a href="LuCI.Network.WifiNetwork.html#getTXPower">getTXPower</a></li>
696
697 <li data-name="LuCI.Network.WifiNetwork#getTXPowerOffset"><a href="LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
698
699 <li data-name="LuCI.Network.WifiNetwork#getWifiDevice"><a href="LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
700
701 <li data-name="LuCI.Network.WifiNetwork#getWifiDeviceName"><a href="LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
702
703 <li data-name="LuCI.Network.WifiNetwork#isDisabled"><a href="LuCI.Network.WifiNetwork.html#isDisabled">isDisabled</a></li>
704
705 <li data-name="LuCI.Network.WifiNetwork#isUp"><a href="LuCI.Network.WifiNetwork.html#isUp">isUp</a></li>
706
707 <li data-name="LuCI.Network.WifiNetwork#set"><a href="LuCI.Network.WifiNetwork.html#set">set</a></li>
708
709 </ul>
710 <ul class="events itemMembers">
711
712 </ul>
713 </li>
714
715 <li class="item" data-name="LuCI.Poll">
716 <span class="title">
717 <a href="LuCI.Poll.html">LuCI.Poll</a>
718
719 </span>
720 <ul class="members itemMembers">
721
722 </ul>
723 <ul class="typedefs itemMembers">
724
725 </ul>
726 <ul class="typedefs itemMembers">
727
728 </ul>
729 <ul class="methods itemMembers">
730
731 <span class="subtitle">Methods</span>
732
733 <li data-name="LuCI.Poll#active"><a href="LuCI.Poll.html#active">active</a></li>
734
735 <li data-name="LuCI.Poll#add"><a href="LuCI.Poll.html#add">add</a></li>
736
737 <li data-name="LuCI.Poll#remove"><a href="LuCI.Poll.html#remove">remove</a></li>
738
739 <li data-name="LuCI.Poll#start"><a href="LuCI.Poll.html#start">start</a></li>
740
741 <li data-name="LuCI.Poll#stop"><a href="LuCI.Poll.html#stop">stop</a></li>
742
743 </ul>
744 <ul class="events itemMembers">
745
746 </ul>
747 </li>
748
749 <li class="item" data-name="LuCI.Request">
750 <span class="title">
751 <a href="LuCI.Request.html">LuCI.Request</a>
752
753 </span>
754 <ul class="members itemMembers">
755
756 </ul>
757 <ul class="typedefs itemMembers">
758
759 <span class="subtitle">Typedefs</span>
760
761 <li data-name="LuCI.Request.interceptorFn"><a href="LuCI.Request.html#.interceptorFn">interceptorFn</a></li>
762
763 <li data-name="LuCI.Request.RequestOptions"><a href="LuCI.Request.html#.RequestOptions">RequestOptions</a></li>
764
765 </ul>
766 <ul class="typedefs itemMembers">
767
768 </ul>
769 <ul class="methods itemMembers">
770
771 <span class="subtitle">Methods</span>
772
773 <li data-name="LuCI.Request#addInterceptor"><a href="LuCI.Request.html#addInterceptor">addInterceptor</a></li>
774
775 <li data-name="LuCI.Request#expandURL"><a href="LuCI.Request.html#expandURL">expandURL</a></li>
776
777 <li data-name="LuCI.Request#get"><a href="LuCI.Request.html#get">get</a></li>
778
779 <li data-name="LuCI.Request#post"><a href="LuCI.Request.html#post">post</a></li>
780
781 <li data-name="LuCI.Request#removeInterceptor"><a href="LuCI.Request.html#removeInterceptor">removeInterceptor</a></li>
782
783 <li data-name="LuCI.Request#request"><a href="LuCI.Request.html#request">request</a></li>
784
785 </ul>
786 <ul class="events itemMembers">
787
788 </ul>
789 </li>
790
791 <li class="item" data-name="LuCI.Request.poll">
792 <span class="title">
793 <a href="LuCI.Request.poll.html">LuCI.Request.poll</a>
794
795 </span>
796 <ul class="members itemMembers">
797
798 </ul>
799 <ul class="typedefs itemMembers">
800
801 <span class="subtitle">Typedefs</span>
802
803 <li data-name="LuCI.Request.poll~callbackFn"><a href="LuCI.Request.poll.html#~callbackFn">callbackFn</a></li>
804
805 </ul>
806 <ul class="typedefs itemMembers">
807
808 </ul>
809 <ul class="methods itemMembers">
810
811 <span class="subtitle">Methods</span>
812
813 <li data-name="LuCI.Request.poll#active"><a href="LuCI.Request.poll.html#active">active</a></li>
814
815 <li data-name="LuCI.Request.poll#add"><a href="LuCI.Request.poll.html#add">add</a></li>
816
817 <li data-name="LuCI.Request.poll#remove"><a href="LuCI.Request.poll.html#remove">remove</a></li>
818
819 <li data-name="LuCI.Request.poll#start"><a href="LuCI.Request.poll.html#start">start</a></li>
820
821 <li data-name="LuCI.Request.poll#stop"><a href="LuCI.Request.poll.html#stop">stop</a></li>
822
823 </ul>
824 <ul class="events itemMembers">
825
826 </ul>
827 </li>
828
829 <li class="item" data-name="LuCI.Response">
830 <span class="title">
831 <a href="LuCI.Response.html">LuCI.Response</a>
832
833 </span>
834 <ul class="members itemMembers">
835
836 <span class="subtitle">Members</span>
837
838 <li data-name="LuCI.Response#duration"><a href="LuCI.Response.html#duration">duration</a></li>
839
840 <li data-name="LuCI.Response#headers"><a href="LuCI.Response.html#headers">headers</a></li>
841
842 <li data-name="LuCI.Response#ok"><a href="LuCI.Response.html#ok">ok</a></li>
843
844 <li data-name="LuCI.Response#status"><a href="LuCI.Response.html#status">status</a></li>
845
846 <li data-name="LuCI.Response#statusText"><a href="LuCI.Response.html#statusText">statusText</a></li>
847
848 <li data-name="LuCI.Response#url"><a href="LuCI.Response.html#url">url</a></li>
849
850 </ul>
851 <ul class="typedefs itemMembers">
852
853 </ul>
854 <ul class="typedefs itemMembers">
855
856 </ul>
857 <ul class="methods itemMembers">
858
859 <span class="subtitle">Methods</span>
860
861 <li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
862
863 <li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
864
865 <li data-name="LuCI.Response#text"><a href="LuCI.Response.html#text">text</a></li>
866
867 </ul>
868 <ul class="events itemMembers">
869
870 </ul>
871 </li>
872
873 <li class="item" data-name="LuCI.rpc">
874 <span class="title">
875 <a href="LuCI.rpc.html">LuCI.rpc</a>
876
877 </span>
878 <ul class="members itemMembers">
879
880 </ul>
881 <ul class="typedefs itemMembers">
882
883 <span class="subtitle">Typedefs</span>
884
885 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
886
887 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
888
889 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
890
891 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
892
893 </ul>
894 <ul class="typedefs itemMembers">
895
896 </ul>
897 <ul class="methods itemMembers">
898
899 <span class="subtitle">Methods</span>
900
901 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
902
903 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
904
905 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
906
907 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
908
909 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
910
911 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
912
913 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
914
915 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
916
917 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
918
919 </ul>
920 <ul class="events itemMembers">
921
922 </ul>
923 </li>
924
925 <li class="item" data-name="LuCI.uci">
926 <span class="title">
927 <a href="LuCI.uci.html">LuCI.uci</a>
928
929 </span>
930 <ul class="members itemMembers">
931
932 </ul>
933 <ul class="typedefs itemMembers">
934
935 <span class="subtitle">Typedefs</span>
936
937 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
938
939 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
940
941 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
942
943 </ul>
944 <ul class="typedefs itemMembers">
945
946 </ul>
947 <ul class="methods itemMembers">
948
949 <span class="subtitle">Methods</span>
950
951 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
952
953 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
954
955 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
956
957 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
958
959 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
960
961 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
962
963 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
964
965 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
966
967 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
968
969 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
970
971 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
972
973 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
974
975 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
976
977 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
978
979 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
980
981 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
982
983 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
984
985 </ul>
986 <ul class="events itemMembers">
987
988 </ul>
989 </li>
990
991 <li class="item" data-name="LuCI.view">
992 <span class="title">
993 <a href="LuCI.view.html">LuCI.view</a>
994
995 </span>
996 <ul class="members itemMembers">
997
998 </ul>
999 <ul class="typedefs itemMembers">
1000
1001 </ul>
1002 <ul class="typedefs itemMembers">
1003
1004 </ul>
1005 <ul class="methods itemMembers">
1006
1007 <span class="subtitle">Methods</span>
1008
1009 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1010
1011 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1012
1013 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1014
1015 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1016
1017 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1018
1019 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1020
1021 </ul>
1022 <ul class="events itemMembers">
1023
1024 </ul>
1025 </li>
1026
1027 <li class="item" data-name="LuCI.XHR">
1028 <span class="title">
1029 <a href="LuCI.XHR.html">LuCI.XHR</a>
1030
1031 </span>
1032 <ul class="members itemMembers">
1033
1034 </ul>
1035 <ul class="typedefs itemMembers">
1036
1037 </ul>
1038 <ul class="typedefs itemMembers">
1039
1040 </ul>
1041 <ul class="methods itemMembers">
1042
1043 <span class="subtitle">Methods</span>
1044
1045 <li data-name="LuCI.XHR#abort"><a href="LuCI.XHR.html#abort">abort</a></li>
1046
1047 <li data-name="LuCI.XHR#busy"><a href="LuCI.XHR.html#busy">busy</a></li>
1048
1049 <li data-name="LuCI.XHR#cancel"><a href="LuCI.XHR.html#cancel">cancel</a></li>
1050
1051 <li data-name="LuCI.XHR#get"><a href="LuCI.XHR.html#get">get</a></li>
1052
1053 <li data-name="LuCI.XHR#post"><a href="LuCI.XHR.html#post">post</a></li>
1054
1055 <li data-name="LuCI.XHR#send_form"><a href="LuCI.XHR.html#send_form">send_form</a></li>
1056
1057 </ul>
1058 <ul class="events itemMembers">
1059
1060 </ul>
1061 </li>
1062
1063 </ul>
1064 </div>
1065 <div class="main">
1066 <h1 class="page-title" data-filename="LuCI.Network.Device.html">Class: Device</h1>
1067
1068
1069
1070
1071 <section>
1072
1073 <header>
1074 <h2>
1075 <span class="ancestors"><a href="LuCI.html">LuCI</a><a href="LuCI.Network.html">.Network</a>.</span>
1076
1077 Device
1078 </h2>
1079
1080 <div class="class-description"><p>A <code>Network.Device</code> class instance represents an underlying Linux network
1081 device and allows querying device details such as packet statistics or MTU.</p></div>
1082
1083 </header>
1084
1085 <article>
1086 <div class="container-overview">
1087
1088
1089
1090
1091 <dt>
1092 <div class="nameContainer">
1093 <h4 class="name" id="Device">
1094
1095 new LuCI.Network.Device<span class="signature">()</span>
1096 </h4>
1097
1098
1099 <div class="tag-source">
1100 network.js, line 2593
1101 </div>
1102
1103 </div>
1104
1105
1106 </dt>
1107 <dd>
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118 <dl class="details">
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140 </dl>
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154 </dd>
1155
1156
1157 </div>
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172 <h3 class="subsection-title">Methods</h3>
1173
1174 <dl>
1175
1176 <dt>
1177 <div class="nameContainer">
1178 <h4 class="name" id="getBridgeID">
1179
1180 getBridgeID<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
1181 </h4>
1182
1183
1184 <div class="tag-source">
1185 network.js, line 2800
1186 </div>
1187
1188 </div>
1189
1190
1191 </dt>
1192 <dd>
1193
1194
1195 <div class="description">
1196 <p>Get the bridge ID</p>
1197 </div>
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207 <dl class="details">
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229 </dl>
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241 <h5>Returns:</h5>
1242
1243
1244
1245 <table class="params">
1246 <thead>
1247 <tr>
1248
1249 <th>Type</th>
1250 <th class="last">Description</th>
1251 </tr>
1252 </thead>
1253 <tbody>
1254
1255 <tr>
1256
1257 <td class="type">
1258
1259 null
1260 |
1261
1262 string
1263
1264
1265 </td>
1266 <td class="description last">Returns the ID of this network bridge or <code>null</code> if this network
1267 device is not a Linux bridge.</td>
1268 </tr>
1269
1270 </tbody>
1271 </table>
1272
1273
1274
1275
1276 </dd>
1277
1278
1279
1280 <dt>
1281 <div class="nameContainer">
1282 <h4 class="name" id="getBridgeSTP">
1283
1284 getBridgeSTP<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
1285 </h4>
1286
1287
1288 <div class="tag-source">
1289 network.js, line 2812
1290 </div>
1291
1292 </div>
1293
1294
1295 </dt>
1296 <dd>
1297
1298
1299 <div class="description">
1300 <p>Get the bridge STP setting</p>
1301 </div>
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311 <dl class="details">
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333 </dl>
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345 <h5>Returns:</h5>
1346
1347
1348
1349 <table class="params">
1350 <thead>
1351 <tr>
1352
1353 <th>Type</th>
1354 <th class="last">Description</th>
1355 </tr>
1356 </thead>
1357 <tbody>
1358
1359 <tr>
1360
1361 <td class="type">
1362
1363 boolean
1364
1365
1366 </td>
1367 <td class="description last">Returns <code>true</code> when this device is a Linux bridge and has <code>stp</code>
1368 enabled, else <code>false</code>.</td>
1369 </tr>
1370
1371 </tbody>
1372 </table>
1373
1374
1375
1376
1377 </dd>
1378
1379
1380
1381 <dt>
1382 <div class="nameContainer">
1383 <h4 class="name" id="getI18n">
1384
1385 getI18n<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1386 </h4>
1387
1388
1389 <div class="tag-source">
1390 network.js, line 2727
1391 </div>
1392
1393 </div>
1394
1395
1396 </dt>
1397 <dd>
1398
1399
1400 <div class="description">
1401 <p>Get a long description string for the device.</p>
1402 </div>
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412 <dl class="details">
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434 </dl>
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446 <h5>Returns:</h5>
1447
1448
1449
1450 <table class="params">
1451 <thead>
1452 <tr>
1453
1454 <th>Type</th>
1455 <th class="last">Description</th>
1456 </tr>
1457 </thead>
1458 <tbody>
1459
1460 <tr>
1461
1462 <td class="type">
1463
1464 string
1465
1466
1467 </td>
1468 <td class="description last">Returns a string containing the type description and device name
1469 for non-wifi devices or operation mode and ssid for wifi ones.</td>
1470 </tr>
1471
1472 </tbody>
1473 </table>
1474
1475
1476
1477
1478 </dd>
1479
1480
1481
1482 <dt>
1483 <div class="nameContainer">
1484 <h4 class="name" id="getIP6Addrs">
1485
1486 getIP6Addrs<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;string>}</span>
1487 </h4>
1488
1489
1490 <div class="tag-source">
1491 network.js, line 2671
1492 </div>
1493
1494 </div>
1495
1496
1497 </dt>
1498 <dd>
1499
1500
1501 <div class="description">
1502 <p>Get the IPv6 addresses configured on the device.</p>
1503 </div>
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513 <dl class="details">
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535 </dl>
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547 <h5>Returns:</h5>
1548
1549
1550
1551 <table class="params">
1552 <thead>
1553 <tr>
1554
1555 <th>Type</th>
1556 <th class="last">Description</th>
1557 </tr>
1558 </thead>
1559 <tbody>
1560
1561 <tr>
1562
1563 <td class="type">
1564
1565 Array.&lt;string>
1566
1567
1568 </td>
1569 <td class="description last">Returns an array of IPv6 address strings.</td>
1570 </tr>
1571
1572 </tbody>
1573 </table>
1574
1575
1576
1577
1578 </dd>
1579
1580
1581
1582 <dt>
1583 <div class="nameContainer">
1584 <h4 class="name" id="getIPAddrs">
1585
1586 getIPAddrs<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;string>}</span>
1587 </h4>
1588
1589
1590 <div class="tag-source">
1591 network.js, line 2660
1592 </div>
1593
1594 </div>
1595
1596
1597 </dt>
1598 <dd>
1599
1600
1601 <div class="description">
1602 <p>Get the IPv4 addresses configured on the device.</p>
1603 </div>
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613 <dl class="details">
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635 </dl>
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647 <h5>Returns:</h5>
1648
1649
1650
1651 <table class="params">
1652 <thead>
1653 <tr>
1654
1655 <th>Type</th>
1656 <th class="last">Description</th>
1657 </tr>
1658 </thead>
1659 <tbody>
1660
1661 <tr>
1662
1663 <td class="type">
1664
1665 Array.&lt;string>
1666
1667
1668 </td>
1669 <td class="description last">Returns an array of IPv4 address strings.</td>
1670 </tr>
1671
1672 </tbody>
1673 </table>
1674
1675
1676
1677
1678 </dd>
1679
1680
1681
1682 <dt>
1683 <div class="nameContainer">
1684 <h4 class="name" id="getMAC">
1685
1686 getMAC<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
1687 </h4>
1688
1689
1690 <div class="tag-source">
1691 network.js, line 2639
1692 </div>
1693
1694 </div>
1695
1696
1697 </dt>
1698 <dd>
1699
1700
1701 <div class="description">
1702 <p>Get the MAC address of the device.</p>
1703 </div>
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713 <dl class="details">
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735 </dl>
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747 <h5>Returns:</h5>
1748
1749
1750
1751 <table class="params">
1752 <thead>
1753 <tr>
1754
1755 <th>Type</th>
1756 <th class="last">Description</th>
1757 </tr>
1758 </thead>
1759 <tbody>
1760
1761 <tr>
1762
1763 <td class="type">
1764
1765 null
1766 |
1767
1768 string
1769
1770
1771 </td>
1772 <td class="description last">Returns the MAC address of the device or <code>null</code> if not applicable,
1773 e.g. for non-ethernet tunnel devices.</td>
1774 </tr>
1775
1776 </tbody>
1777 </table>
1778
1779
1780
1781
1782 </dd>
1783
1784
1785
1786 <dt>
1787 <div class="nameContainer">
1788 <h4 class="name" id="getMTU">
1789
1790 getMTU<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
1791 </h4>
1792
1793
1794 <div class="tag-source">
1795 network.js, line 2650
1796 </div>
1797
1798 </div>
1799
1800
1801 </dt>
1802 <dd>
1803
1804
1805 <div class="description">
1806 <p>Get the MTU of the device.</p>
1807 </div>
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817 <dl class="details">
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839 </dl>
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851 <h5>Returns:</h5>
1852
1853
1854
1855 <table class="params">
1856 <thead>
1857 <tr>
1858
1859 <th>Type</th>
1860 <th class="last">Description</th>
1861 </tr>
1862 </thead>
1863 <tbody>
1864
1865 <tr>
1866
1867 <td class="type">
1868
1869 number
1870
1871
1872 </td>
1873 <td class="description last">Returns the MTU of the device.</td>
1874 </tr>
1875
1876 </tbody>
1877 </table>
1878
1879
1880
1881
1882 </dd>
1883
1884
1885
1886 <dt>
1887 <div class="nameContainer">
1888 <h4 class="name" id="getName">
1889
1890 getName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1891 </h4>
1892
1893
1894 <div class="tag-source">
1895 network.js, line 2628
1896 </div>
1897
1898 </div>
1899
1900
1901 </dt>
1902 <dd>
1903
1904
1905 <div class="description">
1906 <p>Get the name of the network device.</p>
1907 </div>
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917 <dl class="details">
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939 </dl>
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951 <h5>Returns:</h5>
1952
1953
1954
1955 <table class="params">
1956 <thead>
1957 <tr>
1958
1959 <th>Type</th>
1960 <th class="last">Description</th>
1961 </tr>
1962 </thead>
1963 <tbody>
1964
1965 <tr>
1966
1967 <td class="type">
1968
1969 string
1970
1971
1972 </td>
1973 <td class="description last">Returns the name of the device, e.g. <code>eth0</code> or <code>wlan0</code>.</td>
1974 </tr>
1975
1976 </tbody>
1977 </table>
1978
1979
1980
1981
1982 </dd>
1983
1984
1985
1986 <dt>
1987 <div class="nameContainer">
1988 <h4 class="name" id="getNetwork">
1989
1990 getNetwork<span class="signature">()</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>
1991 </h4>
1992
1993
1994 <div class="tag-source">
1995 network.js, line 2907
1996 </div>
1997
1998 </div>
1999
2000
2001 </dt>
2002 <dd>
2003
2004
2005 <div class="description">
2006 <p>Get the primary logical interface this device is assigned to.</p>
2007 </div>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017 <dl class="details">
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039 </dl>
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051 <h5>Returns:</h5>
2052
2053
2054
2055 <table class="params">
2056 <thead>
2057 <tr>
2058
2059 <th>Type</th>
2060 <th class="last">Description</th>
2061 </tr>
2062 </thead>
2063 <tbody>
2064
2065 <tr>
2066
2067 <td class="type">
2068
2069 null
2070 |
2071
2072 <a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>
2073
2074
2075 </td>
2076 <td class="description last">Returns a <code>Network.Protocol</code> instance representing the logical
2077 interface this device is attached to or <code>null</code> if it is not
2078 assigned to any logical interface.</td>
2079 </tr>
2080
2081 </tbody>
2082 </table>
2083
2084
2085
2086
2087 </dd>
2088
2089
2090
2091 <dt>
2092 <div class="nameContainer">
2093 <h4 class="name" id="getNetworks">
2094
2095 getNetworks<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;<a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>>}</span>
2096 </h4>
2097
2098
2099 <div class="tag-source">
2100 network.js, line 2918
2101 </div>
2102
2103 </div>
2104
2105
2106 </dt>
2107 <dd>
2108
2109
2110 <div class="description">
2111 <p>Get the logical interfaces this device is assigned to.</p>
2112 </div>
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122 <dl class="details">
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144 </dl>
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156 <h5>Returns:</h5>
2157
2158
2159
2160 <table class="params">
2161 <thead>
2162 <tr>
2163
2164 <th>Type</th>
2165 <th class="last">Description</th>
2166 </tr>
2167 </thead>
2168 <tbody>
2169
2170 <tr>
2171
2172 <td class="type">
2173
2174 Array.&lt;<a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>>
2175
2176
2177 </td>
2178 <td class="description last">Returns an array of <code>Network.Protocol</code> instances representing the
2179 logical interfaces this device is assigned to.</td>
2180 </tr>
2181
2182 </tbody>
2183 </table>
2184
2185
2186
2187
2188 </dd>
2189
2190
2191
2192 <dt>
2193 <div class="nameContainer">
2194 <h4 class="name" id="getPorts">
2195
2196 getPorts<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|Array.&lt;<a href="LuCI.Network.Device.html">LuCI.Network.Device</a>>}</span>
2197 </h4>
2198
2199
2200 <div class="tag-source">
2201 network.js, line 2778
2202 </div>
2203
2204 </div>
2205
2206
2207 </dt>
2208 <dd>
2209
2210
2211 <div class="description">
2212 <p>Get the associated bridge ports of the device.</p>
2213 </div>
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223 <dl class="details">
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245 </dl>
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257 <h5>Returns:</h5>
2258
2259
2260
2261 <table class="params">
2262 <thead>
2263 <tr>
2264
2265 <th>Type</th>
2266 <th class="last">Description</th>
2267 </tr>
2268 </thead>
2269 <tbody>
2270
2271 <tr>
2272
2273 <td class="type">
2274
2275 null
2276 |
2277
2278 Array.&lt;<a href="LuCI.Network.Device.html">LuCI.Network.Device</a>>
2279
2280
2281 </td>
2282 <td class="description last">Returns an array of <code>Network.Device</code> instances representing the ports
2283 (slave interfaces) of the bridge or <code>null</code> when this device isn't
2284 a Linux bridge.</td>
2285 </tr>
2286
2287 </tbody>
2288 </table>
2289
2290
2291
2292
2293 </dd>
2294
2295
2296
2297 <dt>
2298 <div class="nameContainer">
2299 <h4 class="name" id="getRXBytes">
2300
2301 getRXBytes<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
2302 </h4>
2303
2304
2305 <div class="tag-source">
2306 network.js, line 2872
2307 </div>
2308
2309 </div>
2310
2311
2312 </dt>
2313 <dd>
2314
2315
2316 <div class="description">
2317 <p>Get the amount of received bytes.</p>
2318 </div>
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328 <dl class="details">
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350 </dl>
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362 <h5>Returns:</h5>
2363
2364
2365
2366 <table class="params">
2367 <thead>
2368 <tr>
2369
2370 <th>Type</th>
2371 <th class="last">Description</th>
2372 </tr>
2373 </thead>
2374 <tbody>
2375
2376 <tr>
2377
2378 <td class="type">
2379
2380 number
2381
2382
2383 </td>
2384 <td class="description last">Returns the amount of bytes received by the network device.</td>
2385 </tr>
2386
2387 </tbody>
2388 </table>
2389
2390
2391
2392
2393 </dd>
2394
2395
2396
2397 <dt>
2398 <div class="nameContainer">
2399 <h4 class="name" id="getRXPackets">
2400
2401 getRXPackets<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
2402 </h4>
2403
2404
2405 <div class="tag-source">
2406 network.js, line 2894
2407 </div>
2408
2409 </div>
2410
2411
2412 </dt>
2413 <dd>
2414
2415
2416 <div class="description">
2417 <p>Get the amount of received packets.</p>
2418 </div>
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428 <dl class="details">
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450 </dl>
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462 <h5>Returns:</h5>
2463
2464
2465
2466 <table class="params">
2467 <thead>
2468 <tr>
2469
2470 <th>Type</th>
2471 <th class="last">Description</th>
2472 </tr>
2473 </thead>
2474 <tbody>
2475
2476 <tr>
2477
2478 <td class="type">
2479
2480 number
2481
2482
2483 </td>
2484 <td class="description last">Returns the amount of packets received by the network device.</td>
2485 </tr>
2486
2487 </tbody>
2488 </table>
2489
2490
2491
2492
2493 </dd>
2494
2495
2496
2497 <dt>
2498 <div class="nameContainer">
2499 <h4 class="name" id="getShortName">
2500
2501 getShortName<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2502 </h4>
2503
2504
2505 <div class="tag-source">
2506 network.js, line 2713
2507 </div>
2508
2509 </div>
2510
2511
2512 </dt>
2513 <dd>
2514
2515
2516 <div class="description">
2517 <p>Get a short description string for the device.</p>
2518 </div>
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528 <dl class="details">
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550 </dl>
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562 <h5>Returns:</h5>
2563
2564
2565
2566 <table class="params">
2567 <thead>
2568 <tr>
2569
2570 <th>Type</th>
2571 <th class="last">Description</th>
2572 </tr>
2573 </thead>
2574 <tbody>
2575
2576 <tr>
2577
2578 <td class="type">
2579
2580 string
2581
2582
2583 </td>
2584 <td class="description last">Returns the device name for non-wifi devices or a string containing
2585 the operation mode and SSID for wifi devices.</td>
2586 </tr>
2587
2588 </tbody>
2589 </table>
2590
2591
2592
2593
2594 </dd>
2595
2596
2597
2598 <dt>
2599 <div class="nameContainer">
2600 <h4 class="name" id="getTXBytes">
2601
2602 getTXBytes<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
2603 </h4>
2604
2605
2606 <div class="tag-source">
2607 network.js, line 2861
2608 </div>
2609
2610 </div>
2611
2612
2613 </dt>
2614 <dd>
2615
2616
2617 <div class="description">
2618 <p>Get the amount of transmitted bytes.</p>
2619 </div>
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629 <dl class="details">
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651 </dl>
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663 <h5>Returns:</h5>
2664
2665
2666
2667 <table class="params">
2668 <thead>
2669 <tr>
2670
2671 <th>Type</th>
2672 <th class="last">Description</th>
2673 </tr>
2674 </thead>
2675 <tbody>
2676
2677 <tr>
2678
2679 <td class="type">
2680
2681 number
2682
2683
2684 </td>
2685 <td class="description last">Returns the amount of bytes transmitted by the network device.</td>
2686 </tr>
2687
2688 </tbody>
2689 </table>
2690
2691
2692
2693
2694 </dd>
2695
2696
2697
2698 <dt>
2699 <div class="nameContainer">
2700 <h4 class="name" id="getTXPackets">
2701
2702 getTXPackets<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{number}</span>
2703 </h4>
2704
2705
2706 <div class="tag-source">
2707 network.js, line 2883
2708 </div>
2709
2710 </div>
2711
2712
2713 </dt>
2714 <dd>
2715
2716
2717 <div class="description">
2718 <p>Get the amount of transmitted packets.</p>
2719 </div>
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729 <dl class="details">
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751 </dl>
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763 <h5>Returns:</h5>
2764
2765
2766
2767 <table class="params">
2768 <thead>
2769 <tr>
2770
2771 <th>Type</th>
2772 <th class="last">Description</th>
2773 </tr>
2774 </thead>
2775 <tbody>
2776
2777 <tr>
2778
2779 <td class="type">
2780
2781 number
2782
2783
2784 </td>
2785 <td class="description last">Returns the amount of packets transmitted by the network device.</td>
2786 </tr>
2787
2788 </tbody>
2789 </table>
2790
2791
2792
2793
2794 </dd>
2795
2796
2797
2798 <dt>
2799 <div class="nameContainer">
2800 <h4 class="name" id="getType">
2801
2802 getType<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2803 </h4>
2804
2805
2806 <div class="tag-source">
2807 network.js, line 2689
2808 </div>
2809
2810 </div>
2811
2812
2813 </dt>
2814 <dd>
2815
2816
2817 <div class="description">
2818 <p>Get the type of the device..</p>
2819 </div>
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829 <dl class="details">
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851 </dl>
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863 <h5>Returns:</h5>
2864
2865
2866
2867 <table class="params">
2868 <thead>
2869 <tr>
2870
2871 <th>Type</th>
2872 <th class="last">Description</th>
2873 </tr>
2874 </thead>
2875 <tbody>
2876
2877 <tr>
2878
2879 <td class="type">
2880
2881 string
2882
2883
2884 </td>
2885 <td class="description last">Returns a string describing the type of the network device:
2886 <ul>
2887 <li><code>alias</code> if it is an abstract alias device (<code>@</code> notation)</li>
2888 <li><code>wifi</code> if it is a wireless interface (e.g. <code>wlan0</code>)</li>
2889 <li><code>bridge</code> if it is a bridge device (e.g. <code>br-lan</code>)</li>
2890 <li><code>tunnel</code> if it is a tun or tap device (e.g. <code>tun0</code>)</li>
2891 <li><code>vlan</code> if it is a vlan device (e.g. <code>eth0.1</code>)</li>
2892 <li><code>switch</code> if it is a switch device (e.g.<code>eth1</code> connected to switch0)</li>
2893 <li><code>ethernet</code> for all other device types</li>
2894 </ul></td>
2895 </tr>
2896
2897 </tbody>
2898 </table>
2899
2900
2901
2902
2903 </dd>
2904
2905
2906
2907 <dt>
2908 <div class="nameContainer">
2909 <h4 class="name" id="getTypeI18n">
2910
2911 getTypeI18n<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2912 </h4>
2913
2914
2915 <div class="tag-source">
2916 network.js, line 2745
2917 </div>
2918
2919 </div>
2920
2921
2922 </dt>
2923 <dd>
2924
2925
2926 <div class="description">
2927 <p>Get a string describing the device type.</p>
2928 </div>
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938 <dl class="details">
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960 </dl>
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972 <h5>Returns:</h5>
2973
2974
2975
2976 <table class="params">
2977 <thead>
2978 <tr>
2979
2980 <th>Type</th>
2981 <th class="last">Description</th>
2982 </tr>
2983 </thead>
2984 <tbody>
2985
2986 <tr>
2987
2988 <td class="type">
2989
2990 string
2991
2992
2993 </td>
2994 <td class="description last">Returns a string describing the type, e.g. &quot;Wireless Adapter&quot; or
2995 &quot;Bridge&quot;.</td>
2996 </tr>
2997
2998 </tbody>
2999 </table>
3000
3001
3002
3003
3004 </dd>
3005
3006
3007
3008 <dt>
3009 <div class="nameContainer">
3010 <h4 class="name" id="getWifiNetwork">
3011
3012 getWifiNetwork<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|<a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>}</span>
3013 </h4>
3014
3015
3016 <div class="tag-source">
3017 network.js, line 2942
3018 </div>
3019
3020 </div>
3021
3022
3023 </dt>
3024 <dd>
3025
3026
3027 <div class="description">
3028 <p>Get the related wireless network this device is related to.</p>
3029 </div>
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039 <dl class="details">
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061 </dl>
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073 <h5>Returns:</h5>
3074
3075
3076
3077 <table class="params">
3078 <thead>
3079 <tr>
3080
3081 <th>Type</th>
3082 <th class="last">Description</th>
3083 </tr>
3084 </thead>
3085 <tbody>
3086
3087 <tr>
3088
3089 <td class="type">
3090
3091 null
3092 |
3093
3094 <a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>
3095
3096
3097 </td>
3098 <td class="description last">Returns a <code>Network.WifiNetwork</code> instance representing the wireless
3099 network corresponding to this network device or <code>null</code> if this device
3100 is not a wireless device.</td>
3101 </tr>
3102
3103 </tbody>
3104 </table>
3105
3106
3107
3108
3109 </dd>
3110
3111
3112
3113 <dt>
3114 <div class="nameContainer">
3115 <h4 class="name" id="isBridge">
3116
3117 isBridge<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
3118 </h4>
3119
3120
3121 <div class="tag-source">
3122 network.js, line 2840
3123 </div>
3124
3125 </div>
3126
3127
3128 </dt>
3129 <dd>
3130
3131
3132 <div class="description">
3133 <p>Checks whether this device is a Linux bridge.</p>
3134 </div>
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144 <dl class="details">
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166 </dl>
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178 <h5>Returns:</h5>
3179
3180
3181
3182 <table class="params">
3183 <thead>
3184 <tr>
3185
3186 <th>Type</th>
3187 <th class="last">Description</th>
3188 </tr>
3189 </thead>
3190 <tbody>
3191
3192 <tr>
3193
3194 <td class="type">
3195
3196 boolean
3197
3198
3199 </td>
3200 <td class="description last">Returns <code>true</code> when the network device is present and a Linux bridge,
3201 else <code>false</code>.</td>
3202 </tr>
3203
3204 </tbody>
3205 </table>
3206
3207
3208
3209
3210 </dd>
3211
3212
3213
3214 <dt>
3215 <div class="nameContainer">
3216 <h4 class="name" id="isBridgePort">
3217
3218 isBridgePort<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
3219 </h4>
3220
3221
3222 <div class="tag-source">
3223 network.js, line 2851
3224 </div>
3225
3226 </div>
3227
3228
3229 </dt>
3230 <dd>
3231
3232
3233 <div class="description">
3234 <p>Checks whether this device is part of a Linux bridge.</p>
3235 </div>
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245 <dl class="details">
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267 </dl>
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279 <h5>Returns:</h5>
3280
3281
3282
3283 <table class="params">
3284 <thead>
3285 <tr>
3286
3287 <th>Type</th>
3288 <th class="last">Description</th>
3289 </tr>
3290 </thead>
3291 <tbody>
3292
3293 <tr>
3294
3295 <td class="type">
3296
3297 boolean
3298
3299
3300 </td>
3301 <td class="description last">Returns <code>true</code> when this network device is part of a bridge,
3302 else <code>false</code>.</td>
3303 </tr>
3304
3305 </tbody>
3306 </table>
3307
3308
3309
3310
3311 </dd>
3312
3313
3314
3315 <dt>
3316 <div class="nameContainer">
3317 <h4 class="name" id="isUp">
3318
3319 isUp<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
3320 </h4>
3321
3322
3323 <div class="tag-source">
3324 network.js, line 2824
3325 </div>
3326
3327 </div>
3328
3329
3330 </dt>
3331 <dd>
3332
3333
3334 <div class="description">
3335 <p>Checks whether this device is up.</p>
3336 </div>
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346 <dl class="details">
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368 </dl>
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380 <h5>Returns:</h5>
3381
3382
3383
3384 <table class="params">
3385 <thead>
3386 <tr>
3387
3388 <th>Type</th>
3389 <th class="last">Description</th>
3390 </tr>
3391 </thead>
3392 <tbody>
3393
3394 <tr>
3395
3396 <td class="type">
3397
3398 boolean
3399
3400
3401 </td>
3402 <td class="description last">Returns <code>true</code> when the associated device is running pr <code>false</code>
3403 when it is down or absent.</td>
3404 </tr>
3405
3406 </tbody>
3407 </table>
3408
3409
3410
3411
3412 </dd>
3413
3414 </dl>
3415
3416
3417
3418
3419
3420
3421
3422 </article>
3423
3424 </section>
3425
3426
3427
3428
3429
3430
3431
3432 <footer>
3433 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)
3434 </footer>
3435 </div>
3436 </div>
3437 <script>prettyPrint();</script>
3438 <script src="scripts/jaguar.js"></script>
3439 </body>
3440 </html>