Lines Matching defs:size
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)
79 if (l <= 0 || (socklen_t) l >= size) {
82 strlcpy(dst, tmp, size);
87 * inet_ntop6(src, dst, size)
93 inet_ntop6(const u_char *src, char *dst, socklen_t size)
97 * to contain a value of the specified size. On some systems, like
177 if ((socklen_t)(tp - tmp) > size) {