Skip to main content

parse_ipv6

Function parse_ipv6 

Source
pub fn parse_ipv6(s: &str) -> Option<[u8; 16]>
Expand description

an IPv6 address in any RFC 4291 text form: eight groups of up to four hex digits, “::” once for a run of zero groups, the last 32 bits as dotted decimal (“::ffff:10.0.0.1”); hex digits in either case