Does the kernel have a function to parse a text IPv6 address?

2 messages, 2 authors, 2017-08-18 · open the first message on its own page

Does the kernel have a function to parse a text IPv6 address?

From: David Howells <dhowells@redhat.com>
Date: 2017-08-18 18:32:03

Does the kernel have a function to parse a text IPv6 address of the form
"x:y:..::z" and put it into a struct sockaddr_in6?

David

Re: Does the kernel have a function to parse a text IPv6 address?

From: Cong Wang <hidden>
Date: 2017-08-18 18:37:24

On Fri, Aug 18, 2017 at 11:32 AM, David Howells [off-list ref] wrote:
Does the kernel have a function to parse a text IPv6 address of the form
"x:y:..::z" and put it into a struct sockaddr_in6?
in6_pton() in net/core/utils.c.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help