Home
last modified time | relevance | path

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

/linux-2.6.39/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()
/linux-2.6.39/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
805 l2 = create_l2(mgr->up, ISDN_P_LAPD_NT, opt, tei, sapi); in create_new_tei()
990 crq->adr.sapi, crq->adr.tei); in create_teimgr()
1038 crq->adr.tei, crq->adr.sapi); in create_teimgr()
1179 int ret, tei, sapi; in check_data() local
1193 sapi = skb->data[0] >> 2; in check_data()
1204 __func__, sapi, tei); in check_data()
1205 l2 = create_new_tei(mgr, tei, sapi); in check_data()
Dhwchannel.c154 u_int sapi, tei; in get_sapi_tei() local
156 sapi = *p >> 2; in get_sapi_tei()
158 return sapi | (tei << 8); in get_sapi_tei()
Dstack.c339 set_channel_address(struct mISDNchannel *ch, u_int sapi, u_int tei) in set_channel_address() argument
341 ch->addr = sapi | (tei << 8); in set_channel_address()
432 adr->channel, adr->sapi, adr->tei); in connect_layer1()
469 adr->dev, adr->channel, adr->sapi, in connect_Bstack()
525 adr->dev, adr->channel, adr->sapi, in create_l2entity()
Dlayer2.c110 l2->sapi, l2->tei, &vaf); in l2m_debug()
138 id |= l2->sapi; in l2_newid()
376 *ptr++ = (l2->sapi << 2) | (crbit ? 2 : 0); in sethdraddr()
1328 set_channel_address(&l2->ch, l2->sapi, l2->tei); in l2_got_tei()
1866 if (psapi != l2->sapi) { in ph_data_indication()
1870 __func__, psapi, l2->sapi); in ph_data_indication()
1934 __func__, hh->prim, hh->id, l2->sapi, l2->tei); in l2_send()
2058 set_channel_address(&l2->ch, l2->sapi, l2->tei); in l2_ctrl()
2075 int sapi) in create_l2() argument
2096 l2->sapi = sapi; in create_l2()
[all …]
Dlayer2.h58 signed char sapi; member
Dsocket.c146 maddr->sapi = mISDN_HEAD_ID(skb) & 0xff; in mISDN_sock_recvmsg()
149 maddr->sapi = _pms(sk)->ch.addr & 0xFF; in mISDN_sock_recvmsg()
580 maddr->sapi = _pms(sk)->ch.addr & 0xff; in data_sock_getname()
/linux-2.6.39/include/linux/
DmISDNif.h282 unsigned char sapi; member