Lines Matching refs:src
33 static int inet_pton4(const char *src, u_char *dst);
34 static int inet_pton6(const char *src, u_char *dst);
48 inet_pton(int af, const char *src, void *dst) in inet_pton() argument
52 return (inet_pton4(src, dst)); in inet_pton()
54 return (inet_pton6(src, dst)); in inet_pton()
73 inet_pton4(const char *src, u_char *dst) in inet_pton4() argument
82 while ((ch = *src++) != '\0') { in inet_pton4()
125 inet_pton6(const char *src, u_char *dst) in inet_pton6() argument
138 if (*src == ':') in inet_pton6()
139 if (*++src != ':') in inet_pton6()
141 curtok = src; in inet_pton6()
144 while ((ch = *src++) != '\0') { in inet_pton6()
161 curtok = src; in inet_pton6()
167 } else if (*src == '\0') { in inet_pton6()