Lines Matching defs:infomode
326 static uint8_t infomode;
434 static void infomsg(uint8_t infomode, char *s, ...)
440 if (infomode == LOG_SILENT) return;
451 if (infomode & LOG_SYSTEM) syslog(LOG_INFO, "%s", msg);
452 if (infomode & LOG_CONSOLE) printf("%s\n", msg);
510 if (errno) infomsg(infomode, "config : Invalid num %s",str);
512 infomsg(infomode, "config : Not a valid num %s",str);
545 uint32_t optcode = 0, inf = infomode, convtmp, mask, nip, router;
552 infomode = LOG_SILENT;
554 infomode = inf;
665 infomsg(infomode, "config : static lease : mac not found");
669 infomsg(infomode, "config : static lease : no ip bind to mac %s", tkmac);
677 infomsg(infomode, "config : static lease : mac address wrong format");
1172 infomsg(infomode, "notify file: %s : not exist.", argv[0]);
1473 infomsg(infomode, "can't find free IP in IP Pool.");
1529 infomsg(infomode, "can't find free IP in IPv6 Pool.");
1535 infomsg(infomode, "Assigned IPv6 %02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X",
1617 infomode = LOG_CONSOLE;
1620 infomode = LOG_SILENT;
1624 infomode |= LOG_SYSTEM;
1629 infomsg(infomode, "toybox dhcpd started");
1715 infomsg(infomode, "Received SIGUSR1");
1719 infomsg(infomode, "received sigterm");