Lines Matching defs:crq
983 create_teimgr(struct manager *mgr, struct channel_req *crq)
994 crq->protocol, crq->adr.dev, crq->adr.channel,
995 crq->adr.sapi, crq->adr.tei);
996 if (crq->adr.tei > GROUP_TEI)
998 if (crq->adr.tei < 64)
1000 if (crq->adr.tei == 0)
1003 if (crq->protocol == ISDN_P_LAPD_TE)
1005 if ((crq->adr.tei != 0) && (crq->adr.tei != 127))
1014 if (crq->protocol == ISDN_P_LAPD_NT)
1016 if ((crq->adr.tei >= 64) && (crq->adr.tei < GROUP_TEI))
1019 if (crq->protocol == ISDN_P_LAPD_NT)
1021 if (crq->protocol == ISDN_P_LAPD_TE)
1024 l1rq.adr = crq->adr;
1028 if ((crq->protocol == ISDN_P_LAPD_NT) && (crq->adr.tei == 127)) {
1029 mgr->up = crq->ch;
1034 crq->ch = NULL;
1045 l2 = create_l2(crq->ch, crq->protocol, opt,
1046 crq->adr.tei, crq->adr.sapi);
1060 if (crq->protocol == ISDN_P_LAPD_TE) {
1085 crq->ch = &l2->ch;