| /freebsd-11-stable/contrib/ldns/compat/ |
| HD | 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-11-stable/contrib/unbound/compat/ |
| HD | 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-11-stable/contrib/tcpdump/ |
| HD | strtoaddr.c | 28 #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/ |
| HD | 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-11-stable/sys/libkern/ |
| HD | inet_pton.c | 82 #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/ |
| HD | inet_pton.c | 83 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()
|
| HD | inet_cidr_pton.c | 205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_cidr_pton_ipv6() 207 tp += NS_INADDRSZ; in inet_cidr_pton_ipv6()
|
| HD | inet_net_pton.c | 322 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/ |
| HD | 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-11-stable/lib/libc/net/ |
| HD | map_v4v6.c | 81 memmove(&dst[12], src, NS_INADDRSZ); in _map_v4v6_address()
|
| HD | gethostnamadr.c | 460 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()
|
| HD | gethostbydns.c | 454 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()
|
| HD | gethostbynis.c | 65 size = NS_INADDRSZ; in _gethostbynis()
|
| /freebsd-11-stable/include/arpa/ |
| HD | nameser_compat.h | 107 #define INADDRSZ NS_INADDRSZ
|
| HD | nameser.h | 89 #define NS_INADDRSZ 4 /*%< IPv4 T_A */ macro
|
| /freebsd-11-stable/lib/libc/resolv/ |
| HD | res_findzonecut.c | 600 ns_rr_rdlen(rr) != NS_INADDRSZ) in save_a() 620 NS_INADDRSZ); in save_a()
|
| /freebsd-11-stable/lib/libc/nameser/ |
| HD | ns_print.c | 162 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/ |
| HD | dt_printf.c | 549 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/ |
| HD | ChangeLog | 440 - Use NS_INADDRSZ, NS_IN6ADDRSZ and NS_INT16SZ instead of
|