Searched refs:NS_INADDRSZ (Results 1 - 18 of 18) sorted by relevance

/freebsd-head/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-head/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-head/contrib/tcpdump/
H A Dstrtoaddr.c28 #ifndef NS_INADDRSZ
29 #define NS_INADDRSZ 4 /* IPv4 T_A */ macro
138 memcpy(dst, &val, NS_INADDRSZ);
205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
207 tp += NS_INADDRSZ;
/freebsd-head/contrib/ntp/lib/isc/
H A Dinet_pton.c35 #define NS_INADDRSZ 4 macro
86 unsigned char tmp[NS_INADDRSZ], *tp;
117 memcpy(dst, tmp, NS_INADDRSZ);
181 if (ch == '.' && (NS_INADDRSZ <= endp - tp) &&
183 tp += NS_INADDRSZ;
/freebsd-head/sys/libkern/
H A Dinet_pton.c78 #define NS_INADDRSZ 4 macro
79 u_char tmp[NS_INADDRSZ], *tp;
110 memcpy(dst, tmp, NS_INADDRSZ);
179 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
181 tp += NS_INADDRSZ;
/freebsd-head/lib/libc/inet/
H A Dinet_pton.c85 u_char tmp[NS_INADDRSZ], *tp;
116 memcpy(dst, tmp, NS_INADDRSZ);
183 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
185 tp += NS_INADDRSZ;
H A Dinet_cidr_pton.c206 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
208 tp += NS_INADDRSZ;
H A Dinet_net_pton.c324 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
326 tp += NS_INADDRSZ;
/freebsd-head/lib/libc/net/
H A Dmap_v4v6.c83 memmove(&dst[12], src, NS_INADDRSZ);
H A Dgethostnamadr.c462 he.h_length = NS_INADDRSZ;
628 uaddr += NS_IN6ADDRSZ - NS_INADDRSZ;
630 len = NS_INADDRSZ;
635 size = NS_INADDRSZ;
H A Dgethostbydns.c456 he->h_length = NS_INADDRSZ;
499 he.h_length = NS_INADDRSZ;
679 if (!memcmp(*haddr, addr, NS_INADDRSZ))
H A Dgethostbynis.c67 size = NS_INADDRSZ;
/freebsd-head/contrib/netbsd-tests/lib/libc/net/
H A Dh_hostent.c57 const int af = h->h_length == NS_INADDRSZ ? AF_INET : AF_INET6;
180 len = af == AF_INET ? NS_INADDRSZ : NS_IN6ADDRSZ;
/freebsd-head/include/arpa/
H A Dnameser_compat.h110 #define INADDRSZ NS_INADDRSZ
H A Dnameser.h91 #define NS_INADDRSZ 4 /*%< IPv4 T_A */ macro
/freebsd-head/lib/libc/resolv/
H A Dres_findzonecut.c602 ns_rr_rdlen(rr) != NS_INADDRSZ)
622 NS_INADDRSZ);
/freebsd-head/lib/libc/nameser/
H A Dns_print.c164 if (rdlen != (size_t)NS_INADDRSZ)
429 rdata += NS_INADDRSZ;
/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c549 if ((host = gethostbyaddr_r(inetaddr, NS_INADDRSZ,
552 if (gethostbyaddr_r(inetaddr, NS_INADDRSZ,

Completed in 323 milliseconds