Searched refs:all_addr (Results 1 – 7 of 7) sorted by relevance
/external/dnsmasq/src/ |
D | forward.c | 30 union mysockaddr *to, struct all_addr *source, in send_from() 113 static unsigned short search_servers(time_t now, struct all_addr **addrpp, in search_servers() 140 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; in search_servers() 143 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; in search_servers() 171 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; in search_servers() 174 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; in search_servers() 205 struct all_addr *dst_addr, unsigned int dst_iface, in forward_query() 210 struct all_addr *addrp = NULL; in forward_query() 352 (struct all_addr *)&start->addr.in.sin_addr, NULL); in forward_query() 356 (struct all_addr *)&start->addr.in6.sin6_addr, NULL); in forward_query() [all …]
|
D | dnsmasq.h | 200 struct all_addr { struct 265 struct all_addr addr; 384 struct all_addr dest; 662 void log_query(unsigned short flags, char *name, struct all_addr *addr, char *arg); 666 struct all_addr *addr, time_t now, 672 struct crec *cache_insert(char *name, struct all_addr *addr, 685 struct all_addr *addrp, unsigned short flags, 762 int iface_check(int family, struct all_addr *addr, char *name, int *indexp);
|
D | cache.c | 257 static int cache_scan_free(char *name, struct all_addr *addr, time_t now, unsigned short flags) in cache_scan_free() 359 struct crec *cache_insert(char *name, struct all_addr *addr, in cache_insert() 579 struct crec *cache_find_by_addr(struct crec *crecp, struct all_addr *addr, in cache_find_by_addr() 644 static void add_hosts_entry(struct crec *cache, struct all_addr *addr, int addrlen, in add_hosts_entry() 759 struct all_addr addr, saved_addr; in read_hostsfile() 1073 if ((crec = cache_find_by_addr(NULL, (struct all_addr *)host_address, 0, F_IPV4))) in cache_add_dhcp_entry() 1076 cache_scan_free(NULL, (struct all_addr *)host_address, 0, F_IPV4 | F_REVERSE); in cache_add_dhcp_entry() 1237 void log_query(unsigned short flags, char *name, struct all_addr *addr, char *arg) in log_query()
|
D | rfc1035.c | 176 static int in_arpa_name_2_addr(char *namein, struct all_addr *addrp) in in_arpa_name_2_addr() 186 memset(addrp, 0, sizeof(struct all_addr)); in in_arpa_name_2_addr() 270 for (j = sizeof(struct all_addr)-1; j>0; j--) in in_arpa_name_2_addr() 646 struct all_addr addr; in extract_addresses() 903 struct all_addr *addrp, unsigned short flags, unsigned long ttl) in setup_reply() 1136 struct all_addr addr; in answer_request()
|
D | network.c | 51 int iface_check(int family, struct all_addr *addr, char *name, int *indexp) in iface_check() 181 !iface_check(AF_INET, (struct all_addr *)&addr->in.sin_addr, ifr.ifr_name, NULL)) in iface_allowed() 191 !iface_check(AF_INET6, (struct all_addr *)&addr->in6.sin6_addr, ifr.ifr_name, &ifindex)) in iface_allowed()
|
D | dhcp.c | 219 if (!iface_check(AF_INET, (struct all_addr *)addrp, ifr.ifr_name, &iface_index)) in dhcp_packet() 976 lookup = cache_find_by_addr(NULL, (struct all_addr *)&addr, 0, F_IPV4); in host_from_dns()
|
/external/dnsmasq/contrib/try-all-ns/ |
D | dnsmasq-2.35-try-all-ns.patch | 10 struct all_addr {
|