Searched refs:infomode (Results 1 - 3 of 3) sorted by relevance

/external/toybox/toys/pending/
H A Ddhcp.c200 uint8_t infomode = LOG_CONSOLE; variable
319 static void infomsg(uint8_t infomode, char *s, ...) argument
325 if (infomode == LOG_SILENT) return;
336 if (infomode & LOG_SYSTEM) syslog(LOG_INFO, "%s", msg);
337 if (infomode & LOG_CONSOLE) printf("%s\n", msg);
1211 infomsg(infomode, "Performing a DHCP renew");
1244 infomsg( infomode, "Unicasting a release of %s to %s", inet_ntoa(temp_addr), buffer);
1248 infomsg(infomode, "Entering released state");
1284 infomode |= LOG_SYSTEM;
1286 infomsg(infomode, "dhc
[all...]
H A Ddhcpd.c326 static uint8_t infomode; variable
434 static void infomsg(uint8_t infomode, char *s, ...) argument
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
[all...]
H A Ddhcp6.c140 uint8_t infomode = LOG_SILENT; local
142 if (toys.optflags & FLAG_S) infomode |= LOG_SYSTEM;
143 if(toys.optflags & FLAG_v) infomode |= LOG_CONSOLE;
154 if (infomode & LOG_SYSTEM) syslog(LOG_INFO, "%s", msg);
155 if (infomode & LOG_CONSOLE) printf("%s", msg);

Completed in 91 milliseconds