Lines Matching refs:src
35 static const char *inet_ntop4(const unsigned char *src, char *dst,
39 static const char *inet_ntop6(const unsigned char *src, char *dst,
44 * isc_net_ntop(af, src, dst, size)
52 isc_net_ntop(int af, const void *src, char *dst, size_t size)
56 return (inet_ntop4(src, dst, size));
59 return (inet_ntop6(src, dst, size));
69 * inet_ntop4(src, dst, size)
81 inet_ntop4(const unsigned char *src, char *dst, size_t size)
88 n = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
99 * isc_inet_ntop6(src, dst, size)
106 inet_ntop6(const unsigned char *src, char *dst, size_t size)
123 * Find the longest run of 0x00's in src[] for :: shorthanding.
127 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
172 if (!inet_ntop4(src+12, tp,