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
73 daemon->max_logs = 0; in log_start()
76 max_logs = daemon->max_logs; in log_start()
86 if (max_logs == 0) in log_start()
131 if (max_logs != 0 && (flags = fcntl(log_fd, F_GETFL)) != -1) in log_reopen()
319 else if (entries_alloced < max_logs && (entry = malloc(sizeof(struct log_entry)))) in my_syslog()
372 if (entries && max_logs != 0) in my_syslog()
378 if (d == max_logs) in my_syslog()
380 else if (max_logs > 8) in my_syslog()
381 d -= max_logs - 8; in my_syslog()
Ddnsmasq.c142 if (daemon->max_logs != 0) in main()
466 if (daemon->max_logs != 0) in main()
467 …_syslog(LOG_INFO, _("asynchronous logging enabled, queue limit is %d messages"), daemon->max_logs); in main()
Doption.c1543 daemon->max_logs = LOG_MAX; /* default */ in one_opt()
1544 if (arg && !atoi_check(arg, &daemon->max_logs)) in one_opt()
1546 else if (daemon->max_logs > 100) in one_opt()
1547 daemon->max_logs = 100; in one_opt()
Ddnsmasq.h605 int max_logs; /* queue limit */ member