Home
last modified time | relevance | path

Searched refs:sapi (Results 1 – 8 of 8) sorted by relevance

/drivers/isdn/hisax/
Dq931.c1193 unsigned char sapi, tei, ftyp; in dlogframe() local
1203 sapi = skb->data[0] >> 2; in dlogframe()
1211 if (sapi == CTRL_SAPI) { /* sapi 0 */ in dlogframe()
1220 } else if (sapi == TEI_SAPI) { in dlogframe()
1224 dp += sprintf(dp, "unknown sapi %d broadcast\n", sapi); in dlogframe()
1228 if (sapi == CTRL_SAPI) { in dlogframe()
1238 dp += sprintf(dp, "unknown sapi %d tei %d\n", sapi, tei); in dlogframe()
Disdnl1.c208 int found, tei, sapi; in DChannel_proc_rcv() local
229 sapi = skb->data[0] >> 2; in DChannel_proc_rcv()
236 if (sapi == CTRL_SAPI) { /* sapi 0 */ in DChannel_proc_rcv()
244 } else if (sapi == TEI_SAPI) { in DChannel_proc_rcv()
254 } else if (sapi == CTRL_SAPI) { /* sapi 0 */ in DChannel_proc_rcv()
/drivers/isdn/mISDN/
Dtei.c243 tm->l2->sapi, tm->l2->tei, &vaf); in tei_debug()
430 if ((l2->sapi == 0) && (l2->tei > 0) && in findtei()
791 create_new_tei(struct manager *mgr, int tei, int sapi) in create_new_tei() argument
810 l2 = create_l2(mgr->up, ISDN_P_LAPD_NT, opt, tei, sapi); in create_new_tei()
1004 crq->adr.sapi, crq->adr.tei); in create_teimgr()
1055 crq->adr.tei, crq->adr.sapi); in create_teimgr()
1210 int ret, tei, sapi; in check_data() local
1224 sapi = skb->data[0] >> 2; in check_data()
1235 __func__, sapi, tei); in check_data()
1236 l2 = create_new_tei(mgr, tei, sapi); in check_data()
Dlayer2.c114 mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, &vaf); in l2m_debug()
142 id |= l2->sapi; in l2_newid()
296 mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, in l2_timeout()
305 mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, in l2_timeout()
408 *ptr++ = (l2->sapi << 2) | (crbit ? 2 : 0); in sethdraddr()
1360 set_channel_address(&l2->ch, l2->sapi, l2->tei); in l2_got_tei()
1906 if (psapi != l2->sapi) { in ph_data_indication()
1911 l2->sapi); in ph_data_indication()
1977 l2->sapi, l2->tei); in l2_send()
2118 set_channel_address(&l2->ch, l2->sapi, l2->tei); in l2_ctrl()
[all …]
Dstack.c343 set_channel_address(struct mISDNchannel *ch, u_int sapi, u_int tei) in set_channel_address() argument
345 ch->addr = sapi | (tei << 8); in set_channel_address()
436 adr->channel, adr->sapi, adr->tei); in connect_layer1()
473 adr->dev, adr->channel, adr->sapi, in connect_Bstack()
529 adr->dev, adr->channel, adr->sapi, in create_l2entity()
Dhwchannel.c212 u_int sapi, tei; in get_sapi_tei() local
214 sapi = *p >> 2; in get_sapi_tei()
216 return sapi | (tei << 8); in get_sapi_tei()
Dlayer2.h58 signed char sapi; member
Dsocket.c147 maddr->sapi = mISDN_HEAD_ID(skb) & 0xff; in mISDN_sock_recvmsg()
150 maddr->sapi = _pms(sk)->ch.addr & 0xFF; in mISDN_sock_recvmsg()
584 maddr->sapi = _pms(sk)->ch.addr & 0xff; in data_sock_getname()