Netdev List
 help / color / mirror / Atom feed
* Does the kernel have a function to parse a text IPv6 address?
@ 2017-08-18 18:32 David Howells
  2017-08-18 18:37 ` Cong Wang
  0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2017-08-18 18:32 UTC (permalink / raw)
  To: netdev; +Cc: dhowells

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Does the kernel have a function to parse a text IPv6 address?
  2017-08-18 18:32 Does the kernel have a function to parse a text IPv6 address? David Howells
@ 2017-08-18 18:37 ` Cong Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Cong Wang @ 2017-08-18 18:37 UTC (permalink / raw)
  To: David Howells; +Cc: Linux Kernel Network Developers

On Fri, Aug 18, 2017 at 11:32 AM, David Howells <dhowells@redhat.com> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-18 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-18 18:32 Does the kernel have a function to parse a text IPv6 address? David Howells
2017-08-18 18:37 ` Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox