Function libzt::zts_addr_compute_rfc4193_str[][src]

pub unsafe extern "C" fn zts_addr_compute_rfc4193_str(
    net_id: u64,
    node_id: u64,
    dst: *mut c_char,
    len: c_uint
) -> c_int
Expand description

@brief Compute RFC4193 IPv6 address for the given Network ID and Node ID and copy its null-terminated human-readable string representation into destination buffer.

@param net_id Network ID @param node_id Node ID @param dst Destination string buffer @param len Length of destination string buffer (must be exactly ZTS_IP_MAX_STR_LEN) @return ZTS_ERR_OK if successful, ZTS_ERR_ARG if invalid argument.