Lines Matching refs:dbg
129 static void (*dbg)(char *format, ...);
299 dbg("Sending message type: %d\n", type);
302 if (sendlength <= 0) dbg("Error in sending message type: %d\n", type);
343 dbg("Invalid server id: %d\n");
348 dbg("Invalid client id: %d\n");
381 dbg("Requesting IP: %s\n", TT.req_ip);
444 dbg("Failed to create environment variables.\n");
447 dbg("Executing %s %s\n", script, name);
455 dbg("Fork failed.\n");
468 dbg("script complete.\n");
473 dbg("Lease failed.\n");
481 dbg("Lease failed. Going to daemon mode.\n");
492 dbg("Caught signal: %d\n", sig);
495 dbg("SIGUSR1.\n");
501 dbg("SIGUSR1 sending renew.\n");
508 dbg("SIGUSR2.\n");
511 dbg("SIGUSR2 sending release.\n");
519 dbg((sig == SIGTERM)?"SIGTERM.\n":"SIGINT.\n");
546 dbg = dummy;
549 if (toys.optflags & FLAG_v) dbg = logit;
557 dbg = logit;
560 dbg("Interface: %s\n", TT.interface_name);
561 dbg("pid file: %s\n", TT.pidfile);
562 dbg("Retry count: %d\n", TT.retry);
563 dbg("Timeout : %d\n", TT.timeout);
564 dbg("Error timeout: %d\n", TT.errortimeout);
596 dbg("State is solicit, sending solicit packet\n");
603 dbg("State is solicit, retry count is max.\n");
610 dbg("State is %d , sending packet\n", TT.state);
628 dbg("Invalid id recieved, solicit.\n");
632 dbg("Got reply to request or solicit.\n");
638 dbg("Status code:%d\n", dhcp_data.status_code);
640 dbg("Advertiesed IP: %s\n", toybuf);
643 dbg("Invalid solicit.\n");
649 dbg("Invalid id recieved, %d.\n", TT.state);
653 dbg("Got reply to request or renew.\n");
657 dbg("Status code:%d\n", dhcp_data.status_code);
659 dbg("Got IP: %s\n", toybuf);
669 dbg("Setting timeout to intmax.");
671 dbg("Making it a daemon\n");
676 dbg("Making it a foreground.\n");
679 dbg("Invalid reply.\n");
683 dbg("Got reply to release.\n");