Lines Matching defs:src
35 static char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
36 static char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
39 * inet_ntop(af, src, dst, size)
47 inet_ntop(int af, const void *src, char *dst, socklen_t size)
51 return (inet_ntop4(src, dst, size));
53 return (inet_ntop6(src, dst, size));
61 * inet_ntop4(src, dst, size)
72 inet_ntop4(const u_char *src, char *dst, socklen_t size)
78 l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
87 * inet_ntop6(src, dst, size)
93 inet_ntop6(const u_char *src, char *dst, socklen_t size)
112 * Find the longest run of 0x00's in src[] for :: shorthanding.
116 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
161 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)))