Home
last modified time | relevance | path

Searched refs:INADDRSZ (Results 1 – 8 of 8) sorted by relevance

/external/curl/lib/
Dinet_pton.c36 #define INADDRSZ 4 macro
97 unsigned char tmp[INADDRSZ], *tp; in inet_pton4()
131 memcpy(dst, tmp, INADDRSZ); in inet_pton4()
197 if(ch == '.' && ((tp + INADDRSZ) <= endp) && in inet_pton6()
199 tp += INADDRSZ; in inet_pton6()
Dinet_ntop.c39 #define INADDRSZ 4 macro
/external/dnsmasq/src/
Drfc2131.c194 if ((option_find(mess, sz, OPTION_REQUESTED_IP, INADDRSZ) || mess_type == DHCPDISCOVER)) in dhcp_reply()
215 …ption_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SUBNET_SELECT, INADDRSZ))) in dhcp_reply()
219 … = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, INADDRSZ))) in dhcp_reply()
248 if (subnet_addr.s_addr == 0 && (opt = option_find(mess, sz, OPTION_SUBNET_SELECT, INADDRSZ))) in dhcp_reply()
761 option_put(mess, end, OPTION_SERVER_IDENTIFIER, INADDRSZ, htonl(context->local.s_addr)); in dhcp_reply()
809 option_put(mess, end, OPTION_SERVER_IDENTIFIER, INADDRSZ, htonl(context->local.s_addr)); in dhcp_reply()
834 if (!(opt = option_find(mess, sz, OPTION_SERVER_IDENTIFIER, INADDRSZ)) || in dhcp_reply()
841 if (!(opt = option_find(mess, sz, OPTION_REQUESTED_IP, INADDRSZ))) in dhcp_reply()
867 !(opt = option_find(mess, sz, OPTION_SERVER_IDENTIFIER, INADDRSZ)) || in dhcp_reply()
892 if ((opt = option_find(mess, sz, OPTION_REQUESTED_IP, INADDRSZ))) in dhcp_reply()
[all …]
Drfc1035.c550 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) in do_doctor()
554 memcpy(&addr, p, INADDRSZ); in do_doctor()
571 memcpy(p, &addr, INADDRSZ); in do_doctor()
751 addrlen = INADDRSZ; in extract_addresses()
1001 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) in check_for_bogus_wildcard()
1005 if (memcmp(&baddrp->addr, p, INADDRSZ) == 0) in check_for_bogus_wildcard()
1060 memcpy(p, sval, INADDRSZ); in add_resource_record()
1061 p += INADDRSZ; in add_resource_record()
Dcache.c303 int addrlen = (flags & F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_scan_free()
305 int addrlen = INADDRSZ; in cache_scan_free()
584 int addrlen = (prot == F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_find_by_addr()
586 int addrlen = INADDRSZ; in cache_find_by_addr()
779 addrlen = INADDRSZ; in read_hostsfile()
792 addrlen = INADDRSZ; in read_hostsfile()
Dnameser.h109 #define INADDRSZ 4 /* IPv4 T_A */ macro
Doption.c855 memcpy(op, &in, INADDRSZ); in parse_dhcp_opt()
856 op += INADDRSZ; in parse_dhcp_opt()
/external/ltp/testcases/network/multicast/mc_gethost/
Dmc_gethost.c33 int size = INADDRSZ;