pub unsafe extern "C" fn nvme_ctrl_get_src_addr(
c: nvme_ctrl_t,
src_addr: *mut c_char,
src_addr_len: usize,
) -> *mut c_charExpand description
nvme_ctrl_get_src_addr() - Extract src_addr from the c->address string @c: Controller instance @src_addr: Where to copy the src_addr. Size must be at least INET6_ADDRSTRLEN. @src_addr_len: Length of the buffer @src_addr.
Return: Pointer to @src_addr on success. NULL on failure to extract the src_addr.