Lines Matching refs:para
449 chid = (u_char)(pc->para.bchannel & 0x03) | 0x88; in l3ni1_message_plus_chid()
495 *p++ = pc->para.cause | 0x80; in l3ni1_status_send()
520 switch (pc->para.cause) { in l3ni1_msg_without_setup()
530 *p++ = pc->para.cause | 0x80; in l3ni1_msg_without_setup()
534 pc->para.cause); in l3ni1_msg_without_setup()
780 pc->para.cause = 97; in l3ni1_check_messagetype_validity()
796 pc->para.cause = 96; in l3ni1_std_ie_err()
800 pc->para.cause = 99; in l3ni1_std_ie_err()
804 pc->para.cause = 100; in l3ni1_std_ie_err()
842 pc->para.cause = 31; in l3ni1_get_cause()
843 pc->para.loc = 0; in l3ni1_get_cause()
850 pc->para.loc = *p++; in l3ni1_get_cause()
855 if (l && !(pc->para.loc & 0x80)) { in l3ni1_get_cause()
860 pc->para.cause = *p++; in l3ni1_get_cause()
862 if (!(pc->para.cause & 0x80)) in l3ni1_get_cause()
867 pc->para.diag[i++] = *p++; in l3ni1_get_cause()
923 pc->para.cause = NO_CAUSE; in l3ni1_release_cmpl()
1184 teln = pc->para.setup.phone; in l3ni1_setup_req()
1190 switch (pc->para.setup.si1) { in l3ni1_setup_req()
1227 …if ((pc->para.setup.si2 >= 160) && (pc->para.setup.si2 <= 175)) { // sync. Bitratenadaption, V.110… in l3ni1_setup_req()
1234 *p++ = EncodeSyncParams(pc->para.setup.si2 - 160, 0x80); in l3ni1_setup_req()
1235 …} else if ((pc->para.setup.si2 >= 176) && (pc->para.setup.si2 <= 191)) { // sync. Bitratenadaption… in l3ni1_setup_req()
1242 *p++ = EncodeSyncParams(pc->para.setup.si2 - 176, 0); in l3ni1_setup_req()
1244 } else if (pc->para.setup.si2 >= 192) { // async. Bitratenadaption, V.110/X.30 in l3ni1_setup_req()
1251 p = EncodeASyncParams(p, pc->para.setup.si2 - 192); in l3ni1_setup_req()
1253 switch (pc->para.setup.si1) { in l3ni1_setup_req()
1291 if ((0 == id) || ((3 == id) && (0x10 == pc->para.moderate))) { in l3ni1_call_proc()
1294 pc->para.cause = 100; in l3ni1_call_proc()
1298 pc->para.bchannel = id; in l3ni1_call_proc()
1303 pc->para.cause = 96; in l3ni1_call_proc()
1305 pc->para.cause = 100; in l3ni1_call_proc()
1330 if ((0 == id) || ((3 == id) && (0x10 == pc->para.moderate))) { in l3ni1_setup_ack()
1333 pc->para.cause = 100; in l3ni1_setup_ack()
1337 pc->para.bchannel = id; in l3ni1_setup_ack()
1342 pc->para.cause = 96; in l3ni1_setup_ack()
1344 pc->para.cause = 100; in l3ni1_setup_ack()
1413 pc->para.chargeinfo = 0; in l3ni1_connect()
1457 pc->para.setup.si2 = 0; in l3ni1_setup()
1461 pc->para.setup.si1 = 1; in l3ni1_setup()
1464 pc->para.setup.si1 = 7; in l3ni1_setup()
1467 pc->para.setup.si2 = DecodeSI2(skb); in l3ni1_setup()
1471 pc->para.setup.si1 = 2; in l3ni1_setup()
1477 pc->para.setup.si1 = 3; in l3ni1_setup()
1480 pc->para.setup.si1 = 4; in l3ni1_setup()
1488 pc->para.setup.si1 = 8; in l3ni1_setup()
1495 pc->para.moderate = p[3] & 0x7f; in l3ni1_setup()
1504 pc->para.setup.si1, pc->para.setup.si2); in l3ni1_setup()
1509 pc->para.cause = 100; in l3ni1_setup()
1517 pc->para.cause = 96; in l3ni1_setup()
1525 if ((pc->para.bchannel = id)) { in l3ni1_setup()
1526 if ((3 == id) && (0x10 == pc->para.moderate)) { in l3ni1_setup()
1530 pc->para.cause = 100; in l3ni1_setup()
1544 pc->para.cause = 96; in l3ni1_setup()
1546 pc->para.cause = 100; in l3ni1_setup()
1553 pc->para.cause = 96; in l3ni1_setup()
1559 iecpy(pc->para.setup.eazmsn, p, 1); in l3ni1_setup()
1561 pc->para.setup.eazmsn[0] = 0; in l3ni1_setup()
1569 strcat(pc->para.setup.eazmsn, tmp); in l3ni1_setup()
1575 pc->para.setup.plan = p[2]; in l3ni1_setup()
1577 iecpy(pc->para.setup.phone, p, 1); in l3ni1_setup()
1578 pc->para.setup.screen = 0; in l3ni1_setup()
1580 iecpy(pc->para.setup.phone, p, 2); in l3ni1_setup()
1581 pc->para.setup.screen = p[3]; in l3ni1_setup()
1584 pc->para.setup.phone[0] = 0; in l3ni1_setup()
1585 pc->para.setup.plan = 0; in l3ni1_setup()
1586 pc->para.setup.screen = 0; in l3ni1_setup()
1594 strcat(pc->para.setup.phone, tmp); in l3ni1_setup()
1619 if (pc->para.cause != NO_CAUSE) in l3ni1_disconnect_req()
1620 cause = pc->para.cause; in l3ni1_disconnect_req()
1653 if (!pc->para.bchannel) in l3ni1_setup_rsp()
1694 if (pc->para.cause != NO_CAUSE) in l3ni1_reject_req()
1695 cause = pc->para.cause; in l3ni1_reject_req()
1726 pc->para.cause = NO_CAUSE; in l3ni1_release()
1814 pc->para.cause = 100; in l3ni1_progress()
1833 pc->para.cause = 100; in l3ni1_progress()
1839 pc->para.cause = 100; in l3ni1_progress()
1844 pc->para.cause = 96; in l3ni1_progress()
1871 pc->para.cause = 100; in l3ni1_notify()
1879 pc->para.cause = 100; in l3ni1_notify()
1885 pc->para.cause = 96; in l3ni1_notify()
1910 pc->para.cause = 30; /* response to STATUS_ENQUIRY */ in l3ni1_status_enq()
1930 strcat(pc->para.setup.eazmsn, tmp); in l3ni1_information()
1953 { pc->para.cause = -1; in l3ni1_redir_req()
2167 pc->para.loc = 0; in l3ni1_t302()
2168 pc->para.cause = 28; /* invalid number */ in l3ni1_t302()
2192 pc->para.loc = 0; in l3ni1_t304()
2193 pc->para.cause = 102; in l3ni1_t304()
2209 if (pc->para.cause != NO_CAUSE) in l3ni1_t305()
2210 cause = pc->para.cause; in l3ni1_t305()
2232 pc->para.loc = 0; in l3ni1_t310()
2233 pc->para.cause = 102; in l3ni1_t310()
2242 pc->para.loc = 0; in l3ni1_t313()
2243 pc->para.cause = 102; in l3ni1_t313()
2269 pc->para.cause = 102; /* Timer expiry */ in l3ni1_t318()
2270 pc->para.loc = 0; /* local */ in l3ni1_t318()
2281 pc->para.cause = 102; /* Timer expiry */ in l3ni1_t319()
2282 pc->para.loc = 0; /* local */ in l3ni1_t319()
2333 tmp = pc->para.cause; in l3ni1_status()
2334 pc->para.cause = cause; in l3ni1_status()
2337 pc->para.cause = tmp; in l3ni1_status()
2341 cause = pc->para.cause; in l3ni1_status()
2405 pc->para.cause = NO_CAUSE; in l3ni1_suspend_ack()
2424 pc->para.cause = 96; in l3ni1_suspend_rej()
2426 pc->para.cause = 100; in l3ni1_suspend_rej()
2449 u_char *msg = pc->para.setup.phone; in l3ni1_resume_req()
2479 if ((0 == id) || ((3 == id) && (0x10 == pc->para.moderate))) { in l3ni1_resume_ack()
2482 pc->para.cause = 100; in l3ni1_resume_ack()
2486 pc->para.bchannel = id; in l3ni1_resume_ack()
2490 pc->para.cause = 96; in l3ni1_resume_ack()
2516 pc->para.cause = 96; in l3ni1_resume_rej()
2518 pc->para.cause = 100; in l3ni1_resume_rej()
2567 else if (up->para.bchannel == chan) in l3ni1_global_restart()
2593 pc->para.cause = 0x29; /* Temporary failure */ in l3ni1_dl_reset()
2594 pc->para.loc = 0; in l3ni1_dl_reset()
2603 pc->para.cause = 0x1b; /* Destination out of order */ in l3ni1_dl_release()
2604 pc->para.loc = 0; in l3ni1_dl_release()
2622 pc->para.cause = 0x1F; /* normal, unspecified */ in l3ni1_dl_reest_status()
3017 proc->para.cause = 101; in ni1up()
3033 proc->para.cause = 81; in ni1up()
3056 proc->para.cause = 101; in ni1up()
3088 memcpy(&proc->para.setup, &chan->setup, sizeof(setup_parm)); in ni1down()