Lines Matching refs:dst
37 static int inet_pton4(const char *src, uchar_t *dst);
38 static int inet_pton6(const char *src, uchar_t *dst);
42 * inet_pton(af, src, dst)
47 * 0 if the address wasn't valid (`dst' is untouched in this case)
48 * -1 if some other error occurred (`dst' is untouched in this case, too)
53 inet_pton(int af, const char *src, void *dst)
57 return (inet_pton4(src, dst));
59 return (inet_pton6(src, dst));
69 * inet_pton4(src, dst)
74 * does not touch `dst' unless it's returning 1.
82 inet_pton4(const char *src, uchar_t *dst)
116 (void) memcpy(dst, tmp, INADDRSZ);
123 * inet_pton6(src, dst)
128 * (1) does not touch `dst' unless it's returning 1.
137 inet_pton6(const char *src, uchar_t *dst)
219 (void) memcpy(dst, tmp, IN6ADDRSZ);