/external/dnsmasq/src/ |
forward.c | 30 union mysockaddr *to, struct all_addr *source, 113 static unsigned short search_servers(time_t now, struct all_addr **addrpp, 140 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; 143 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; 171 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; 174 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; 205 struct all_addr *dst_addr, unsigned int dst_iface, 210 struct all_addr *addrp = NULL; 352 (struct all_addr *)&start->addr.in.sin_addr, NULL); 356 (struct all_addr *)&start->addr.in6.sin6_addr, NULL) [all...] |
dnsmasq.h | 200 struct all_addr { struct 265 struct all_addr addr; 384 struct all_addr dest; 693 void log_query(unsigned short flags, char *name, struct all_addr *addr, char *arg); 697 struct all_addr *addr, time_t now, 703 struct crec *cache_insert(char *name, struct all_addr *addr, 716 struct all_addr *addrp, unsigned short flags, 792 int iface_check(int family, struct all_addr *addr, char *name, int *indexp);
|
cache.c | 257 static int cache_scan_free(char *name, struct all_addr *addr, time_t now, unsigned short flags) 359 struct crec *cache_insert(char *name, struct all_addr *addr, 579 struct crec *cache_find_by_addr(struct crec *crecp, struct all_addr *addr, 644 static void add_hosts_entry(struct crec *cache, struct all_addr *addr, int addrlen, 759 struct all_addr addr, saved_addr; 1073 if ((crec = cache_find_by_addr(NULL, (struct all_addr *)host_address, 0, F_IPV4))) 1076 cache_scan_free(NULL, (struct all_addr *)host_address, 0, F_IPV4 | F_REVERSE); 1237 void log_query(unsigned short flags, char *name, struct all_addr *addr, char *arg) [all...] |
rfc1035.c | 176 static int in_arpa_name_2_addr(char *namein, struct all_addr *addrp) 186 memset(addrp, 0, sizeof(struct all_addr)); 268 for (j = sizeof(struct all_addr)-1; j>0; j--) 644 struct all_addr addr; 901 struct all_addr *addrp, unsigned short flags, unsigned long ttl) 1134 struct all_addr addr; [all...] |
network.c | 49 int iface_check(int family, struct all_addr *addr, char *name, int *indexp) 177 !iface_check(AF_INET, (struct all_addr *)&addr->in.sin_addr, ifr.ifr_name, NULL)) 186 !iface_check(AF_INET6, (struct all_addr *)&addr->in6.sin6_addr, ifr.ifr_name, NULL)) [all...] |
dhcp.c | 214 if (!iface_check(AF_INET, (struct all_addr *)addrp, ifr.ifr_name, &iface_index)) 971 lookup = cache_find_by_addr(NULL, (struct all_addr *)&addr, 0, F_IPV4);
|
tftp.c | 125 !iface_check(AF_INET, (struct all_addr *)&addr.sin_addr, name, &if_index))
|