Lines Matching refs:dst
30 static int inet_pton4 (const char *src, uint8_t *dst);
31 static int inet_pton6 (const char *src, uint8_t *dst);
51 * inet_pton(af, src, dst)
56 * 0 if the address wasn't valid (`dst' is untouched in this case)
57 * -1 if some other error occurred (`dst' is untouched in this case, too)
62 inet_pton(af, src, dst)
65 void *dst;
69 return (inet_pton4(src, dst));
71 return (inet_pton6(src, dst));
80 * inet_pton4(src, dst)
85 * does not touch `dst' unless it's returning 1.
90 inet_pton4(src, dst)
92 uint8_t *dst;
126 memcpy(dst, tmp, NS_INADDRSZ);
131 * inet_pton6(src, dst)
136 * (1) does not touch `dst' unless it's returning 1.
144 inet_pton6(src, dst)
146 uint8_t *dst;
224 memcpy(dst, tmp, NS_IN6ADDRSZ);