Lines Matching refs:dst
35 static int inet_pton4(const char *src, unsigned char *dst);
36 static int inet_pton6(const char *src, unsigned char *dst);
43 * 0 if the address wasn't valid (`dst' is untouched in this case)
44 * -1 if some other error occurred (`dst' is untouched in this case, too)
49 isc_net_pton(int af, const char *src, void *dst) {
52 return (inet_pton4(src, dst));
54 return (inet_pton6(src, dst));
62 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
68 * does not touch `dst' unless it's returning 1.
73 inet_pton4(const char *src, unsigned char *dst) {
108 memmove(dst, tmp, NS_INADDRSZ);
117 * (1) does not touch `dst' unless it's returning 1.
126 inet_pton6(const char *src, unsigned char *dst) {
204 memmove(dst, tmp, NS_IN6ADDRSZ);