/freebsd/contrib/unbound/compat/ |
H A D | inet_pton.c | 46 #ifndef NS_INADDRSZ 47 #define NS_INADDRSZ 4 macro 100 uint8_t tmp[NS_INADDRSZ], *tp; 130 memcpy(dst, tmp, NS_INADDRSZ); 198 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 200 tp += NS_INADDRSZ;
|
/freebsd/contrib/ldns/compat/ |
H A D | inet_pton.c | 46 #ifndef NS_INADDRSZ 47 #define NS_INADDRSZ 4 macro 100 uint8_t tmp[NS_INADDRSZ], *tp; 130 memcpy(dst, tmp, NS_INADDRSZ); 198 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 200 tp += NS_INADDRSZ;
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | inet_pton.c | 35 #define NS_INADDRSZ 4 macro 86 unsigned char tmp[NS_INADDRSZ], *tp; in inet_pton4() 117 memcpy(dst, tmp, NS_INADDRSZ); in inet_pton4() 181 if (ch == '.' && (NS_INADDRSZ <= endp - tp) && in inet_pton6() 183 tp += NS_INADDRSZ; in inet_pton6()
|
/freebsd/sys/libkern/ |
H A D | inet_pton.c | 72 #define NS_INADDRSZ 4 in inet_pton4() macro 73 u_char tmp[NS_INADDRSZ], *tp; in inet_pton4() 104 memcpy(dst, tmp, NS_INADDRSZ); in inet_pton4() 173 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_pton6() 175 tp += NS_INADDRSZ; in inet_pton6()
|
/freebsd/contrib/tcpdump/ |
H A D | strtoaddr.c | 28 #ifndef NS_INADDRSZ 29 #define NS_INADDRSZ 4 /* IPv4 T_A */ macro 132 memcpy(dst, &val, NS_INADDRSZ); in strtoaddr() 199 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in strtoaddr6() 201 tp += NS_INADDRSZ; in strtoaddr6()
|
/freebsd/lib/libc/inet/ |
H A D | inet_pton.c | 79 u_char tmp[NS_INADDRSZ], *tp; in inet_pton4() 110 memcpy(dst, tmp, NS_INADDRSZ); in inet_pton4() 177 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_pton6() 179 tp += NS_INADDRSZ; in inet_pton6()
|
H A D | inet_cidr_pton.c | 200 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_cidr_pton_ipv6() 202 tp += NS_INADDRSZ; in inet_cidr_pton_ipv6()
|
H A D | inet_net_pton.c | 318 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_net_pton_ipv6() 320 tp += NS_INADDRSZ; in inet_net_pton_ipv6()
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_hostent.c | 57 const int af = h->h_length == NS_INADDRSZ ? AF_INET : AF_INET6; in phostent() 180 len = af == AF_INET ? NS_INADDRSZ : NS_IN6ADDRSZ; in main()
|
/freebsd/lib/libc/net/ |
H A D | map_v4v6.c | 77 memmove(&dst[12], src, NS_INADDRSZ); in _map_v4v6_address()
|
H A D | gethostnamadr.c | 459 he.h_length = NS_INADDRSZ; in fakeaddr() 625 uaddr += NS_IN6ADDRSZ - NS_INADDRSZ; in gethostbyaddr_r() 627 len = NS_INADDRSZ; in gethostbyaddr_r() 632 size = NS_INADDRSZ; in gethostbyaddr_r()
|
H A D | gethostbydns.c | 452 he->h_length = NS_INADDRSZ; in __dns_getanswer() 495 he.h_length = NS_INADDRSZ; in _dns_gethostbyname() 675 if (!memcmp(*haddr, addr, NS_INADDRSZ)) in _dns_gethostbyaddr()
|
H A D | gethostbynis.c | 64 size = NS_INADDRSZ; in _gethostbynis()
|
/freebsd/include/arpa/ |
H A D | nameser_compat.h | 109 #define INADDRSZ NS_INADDRSZ
|
H A D | nameser.h | 90 #define NS_INADDRSZ 4 /*%< IPv4 T_A */ macro
|
/freebsd/lib/libc/resolv/ |
H A D | res_findzonecut.c | 596 ns_rr_rdlen(rr) != NS_INADDRSZ) in save_a() 616 NS_INADDRSZ); in save_a()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_printf.c | 56 #ifndef NS_INADDRSZ 57 #define NS_INADDRSZ 4 macro 555 if ((host = gethostbyaddr_r(inetaddr, NS_INADDRSZ, in pfprint_inetaddr() 558 if (gethostbyaddr_r(inetaddr, NS_INADDRSZ, in pfprint_inetaddr()
|
/freebsd/lib/libc/nameser/ |
H A D | ns_print.c | 158 if (rdlen != (size_t)NS_INADDRSZ) in ns_sprintrrf() 423 rdata += NS_INADDRSZ; in ns_sprintrrf()
|
/freebsd/contrib/tnftp/ |
H A D | ChangeLog | 440 - Use NS_INADDRSZ, NS_IN6ADDRSZ and NS_INT16SZ instead of
|