Lines Matching refs:src
42 static const char *inet_ntop4(const unsigned char *src, char *dst,
46 static const char *inet_ntop6(const unsigned char *src, char *dst,
51 * isc_net_ntop(af, src, dst, size)
59 isc_net_ntop(int af, const void *src, char *dst, size_t size)
63 return (inet_ntop4(src, dst, size));
66 return (inet_ntop6(src, dst, size));
76 * inet_ntop4(src, dst, size)
88 inet_ntop4(const unsigned char *src, char *dst, size_t size)
93 if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) >= size)
104 * isc_inet_ntop6(src, dst, size)
111 inet_ntop6(const unsigned char *src, char *dst, size_t size)
128 * Find the longest run of 0x00's in src[] for :: shorthanding.
132 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
175 if (!inet_ntop4(src+12, tp,