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 * lwres_net_ntop(af, src, dst, size)
59 lwres_net_ntop(int af, const void *src, char *dst, size_t size) {
62 return (inet_ntop4(src, dst, size));
65 return (inet_ntop6(src, dst, size));
75 * inet_ntop4(src, dst, size)
86 inet_ntop4(const unsigned char *src, char *dst, size_t size) {
91 len = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
102 * inet_ntop6(src, dst, size)
109 inet_ntop6(const unsigned char *src, char *dst, size_t size) {
125 * Find the longest run of 0x00's in src[] for :: shorthanding.
129 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
173 if (!inet_ntop4(src+12, tp,