Home
last modified time | relevance | path

Searched refs:max_logs (Results 1 – 4 of 4) sorted by relevance

/external/dnsmasq/src/
Dlog.c43 static int max_logs = 0; variable
69 daemon->max_logs = 0; in log_start()
72 max_logs = daemon->max_logs; in log_start()
81 if (max_logs == 0) { in log_start()
117 if (max_logs != 0 && (flags = fcntl(log_fd, F_GETFL)) != -1) in log_reopen()
273 else if (entries_alloced < max_logs && (entry = malloc(sizeof(struct log_entry)))) in my_syslog()
323 if (entries && max_logs != 0) { in my_syslog()
329 if (d == max_logs) in my_syslog()
331 else if (max_logs > 8) in my_syslog()
332 d -= max_logs - 8; in my_syslog()
Ddnsmasq.c439 if (daemon->max_logs != 0) in main()
441 daemon->max_logs); in main()
Doption.c1386 daemon->max_logs = LOG_MAX; /* default */ in one_opt()
1387 if (arg && !atoi_check(arg, &daemon->max_logs)) in one_opt()
1389 else if (daemon->max_logs > 100) in one_opt()
1390 daemon->max_logs = 100; in one_opt()
Ddnsmasq.h597 int max_logs; /* queue limit */ member