/bionic/libc/upstream-openbsd/lib/libc/net/ |
inet_pton.c | 77 u_char tmp[INADDRSZ], *tp; 107 memcpy(dst, tmp, INADDRSZ); 178 if (ch == '.' && ((tp + INADDRSZ) <= endp) && 180 tp += INADDRSZ;
|
/external/dnsmasq/src/ |
rfc2131.c | 194 if ((option_find(mess, sz, OPTION_REQUESTED_IP, INADDRSZ) || mess_type == DHCPDISCOVER)) 215 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SUBNET_SELECT, INADDRSZ))) 219 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, INADDRSZ))) 248 if (subnet_addr.s_addr == 0 && (opt = option_find(mess, sz, OPTION_SUBNET_SELECT, INADDRSZ))) 761 option_put(mess, end, OPTION_SERVER_IDENTIFIER, INADDRSZ, htonl(context->local.s_addr)); 809 option_put(mess, end, OPTION_SERVER_IDENTIFIER, INADDRSZ, htonl(context->local.s_addr)); 834 if (!(opt = option_find(mess, sz, OPTION_SERVER_IDENTIFIER, INADDRSZ)) || 841 if (!(opt = option_find(mess, sz, OPTION_REQUESTED_IP, INADDRSZ))) 867 !(opt = option_find(mess, sz, OPTION_SERVER_IDENTIFIER, INADDRSZ)) || 892 if ((opt = option_find(mess, sz, OPTION_REQUESTED_IP, INADDRSZ))) [all...] |
nameser.h | 109 #define INADDRSZ 4 /* IPv4 T_A */
|
rfc1035.c | 548 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) 552 memcpy(&addr, p, INADDRSZ); 569 memcpy(p, &addr, INADDRSZ); 749 addrlen = INADDRSZ; 999 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) 1003 if (memcmp(&baddrp->addr, p, INADDRSZ) == 0) 1058 memcpy(p, sval, INADDRSZ); 1059 p += INADDRSZ; [all...] |
cache.c | 303 int addrlen = (flags & F_IPV6) ? IN6ADDRSZ : INADDRSZ; 305 int addrlen = INADDRSZ; 584 int addrlen = (prot == F_IPV6) ? IN6ADDRSZ : INADDRSZ; 586 int addrlen = INADDRSZ; 779 addrlen = INADDRSZ; 792 addrlen = INADDRSZ; [all...] |
option.c | 851 memcpy(op, &in, INADDRSZ); 852 op += INADDRSZ; [all...] |
/bionic/libc/include/arpa/ |
nameser_compat.h | 148 #define INADDRSZ NS_INADDRSZ
|
/development/ndk/platforms/android-L/include/arpa/ |
nameser_compat.h | 148 #define INADDRSZ NS_INADDRSZ
|
/external/libpcap/Win32/Include/arpa/ |
nameser.h | 100 #define INADDRSZ 4 /* for sizeof(struct inaddr) != 4 */
|
/bionic/libc/dns/ |
gethnamaddr.c | 644 size = INADDRSZ; 959 len = INADDRSZ; 1159 char tmp[INADDRSZ]; 1166 (void)memcpy(tmp, src, INADDRSZ); 1173 (void)memcpy((void *)p, tmp, INADDRSZ); 1185 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | [all...] |