[NET]: Accept wildcard delimiters in in[46]_pton
[firefly-linux-kernel-4.4.55.git] / include / linux / inet.h
index 3b5e9fdff872c5575464208dd8b4fbf8eb665652..675a7dbe86f876d68cbd7d9573b74e305e7091d8 100644 (file)
@@ -45,6 +45,8 @@
 #ifdef __KERNEL__
 #include <linux/types.h>
 
-extern __u32 in_aton(const char *str);
+extern __be32 in_aton(const char *str);
+extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
+extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
 #endif
 #endif /* _LINUX_INET_H */