/external/dropbear/ |
cli-kex.c | 151 FILE * hostsfile = NULL; local 182 hostsfile = fopen(filename, "a+"); 184 if (hostsfile != NULL) { 186 fseek(hostsfile, 0, SEEK_SET); 192 hostsfile = fopen(filename, "r"); 197 if (hostsfile == NULL) { 198 TRACE(("hostsfile didn't open: %s", strerror(errno))) 206 return hostsfile; 211 FILE *hostsfile = NULL; local 220 hostsfile = open_known_hosts_file(&readonly) 319 fwrite(buf_getptr(line, line->len), line->len, 1, hostsfile); local [all...] |
/external/dnsmasq/src/ |
cache.c | 872 struct hostsfile *ah; 907 total_size = read_hostsfile(HOSTSFILE, 0, total_size); 941 struct hostsfile *ah1; 971 if (!(ah1 = whine_malloc(sizeof(struct hostsfile)))) 1215 struct hostsfile *ah; 1218 return HOSTSFILE; [all...] |
dnsmasq.h | 373 struct hostsfile { struct 374 struct hostsfile *next; 627 struct hostsfile *addn_hosts;
|
option.c | 195 { "dhcp-hostsfile", 1, 0, LOPT_DHCP_HOST }, 244 { 'h', OPT_NO_HOSTS, NULL, gettext_noop("Do NOT load %s file."), HOSTSFILE }, 245 { 'H', ARG_DUP, "path", gettext_noop("Specify a hosts file to be read in addition to %s."), HOSTSFILE }, [all...] |