Home
last modified time | relevance | path

Searched refs:NS_INADDRSZ (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/unbound/compat/
H A Dinet_pton.c46 #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 Dinet_pton.c46 #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 Dinet_pton.c35 #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 Dinet_pton.c72 #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 Dstrtoaddr.c28 #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 Dinet_pton.c79 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 Dinet_cidr_pton.c200 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_cidr_pton_ipv6()
202 tp += NS_INADDRSZ; in inet_cidr_pton_ipv6()
H A Dinet_net_pton.c318 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 Dh_hostent.c57 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 Dmap_v4v6.c77 memmove(&dst[12], src, NS_INADDRSZ); in _map_v4v6_address()
H A Dgethostnamadr.c459 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 Dgethostbydns.c452 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 Dgethostbynis.c64 size = NS_INADDRSZ; in _gethostbynis()
/freebsd/include/arpa/
H A Dnameser_compat.h109 #define INADDRSZ NS_INADDRSZ
H A Dnameser.h90 #define NS_INADDRSZ 4 /*%< IPv4 T_A */ macro
/freebsd/lib/libc/resolv/
H A Dres_findzonecut.c596 ns_rr_rdlen(rr) != NS_INADDRSZ) in save_a()
616 NS_INADDRSZ); in save_a()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c56 #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 Dns_print.c158 if (rdlen != (size_t)NS_INADDRSZ) in ns_sprintrrf()
423 rdata += NS_INADDRSZ; in ns_sprintrrf()
/freebsd/contrib/tnftp/
H A DChangeLog440 - Use NS_INADDRSZ, NS_IN6ADDRSZ and NS_INT16SZ instead of