Lines Matching refs:src
33 static const char *inet_ntop4(const unsigned char *src, char *dst,
37 static const char *inet_ntop6(const unsigned char *src, char *dst,
42 * lwres_net_ntop(af, src, dst, size)
50 lwres_net_ntop(int af, const void *src, char *dst, size_t size) {
53 return (inet_ntop4(src, dst, size));
56 return (inet_ntop6(src, dst, size));
66 * inet_ntop4(src, dst, size)
77 inet_ntop4(const unsigned char *src, char *dst, size_t size) {
82 len = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
93 * inet_ntop6(src, dst, size)
100 inet_ntop6(const unsigned char *src, char *dst, size_t size) {
116 * Find the longest run of 0x00's in src[] for :: shorthanding.
120 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
164 if (!inet_ntop4(src+12, tp,