Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/ldns/compat/
HDinet_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-11-stable/contrib/unbound/compat/
HDinet_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-11-stable/contrib/tcpdump/
HDstrtoaddr.c28 #ifndef NS_INADDRSZ
29 #define NS_INADDRSZ 4 /* IPv4 T_A */ macro
138 memcpy(dst, &val, NS_INADDRSZ); in strtoaddr()
205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in strtoaddr6()
207 tp += NS_INADDRSZ; in strtoaddr6()
/freebsd-11-stable/contrib/ntp/lib/isc/
HDinet_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-11-stable/sys/libkern/
HDinet_pton.c82 #define NS_INADDRSZ 4 in inet_pton4() macro
83 u_char tmp[NS_INADDRSZ], *tp; in inet_pton4()
114 memcpy(dst, tmp, NS_INADDRSZ); in inet_pton4()
183 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_pton6()
185 tp += NS_INADDRSZ; in inet_pton6()
/freebsd-11-stable/lib/libc/inet/
HDinet_pton.c83 u_char tmp[NS_INADDRSZ], *tp; in inet_pton4()
114 memcpy(dst, tmp, NS_INADDRSZ); in inet_pton4()
181 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_pton6()
183 tp += NS_INADDRSZ; in inet_pton6()
HDinet_cidr_pton.c205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_cidr_pton_ipv6()
207 tp += NS_INADDRSZ; in inet_cidr_pton_ipv6()
HDinet_net_pton.c322 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_net_pton_ipv6()
324 tp += NS_INADDRSZ; in inet_net_pton_ipv6()
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/
HDh_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-11-stable/lib/libc/net/
HDmap_v4v6.c81 memmove(&dst[12], src, NS_INADDRSZ); in _map_v4v6_address()
HDgethostnamadr.c460 he.h_length = NS_INADDRSZ; in fakeaddr()
626 uaddr += NS_IN6ADDRSZ - NS_INADDRSZ; in gethostbyaddr_r()
628 len = NS_INADDRSZ; in gethostbyaddr_r()
633 size = NS_INADDRSZ; in gethostbyaddr_r()
HDgethostbydns.c454 he->h_length = NS_INADDRSZ; in __dns_getanswer()
497 he.h_length = NS_INADDRSZ; in _dns_gethostbyname()
677 if (!memcmp(*haddr, addr, NS_INADDRSZ)) in _dns_gethostbyaddr()
HDgethostbynis.c65 size = NS_INADDRSZ; in _gethostbynis()
/freebsd-11-stable/include/arpa/
HDnameser_compat.h107 #define INADDRSZ NS_INADDRSZ
HDnameser.h89 #define NS_INADDRSZ 4 /*%< IPv4 T_A */ macro
/freebsd-11-stable/lib/libc/resolv/
HDres_findzonecut.c600 ns_rr_rdlen(rr) != NS_INADDRSZ) in save_a()
620 NS_INADDRSZ); in save_a()
/freebsd-11-stable/lib/libc/nameser/
HDns_print.c162 if (rdlen != (size_t)NS_INADDRSZ) in ns_sprintrrf()
427 rdata += NS_INADDRSZ; in ns_sprintrrf()
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_printf.c549 if ((host = gethostbyaddr_r(inetaddr, NS_INADDRSZ, in pfprint_inetaddr()
552 if (gethostbyaddr_r(inetaddr, NS_INADDRSZ, in pfprint_inetaddr()
/freebsd-11-stable/contrib/tnftp/
HDChangeLog440 - Use NS_INADDRSZ, NS_IN6ADDRSZ and NS_INT16SZ instead of