Lines Matching full:cx

1070   prompt_Printf(arg->prompt, "Name: %s\n", arg->cx->name);  in datalink_Show()
1072 datalink_State(arg->cx)); in datalink_Show()
1074 if (*arg->cx->peer.authname) in datalink_Show()
1075 prompt_Printf(arg->prompt, "%s\n", arg->cx->peer.authname); in datalink_Show()
1076 else if (arg->cx->state == DATALINK_OPEN) in datalink_Show()
1081 mp_Enddisc(arg->cx->peer.enddisc.class, in datalink_Show()
1082 arg->cx->peer.enddisc.address, in datalink_Show()
1083 arg->cx->peer.enddisc.len)); in datalink_Show()
1087 arg->cx->cfg.phone.list); in datalink_Show()
1088 if (arg->cx->cfg.dial.max) in datalink_Show()
1090 arg->cx->cfg.dial.max); in datalink_Show()
1093 if (arg->cx->cfg.dial.next_timeout >= 0) in datalink_Show()
1094 prompt_Printf(arg->prompt, "%ds/", arg->cx->cfg.dial.next_timeout); in datalink_Show()
1097 if (arg->cx->cfg.dial.timeout >= 0) in datalink_Show()
1098 prompt_Printf(arg->prompt, "%ds\n", arg->cx->cfg.dial.timeout); in datalink_Show()
1102 arg->cx->cfg.reconnect.max); in datalink_Show()
1103 if (arg->cx->cfg.reconnect.timeout > 0) in datalink_Show()
1104 prompt_Printf(arg->prompt, "%ds\n", arg->cx->cfg.reconnect.timeout); in datalink_Show()
1107 prompt_Printf(arg->prompt, " Callback %s ", arg->cx->physical->type == in datalink_Show()
1109 if (!arg->cx->cfg.callback.opmask) in datalink_Show()
1114 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_NONE)) { in datalink_Show()
1118 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_AUTH)) { in datalink_Show()
1122 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_E164)) { in datalink_Show()
1124 if (arg->cx->physical->type != PHYS_DIRECT) in datalink_Show()
1125 prompt_Printf(arg->prompt, " (%s)", arg->cx->cfg.callback.msg); in datalink_Show()
1128 if (arg->cx->cfg.callback.opmask & CALLBACK_BIT(CALLBACK_CBCP)) { in datalink_Show()
1131 arg->cx->cfg.cbcp.delay); in datalink_Show()
1133 if (!strcmp(arg->cx->cfg.cbcp.phone, "*")) { in datalink_Show()
1134 if (arg->cx->physical->type & PHYS_DIRECT) in datalink_Show()
1139 prompt_Printf(arg->prompt, "%s\n", arg->cx->cfg.cbcp.phone); in datalink_Show()
1141 arg->cx->cfg.cbcp.fsmretry); in datalink_Show()
1147 arg->cx->cfg.script.dial); in datalink_Show()
1149 arg->cx->cfg.script.login); in datalink_Show()
1151 arg->cx->cfg.script.logout); in datalink_Show()
1153 arg->cx->cfg.script.hangup); in datalink_Show()
1161 arg->cx->cfg.reconnect.timeout = atoi(arg->argv[arg->argn]); in datalink_SetReconnect()
1162 arg->cx->cfg.reconnect.max = atoi(arg->argv[arg->argn+1]); in datalink_SetReconnect()
1177 arg->cx->cfg.dial.timeout = -1; in datalink_SetRedial()
1183 arg->cx->cfg.dial.timeout = timeout; in datalink_SetRedial()
1195 arg->cx->cfg.dial.inc = inc; in datalink_SetRedial()
1204 arg->cx->cfg.dial.maxinc = maxinc; in datalink_SetRedial()
1211 arg->cx->cfg.dial.maxinc = 10; in datalink_SetRedial()
1216 arg->cx->cfg.dial.inc = 0; in datalink_SetRedial()
1217 arg->cx->cfg.dial.maxinc = 10; in datalink_SetRedial()
1224 arg->cx->cfg.dial.next_timeout = -1; in datalink_SetRedial()
1229 arg->cx->cfg.dial.next_timeout = timeout; in datalink_SetRedial()
1237 arg->cx->cfg.dial.next_timeout = DIAL_NEXT_TIMEOUT; in datalink_SetRedial()
1243 arg->cx->cfg.dial.max = tries; in datalink_SetRedial()