hs.network.addresses([interface_list]) -> table
hs.host.addresses
, but does not block.hs.network.interfaceDetails([interface | favorIPv6]) -> table
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Returns details about the specified interface or the primary interface if no interface is specified. | | Parameters |interface
is not specified. Defaults to false.favorIPv6
flag only determines interface search order. If you specify true for this flag, but no primary IPv6 interface exists (i.e. your DHCP server only provides an IPv4 address an IPv6 is limited to local only traffic), then the primary IPv4 interface will be used instead.hs.network.interfaceName([interface | favorIPv6]) -> string
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Returns the user defined name for the specified interface or the primary interface if no interface is specified. | | Parameters |interface
is not specified. Defaults to false.hs.network.interfaces() -> table
hs.network.primaryInterfaces() -> ipv4Interface, ipv6Interface