Function

nw_interface_get_name(_:)

Accesses the name of the interface.

Declaration

func nw_interface_get_name(_ interface: nw_interface_t) -> UnsafePointer<Int8>

See Also

Inspecting Interfaces

func nw_interface_get_type(nw_interface_t) -> nw_interface_type_t

Accesses the type of the interface, such as Wi-Fi or Loopback.

func nw_interface_get_index(nw_interface_t) -> UInt32

Accesses the system interface index associated with the interface.