⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

select_source_address

Function select_source_address 

Source
pub fn select_source_address(dst: &Ipv6Address) -> Option<Ipv6Address>
Expand description

Get the source address appropriate for a given destination.

If the destination is link-local, returns our link-local address. Otherwise, returns a global address if available.