Lines Matching refs:ppp_slot

112 	if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) {  in isdn_ppp_free()
114 __func__, lp->ppp_slot); in isdn_ppp_free()
129 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_free()
131 __func__, lp->ppp_slot); in isdn_ppp_free()
134 is = ippp_table[lp->ppp_slot]; in isdn_ppp_free()
136 isdn_ppp_closewait(lp->ppp_slot); /* force wakeup on ippp device */ in isdn_ppp_free()
141 printk(KERN_DEBUG "isdn_ppp_free %d %lx %lx\n", lp->ppp_slot, (long) lp, (long) is->lp); in isdn_ppp_free()
144 lp->ppp_slot = -1; /* is this OK ?? */ in isdn_ppp_free()
203 lp->ppp_slot = i; in isdn_ppp_bind()
214 retval = lp->ppp_slot; in isdn_ppp_bind()
228 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_wakeup_daemon()
230 __func__, lp->ppp_slot); in isdn_ppp_wakeup_daemon()
233 ippp_table[lp->ppp_slot]->state = IPPP_OPEN | IPPP_CONNECT | IPPP_NOBLOCK; in isdn_ppp_wakeup_daemon()
234 wake_up_interruptible(&ippp_table[lp->ppp_slot]->wq); in isdn_ppp_wakeup_daemon()
882 isdn_ppp_frame_log("xmit", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_write()
1006 slot = lp->ppp_slot; in isdn_ppp_receive()
1009 lp->ppp_slot); in isdn_ppp_receive()
1017 (long)is, (long)lp, lp->ppp_slot, is->unit, (int)skb->len); in isdn_ppp_receive()
1018 isdn_ppp_frame_log("receive", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_receive()
1061 slot = lp->ppp_slot; in isdn_ppp_push_higher()
1064 lp->ppp_slot); in isdn_ppp_push_higher()
1071 slot = mlp->ppp_slot; in isdn_ppp_push_higher()
1074 lp->ppp_slot); in isdn_ppp_push_higher()
1082 isdn_ppp_frame_log("rpush", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_push_higher()
1108 if (net_dev->local->ppp_slot < 0) { in isdn_ppp_push_higher()
1110 __func__, net_dev->local->ppp_slot); in isdn_ppp_push_higher()
1113 if (slhc_remember(ippp_table[net_dev->local->ppp_slot]->slcomp, skb->data, skb->len) <= 0) { in isdn_ppp_push_higher()
1135 if (net_dev->local->ppp_slot < 0) { in isdn_ppp_push_higher()
1137 __func__, net_dev->local->ppp_slot); in isdn_ppp_push_higher()
1140 pkt_len = slhc_uncompress(ippp_table[net_dev->local->ppp_slot]->slcomp, in isdn_ppp_push_higher()
1161 isdn_ppp_fill_rq(skb->data, skb->len, proto, lp->ppp_slot); /* push data to pppd device */ in isdn_ppp_push_higher()
1255 slot = mlp->ppp_slot; in isdn_ppp_xmit()
1258 mlp->ppp_slot); in isdn_ppp_xmit()
1293 slot = lp->ppp_slot; in isdn_ppp_xmit()
1296 lp->ppp_slot); in isdn_ppp_xmit()
1345 isdn_ppp_frame_log("xmit0", skb->data, skb->len, 32, ipts->unit, lp->ppp_slot); in isdn_ppp_xmit()
1472 isdn_ppp_frame_log("xmit", skb->data, skb->len, 32, ipt->unit, lp->ppp_slot); in isdn_ppp_xmit()
1490 struct ippp_struct *is = ippp_table[lp->ppp_slot]; in isdn_ppp_autodial_filter()
1579 if (lp->ppp_slot < 0) { in isdn_ppp_mp_init()
1581 __func__, lp->ppp_slot); in isdn_ppp_mp_init()
1585 is = ippp_table[lp->ppp_slot]; in isdn_ppp_mp_init()
1629 slot = lp->ppp_slot; in isdn_ppp_mp_receive()
1632 __func__, lp->ppp_slot); in isdn_ppp_mp_receive()
1643 isdn_ppp_mp_print_recv_pkt(lp->ppp_slot, skb); in isdn_ppp_mp_receive()
1666 slot = lpq->ppp_slot; in isdn_ppp_mp_receive()
1669 __func__, lpq->ppp_slot); in isdn_ppp_mp_receive()
1901 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_reassembly()
1903 __func__, lp->ppp_slot); in isdn_ppp_mp_reassembly()
1907 if (ippp_table[lp->ppp_slot]->debug & 0x40) in isdn_ppp_mp_reassembly()
1920 if (ippp_table[lp->ppp_slot]->debug & 0x40) in isdn_ppp_mp_reassembly()
1980 if (nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS || in isdn_ppp_bundle()
1981 lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_bundle()
1983 nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS ? in isdn_ppp_bundle()
1984 nlp->ppp_slot : lp->ppp_slot); in isdn_ppp_bundle()
1991 ippp_table[nlp->ppp_slot]->unit = ippp_table[lp->ppp_slot]->unit; in isdn_ppp_bundle()
1994 ippp_table[nlp->ppp_slot]->pppcfg |= ippp_table[lp->ppp_slot]->pppcfg & in isdn_ppp_bundle()
1996 ippp_table[nlp->ppp_slot]->mpppcfg |= ippp_table[lp->ppp_slot]->mpppcfg & in isdn_ppp_bundle()
2069 error = isdn_ppp_dev_ioctl_stats(lp->ppp_slot, ifr, dev); in isdn_ppp_dev_ioctl()
2184 isdn_ppp_fill_rq(NULL, 0, PPP_COMP, is->lp->ppp_slot); in isdn_ppp_ccp_kickup()
2267 isdn_ppp_frame_log("ccp-xmit", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_ccp_xmit_reset()
2680 lp->ppp_slot); in isdn_ppp_receive_ccp()
2681 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive_ccp()
2683 __func__, lp->ppp_slot); in isdn_ppp_receive_ccp()
2686 is = ippp_table[lp->ppp_slot]; in isdn_ppp_receive_ccp()
2687 isdn_ppp_frame_log("ccp-rcv", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_receive_ccp()
2690 int slot = ISDN_MASTER_PRIV(lp)->ppp_slot; in isdn_ppp_receive_ccp()
2850 int proto, slot = lp->ppp_slot; in isdn_ppp_send_ccp()
2874 isdn_ppp_frame_log("ccp-xmit", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_send_ccp()
2877 slot = ISDN_MASTER_PRIV(lp)->ppp_slot; in isdn_ppp_send_ccp()