forked from external/yambar
module: network: add 'type` tag
This tag maps to the ifinfomsg->ifi_type member, which is set to one of the ARPHRD_xyz values, defined in linux/if_arp.h. There's a *ton* of them, and we can't possibly add a string mapping for _all_ of them, so for now, set to one of: * loopback * ether * wlan * ARPHRD_NNN, where N is a number
This commit is contained in:
parent
568eb1140f
commit
a5ae61b5df
3 changed files with 37 additions and 3 deletions
|
@ -21,6 +21,10 @@ address per network interface.
|
|||
| name
|
||||
: string
|
||||
: Network interface name
|
||||
| type
|
||||
: string
|
||||
: Interface type (*ether*, *wlan*, *loopback*, or *ARPHRD_NNN*, where
|
||||
*N* is a number).
|
||||
| index
|
||||
: int
|
||||
: Network interface index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue