Lines Matching full:cbcp
78 #include "cbcp.h"
128 if (dl->cbcp.required) {
129 log_Printf(LogPHASE, "Call peer back on %s\n", dl->cbcp.fsm.phone);
131 strncpy(dl->cfg.phone.list, dl->cbcp.fsm.phone,
144 if (dl->cbcp.fsm.delay < dl->cfg.dial.timeout)
145 dl->cbcp.fsm.delay = dl->cfg.dial.timeout;
146 datalink_StartDialTimer(dl, dl->cbcp.fsm.delay);
147 cbcp_Down(&dl->cbcp);
668 cbcp_Down(&dl->cbcp);
681 /* We must have agreed CBCP if AUTH isn't there any more */
683 cbcp_Up(&dl->cbcp);
685 /* It's not CBCP */
697 auth_SetPhoneList(dl->peer.authname, dl->cbcp.fsm.phone,
698 sizeof dl->cbcp.fsm.phone);
699 if (*dl->cbcp.fsm.phone == '\0' || !strcmp(dl->cbcp.fsm.phone, "*")) {
702 *dl->cbcp.fsm.phone = '\0';
704 char *ptr = strchr(dl->cbcp.fsm.phone, ',');
708 dl->cbcp.fsm.phone);
709 dl->cbcp.required = 1;
711 dl->cbcp.fsm.delay = 0;
718 strncpy(dl->cbcp.fsm.phone, dl->physical->link.lcp.his_callback.msg,
719 sizeof dl->cbcp.fsm.phone - 1);
720 dl->cbcp.fsm.phone[sizeof dl->cbcp.fsm.phone - 1] = '\0';
722 dl->cbcp.fsm.phone);
723 dl->cbcp.required = 1;
724 dl->cbcp.fsm.delay = 0;
764 if (!dl->cbcp.required)
765 cbcp_Down(&dl->cbcp);
839 dl->cfg.cbcp.delay = 0;
840 *dl->cfg.cbcp.phone = '\0';
841 dl->cfg.cbcp.fsmretry = DEF_FSMRETRY;
860 cbcp_Init(&dl->cbcp, dl->physical);
924 cbcp_Init(&dl->cbcp, dl->physical);
1130 prompt_Printf(arg->prompt, " CBCP: delay: %ds\n",
1131 arg->cx->cfg.cbcp.delay);
1133 if (!strcmp(arg->cx->cfg.cbcp.phone, "*")) {
1139 prompt_Printf(arg->prompt, "%s\n", arg->cx->cfg.cbcp.phone);
1141 arg->cx->cfg.cbcp.fsmretry);
1266 "cbcp",
1373 cbcp_Init(&dl->cbcp, dl->physical);
1395 cbcp_Down(&dl->cbcp);