Lines Matching refs:para
385 if (ident > pc->para.chargeinfo) { in l3dss1_parse_facility()
386 pc->para.chargeinfo = ident; in l3dss1_parse_facility()
391 l3_debug(st, "charging info during %d", pc->para.chargeinfo); in l3dss1_parse_facility()
394 l3_debug(st, "charging info final %d", pc->para.chargeinfo); in l3dss1_parse_facility()
408 if (ident > pc->para.chargeinfo) { in l3dss1_parse_facility()
409 pc->para.chargeinfo = ident; in l3dss1_parse_facility()
413 l3_debug(st, "charging info final %d", pc->para.chargeinfo); in l3dss1_parse_facility()
545 *p++ = pc->para.cause | 0x80; in l3dss1_status_send()
570 switch (pc->para.cause) { in l3dss1_msg_without_setup()
580 *p++ = pc->para.cause | 0x80; in l3dss1_msg_without_setup()
584 pc->para.cause); in l3dss1_msg_without_setup()
830 pc->para.cause = 97; in l3dss1_check_messagetype_validity()
846 pc->para.cause = 96; in l3dss1_std_ie_err()
850 pc->para.cause = 99; in l3dss1_std_ie_err()
854 pc->para.cause = 100; in l3dss1_std_ie_err()
892 pc->para.cause = 31; in l3dss1_get_cause()
893 pc->para.loc = 0; in l3dss1_get_cause()
900 pc->para.loc = *p++; in l3dss1_get_cause()
905 if (l && !(pc->para.loc & 0x80)) { in l3dss1_get_cause()
910 pc->para.cause = *p++; in l3dss1_get_cause()
912 if (!(pc->para.cause & 0x80)) in l3dss1_get_cause()
917 pc->para.diag[i++] = *p++; in l3dss1_get_cause()
973 pc->para.cause = NO_CAUSE; in l3dss1_release_cmpl()
1238 teln = pc->para.setup.phone; in l3dss1_setup_req()
1251 switch (pc->para.setup.si1) { in l3dss1_setup_req()
1313 msn = pc->para.setup.eazmsn; in l3dss1_setup_req()
1373 …if ((pc->para.setup.si2 >= 160) && (pc->para.setup.si2 <= 175)) { // sync. Bitratenadaption, V.110… in l3dss1_setup_req()
1380 *p++ = EncodeSyncParams(pc->para.setup.si2 - 160, 0x80); in l3dss1_setup_req()
1381 …} else if ((pc->para.setup.si2 >= 176) && (pc->para.setup.si2 <= 191)) { // sync. Bitratenadaption… in l3dss1_setup_req()
1388 *p++ = EncodeSyncParams(pc->para.setup.si2 - 176, 0); in l3dss1_setup_req()
1390 } else if (pc->para.setup.si2 >= 192) { // async. Bitratenadaption, V.110/X.30 in l3dss1_setup_req()
1397 p = EncodeASyncParams(p, pc->para.setup.si2 - 192); in l3dss1_setup_req()
1400 switch (pc->para.setup.si1) { in l3dss1_setup_req()
1437 if ((0 == id) || ((3 == id) && (0x10 == pc->para.moderate))) { in l3dss1_call_proc()
1440 pc->para.cause = 100; in l3dss1_call_proc()
1444 pc->para.bchannel = id; in l3dss1_call_proc()
1449 pc->para.cause = 96; in l3dss1_call_proc()
1451 pc->para.cause = 100; in l3dss1_call_proc()
1476 if ((0 == id) || ((3 == id) && (0x10 == pc->para.moderate))) { in l3dss1_setup_ack()
1479 pc->para.cause = 100; in l3dss1_setup_ack()
1483 pc->para.bchannel = id; in l3dss1_setup_ack()
1488 pc->para.cause = 96; in l3dss1_setup_ack()
1490 pc->para.cause = 100; in l3dss1_setup_ack()
1559 pc->para.chargeinfo = 0; in l3dss1_connect()
1603 pc->para.setup.si2 = 0; in l3dss1_setup()
1607 pc->para.setup.si1 = 1; in l3dss1_setup()
1610 pc->para.setup.si1 = 7; in l3dss1_setup()
1613 pc->para.setup.si2 = DecodeSI2(skb); in l3dss1_setup()
1617 pc->para.setup.si1 = 2; in l3dss1_setup()
1623 pc->para.setup.si1 = 3; in l3dss1_setup()
1626 pc->para.setup.si1 = 4; in l3dss1_setup()
1634 pc->para.setup.si1 = 8; in l3dss1_setup()
1641 pc->para.moderate = p[3] & 0x7f; in l3dss1_setup()
1650 pc->para.setup.si1, pc->para.setup.si2); in l3dss1_setup()
1655 pc->para.cause = 100; in l3dss1_setup()
1663 pc->para.cause = 96; in l3dss1_setup()
1671 if ((pc->para.bchannel = id)) { in l3dss1_setup()
1672 if ((3 == id) && (0x10 == pc->para.moderate)) { in l3dss1_setup()
1676 pc->para.cause = 100; in l3dss1_setup()
1690 pc->para.cause = 96; in l3dss1_setup()
1692 pc->para.cause = 100; in l3dss1_setup()
1699 pc->para.cause = 96; in l3dss1_setup()
1705 iecpy(pc->para.setup.eazmsn, p, 1); in l3dss1_setup()
1707 pc->para.setup.eazmsn[0] = 0; in l3dss1_setup()
1715 strcat(pc->para.setup.eazmsn, tmp); in l3dss1_setup()
1721 pc->para.setup.plan = p[2]; in l3dss1_setup()
1723 iecpy(pc->para.setup.phone, p, 1); in l3dss1_setup()
1724 pc->para.setup.screen = 0; in l3dss1_setup()
1726 iecpy(pc->para.setup.phone, p, 2); in l3dss1_setup()
1727 pc->para.setup.screen = p[3]; in l3dss1_setup()
1730 pc->para.setup.phone[0] = 0; in l3dss1_setup()
1731 pc->para.setup.plan = 0; in l3dss1_setup()
1732 pc->para.setup.screen = 0; in l3dss1_setup()
1740 strcat(pc->para.setup.phone, tmp); in l3dss1_setup()
1765 if (pc->para.cause != NO_CAUSE) in l3dss1_disconnect_req()
1766 cause = pc->para.cause; in l3dss1_disconnect_req()
1799 if (!pc->para.bchannel) in l3dss1_setup_rsp()
1838 if (pc->para.cause != NO_CAUSE) in l3dss1_reject_req()
1839 cause = pc->para.cause; in l3dss1_reject_req()
1870 pc->para.cause = NO_CAUSE; in l3dss1_release()
1958 pc->para.cause = 100; in l3dss1_progress()
1977 pc->para.cause = 100; in l3dss1_progress()
1983 pc->para.cause = 100; in l3dss1_progress()
1988 pc->para.cause = 96; in l3dss1_progress()
2015 pc->para.cause = 100; in l3dss1_notify()
2023 pc->para.cause = 100; in l3dss1_notify()
2029 pc->para.cause = 96; in l3dss1_notify()
2054 pc->para.cause = 30; /* response to STATUS_ENQUIRY */ in l3dss1_status_enq()
2074 strcat(pc->para.setup.eazmsn, tmp); in l3dss1_information()
2097 { pc->para.cause = -1; in l3dss1_redir_req()
2307 pc->para.loc = 0; in l3dss1_t302()
2308 pc->para.cause = 28; /* invalid number */ in l3dss1_t302()
2332 pc->para.loc = 0; in l3dss1_t304()
2333 pc->para.cause = 102; in l3dss1_t304()
2349 if (pc->para.cause != NO_CAUSE) in l3dss1_t305()
2350 cause = pc->para.cause; in l3dss1_t305()
2372 pc->para.loc = 0; in l3dss1_t310()
2373 pc->para.cause = 102; in l3dss1_t310()
2382 pc->para.loc = 0; in l3dss1_t313()
2383 pc->para.cause = 102; in l3dss1_t313()
2409 pc->para.cause = 102; /* Timer expiry */ in l3dss1_t318()
2410 pc->para.loc = 0; /* local */ in l3dss1_t318()
2421 pc->para.cause = 102; /* Timer expiry */ in l3dss1_t319()
2422 pc->para.loc = 0; /* local */ in l3dss1_t319()
2473 tmp = pc->para.cause; in l3dss1_status()
2474 pc->para.cause = cause; in l3dss1_status()
2477 pc->para.cause = tmp; in l3dss1_status()
2481 cause = pc->para.cause; in l3dss1_status()
2545 pc->para.cause = NO_CAUSE; in l3dss1_suspend_ack()
2564 pc->para.cause = 96; in l3dss1_suspend_rej()
2566 pc->para.cause = 100; in l3dss1_suspend_rej()
2589 u_char *msg = pc->para.setup.phone; in l3dss1_resume_req()
2619 if ((0 == id) || ((3 == id) && (0x10 == pc->para.moderate))) { in l3dss1_resume_ack()
2622 pc->para.cause = 100; in l3dss1_resume_ack()
2626 pc->para.bchannel = id; in l3dss1_resume_ack()
2630 pc->para.cause = 96; in l3dss1_resume_ack()
2656 pc->para.cause = 96; in l3dss1_resume_rej()
2658 pc->para.cause = 100; in l3dss1_resume_rej()
2707 else if (up->para.bchannel == chan) in l3dss1_global_restart()
2732 pc->para.cause = 0x29; /* Temporary failure */ in l3dss1_dl_reset()
2733 pc->para.loc = 0; in l3dss1_dl_reset()
2742 pc->para.cause = 0x1b; /* Destination out of order */ in l3dss1_dl_release()
2743 pc->para.loc = 0; in l3dss1_dl_release()
2761 pc->para.cause = 0x1F; /* normal, unspecified */ in l3dss1_dl_reest_status()
3061 proc->para.cause = 101; in dss1up()
3077 proc->para.cause = 81; in dss1up()
3100 proc->para.cause = 101; in dss1up()
3132 memcpy(&proc->para.setup, &chan->setup, sizeof(setup_parm)); in dss1down()