It can be used to parse IPv6 functions, since inet_addr supports IPv4 only. Change-Id: Icb6dd38462501895d1b4409a3c530793917bd803