• Home
  • Raw
  • Download

Lines Matching refs:infomode

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