Lines Matching defs:src
33 static char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
34 static char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
37 * inet_ntop(af, src, dst, size)
45 inet_ntop(int af, const void *src, char *dst, socklen_t size)
49 return (inet_ntop4(src, dst, size));
51 return (inet_ntop6(src, dst, size));
59 * inet_ntop4(src, dst, size)
70 inet_ntop4(const u_char *src, char *dst, socklen_t size)
76 l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
85 * inet_ntop6(src, dst, size)
91 inet_ntop6(const u_char *src, char *dst, socklen_t size)
110 * Find the longest run of 0x00's in src[] for :: shorthanding.
114 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
159 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)))