/linux-4.4.14/drivers/isdn/hisax/ |
H A D | isdnl1.c | 208 int found, tei, sapi; DChannel_proc_rcv() local 229 sapi = skb->data[0] >> 2; DChannel_proc_rcv() 236 if (sapi == CTRL_SAPI) { /* sapi 0 */ DChannel_proc_rcv() 244 } else if (sapi == TEI_SAPI) { DChannel_proc_rcv() 254 } else if (sapi == CTRL_SAPI) { /* sapi 0 */ DChannel_proc_rcv() 451 debugl1(cs, "%s %s: %s%c (sapi %d, tei %d)", Logl2Frame()
|
H A D | q931.c | 1193 unsigned char sapi, tei, ftyp; dlogframe() local 1203 sapi = skb->data[0] >> 2; dlogframe() 1211 if (sapi == CTRL_SAPI) { /* sapi 0 */ dlogframe() 1220 } else if (sapi == TEI_SAPI) { dlogframe() 1224 dp += sprintf(dp, "unknown sapi %d broadcast\n", sapi); dlogframe() 1228 if (sapi == CTRL_SAPI) { dlogframe() 1238 dp += sprintf(dp, "unknown sapi %d tei %d\n", sapi, tei); dlogframe()
|
H A D | tei.c | 327 "wrong mgr sapi/tei %x/%x", tei_l1l2()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
H A D | tei.c | 242 printk(KERN_DEBUG "sapi(%d) tei(%d): %pV\n", tei_debug() 243 tm->l2->sapi, tm->l2->tei, &vaf); tei_debug() 430 if ((l2->sapi == 0) && (l2->tei > 0) && findtei() 791 create_new_tei(struct manager *mgr, int tei, int sapi) create_new_tei() argument 810 l2 = create_l2(mgr->up, ISDN_P_LAPD_NT, opt, tei, sapi); create_new_tei() 1004 crq->adr.sapi, crq->adr.tei); create_teimgr() 1055 crq->adr.tei, crq->adr.sapi); create_teimgr() 1210 int ret, tei, sapi; check_data() local 1224 sapi = skb->data[0] >> 2; check_data() 1234 printk(KERN_DEBUG "%s: SABME sapi(%d) tei(%d)\n", check_data() 1235 __func__, sapi, tei); check_data() 1236 l2 = create_new_tei(mgr, tei, sapi); check_data()
|
H A D | hwchannel.c | 212 u_int sapi, tei; get_sapi_tei() local 214 sapi = *p >> 2; get_sapi_tei() 216 return sapi | (tei << 8); get_sapi_tei() 224 if (dch->rx_skb->len < 2) { /* at least 2 for sapi / tei */ recv_Dchannel() 243 if (ech->rx_skb->len < 2) { /* at least 2 for sapi / tei */ recv_Echannel()
|
H A D | layer2.c | 113 printk(KERN_DEBUG "%s l2 (sapi %d tei %d): %pV\n", l2m_debug() 114 mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, &vaf); l2m_debug() 142 id |= l2->sapi; l2_newid() 296 mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, l2_timeout() 305 mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, l2_timeout() 408 *ptr++ = (l2->sapi << 2) | (crbit ? 2 : 0); sethdraddr() 1360 set_channel_address(&l2->ch, l2->sapi, l2->tei); l2_got_tei() 1892 if (psapi != l2->sapi) { ph_data_indication() 1895 printk(KERN_DEBUG "%s: sapi %d/%d mismatch\n", ph_data_indication() 1897 l2->sapi); ph_data_indication() 1961 printk(KERN_DEBUG "%s: %s prim(%x) id(%x) sapi(%d) tei(%d)\n", l2_send() 1963 l2->sapi, l2->tei); l2_send() 2104 set_channel_address(&l2->ch, l2->sapi, l2->tei); l2_ctrl() 2121 int sapi) create_l2() 2142 l2->sapi = sapi; create_l2() 2167 l2->sapi = sapi; create_l2() 2120 create_l2(struct mISDNchannel *ch, u_int protocol, u_long options, int tei, int sapi) create_l2() argument
|
H A D | layer2.h | 58 signed char sapi; member in struct:layer2
|
H A D | stack.c | 343 set_channel_address(struct mISDNchannel *ch, u_int sapi, u_int tei) set_channel_address() argument 345 ch->addr = sapi | (tei << 8); set_channel_address() 436 adr->channel, adr->sapi, adr->tei); connect_layer1() 473 adr->dev, adr->channel, adr->sapi, connect_Bstack() 529 adr->dev, adr->channel, adr->sapi, create_l2entity()
|
H A D | socket.c | 146 maddr->sapi = mISDN_HEAD_ID(skb) & 0xff; mISDN_sock_recvmsg() 149 maddr->sapi = _pms(sk)->ch.addr & 0xFF; mISDN_sock_recvmsg() 577 maddr->sapi = _pms(sk)->ch.addr & 0xff; data_sock_getname()
|
/linux-4.4.14/include/linux/ |
H A D | mISDNif.h | 287 unsigned char sapi; member in struct:sockaddr_mISDN
|