Lines Matching defs:src
49 static const char *inet_ntop4(const u_char *src, char *dst, size_t size);
50 static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
53 * inet_ntop(af, src, dst, size)
61 inet_ntop(int af, const void *src, char *dst, size_t size)
65 return (inet_ntop4(src, dst, size));
67 return (inet_ntop6(src, dst, size));
80 * inet_ntop4(src, dst, size)
91 inet_ntop4(const u_char *src, char *dst, size_t size)
97 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]);
107 * inet_ntop6(src, dst, size)
113 inet_ntop6(const u_char *src, char *dst, size_t size)
132 * Find the longest run of 0x00's in src[] for :: shorthanding.
136 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
187 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp)))