Searched refs:INADDRSZ (Results 1 – 6 of 6) sorted by relevance
/external/dnsmasq/src/ |
D | rfc2131.c | 194 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 …]
|
D | rfc1035.c | 548 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) in do_doctor() 552 memcpy(&addr, p, INADDRSZ); in do_doctor() 569 memcpy(p, &addr, INADDRSZ); in do_doctor() 749 addrlen = INADDRSZ; in extract_addresses() 999 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) in check_for_bogus_wildcard() 1003 if (memcmp(&baddrp->addr, p, INADDRSZ) == 0) in check_for_bogus_wildcard() 1058 memcpy(p, sval, INADDRSZ); in add_resource_record() 1059 p += INADDRSZ; in add_resource_record()
|
D | cache.c | 303 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()
|
D | nameser.h | 109 #define INADDRSZ 4 /* IPv4 T_A */ macro
|
D | option.c | 851 memcpy(op, &in, INADDRSZ); in parse_dhcp_opt() 852 op += INADDRSZ; in parse_dhcp_opt()
|
/external/libpcap/Win32/Include/arpa/ |
D | nameser.h | 100 #define INADDRSZ 4 /* for sizeof(struct inaddr) != 4 */ macro
|