Lines Matching refs:src
57 static const char *inet_ntop4(const u_char *src, char *dst, size_t size);
58 static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
61 * inet_ntop(af, src, dst, size)
69 inet_ntop(af, src, dst, size)
71 const void *src;
77 return (inet_ntop4(src, dst, size));
79 return (inet_ntop6(src, dst, size));
88 * inet_ntop4(src, dst, size)
99 inet_ntop4(src, dst, size)
100 const u_char *src;
108 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]);
118 * inet_ntop6(src, dst, size)
124 inet_ntop6(src, dst, size)
125 const u_char *src;
146 * Find the longest run of 0x00's in src[] for :: shorthanding.
150 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
199 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp)))