Lines Matching defs:dst
44 static int inet_pton4(const char *src, unsigned char *dst);
45 static int inet_pton6(const char *src, unsigned char *dst);
52 * 0 if the address wasn't valid (`dst' is untouched in this case)
53 * -1 if some other error occurred (`dst' is untouched in this case, too)
58 isc_net_pton(int af, const char *src, void *dst) {
61 return (inet_pton4(src, dst));
63 return (inet_pton6(src, dst));
71 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
77 * does not touch `dst' unless it's returning 1.
82 inet_pton4(const char *src, unsigned char *dst) {
116 memmove(dst, tmp, NS_INADDRSZ);
125 * (1) does not touch `dst' unless it's returning 1.
134 inet_pton6(const char *src, unsigned char *dst) {
212 memmove(dst, tmp, NS_IN6ADDRSZ);