Lines Matching defs:size
44 static const char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
45 static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
48 * inet_ntop(af, src, dst, size)
57 socklen_t size)
61 return (inet_ntop4(src, dst, size));
63 return (inet_ntop6(src, dst, size));
72 * inet_ntop4(src, dst, size)
83 inet_ntop4(const u_char *src, char *dst, socklen_t size)
90 if (l <= 0 || (socklen_t) l >= size) {
94 strlcpy(dst, tmp, size);
99 * inet_ntop6(src, dst, size)
105 inet_ntop6(const u_char *src, char *dst, socklen_t size)
109 * to contain a value of the specified size. On some systems, like
189 if ((socklen_t)(tp - tmp) > size) {