pub unsafe extern "C" fn nrf_getifaddrs(
    ifa: *mut *mut nrf_ifaddrs
) -> c_int
Expand description

Get interface address information.

@details Create a linked list of nrf_ifaddrs structures describing the network interfaces and store the address of the first item of the list in @p *ifa.

The data returned by this function is dynamically allocated and must be freed using @ref nrf_freeifaddrs() when no longer needed.

@param[in, out] ifa First item in the linked list of interface addresses.

Returns 0 on success. Returns -1 on error, and set * errno - to indicate the reason.