Lines Matching defs:size
46 static const char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
47 static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
50 * inet_ntop(af, src, dst, size)
59 socklen_t size)
63 return (inet_ntop4(src, dst, size));
65 return (inet_ntop6(src, dst, size));
74 * inet_ntop4(src, dst, size)
85 inet_ntop4(const u_char *src, char *dst, socklen_t size)
92 if (l <= 0 || (socklen_t) l >= size) {
96 strlcpy(dst, tmp, size);
101 * inet_ntop6(src, dst, size)
107 inet_ntop6(const u_char *src, char *dst, socklen_t size)
111 * to contain a value of the specified size. On some systems, like
191 if ((socklen_t)(tp - tmp) > size) {