Lines Matching refs:dst
62 static int inet_pton4 __P((const char *src, unsigned char *dst));
64 static int inet_pton6 __P((const char *src, unsigned char *dst));
68 * inet_pton(af, src, dst)
73 * 0 if the address wasn't valid (`dst' is untouched in this case)
74 * -1 if some other error occurred (`dst' is untouched in this case, too)
79 apr_inet_pton(int af, const char *src, void *dst)
83 return (inet_pton4(src, dst));
86 return (inet_pton6(src, dst));
96 * inet_pton4(src, dst)
101 * does not touch `dst' unless it's returning 1.
106 inet_pton4(const char *src, unsigned char *dst)
140 memcpy(dst, tmp, INADDRSZ);
146 * inet_pton6(src, dst)
151 * (1) does not touch `dst' unless it's returning 1.
159 inet_pton6(const char *src, unsigned char *dst)
237 memcpy(dst, tmp, IN6ADDRSZ);