Skip to contentSkip to conversation

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

DISCUSSION David Howells 2 participants 2 messages Aug 18, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · David Howells

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.