pub fn split_address(
input: &str,
) -> Result<(Address, Option<kernel_pid_t>), &'static str>
Available on
riot_module_ipv6
only.Expand description
Given an address like fe80::1%42, split it up into a Address and a numeric interface identifier, if any is given. It is an error for the address not to be parsable, or for the interface identifier not to be numeric.
Don’t consider the error type final, that’s just what works easily Right Now.