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()
892 isdn_ppp_frame_log("xmit", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_write()
1016 slot = lp->ppp_slot; in isdn_ppp_receive()
1019 lp->ppp_slot); in isdn_ppp_receive()
1027 (long)is, (long)lp, lp->ppp_slot, is->unit, (int)skb->len); in isdn_ppp_receive()
1028 isdn_ppp_frame_log("receive", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_receive()
1071 slot = lp->ppp_slot; in isdn_ppp_push_higher()
1074 lp->ppp_slot); in isdn_ppp_push_higher()
1081 slot = mlp->ppp_slot; in isdn_ppp_push_higher()
1084 lp->ppp_slot); in isdn_ppp_push_higher()
1092 isdn_ppp_frame_log("rpush", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_push_higher()
1118 if (net_dev->local->ppp_slot < 0) { in isdn_ppp_push_higher()
1120 __func__, net_dev->local->ppp_slot); in isdn_ppp_push_higher()
1123 if (slhc_remember(ippp_table[net_dev->local->ppp_slot]->slcomp, skb->data, skb->len) <= 0) { in isdn_ppp_push_higher()
1145 if (net_dev->local->ppp_slot < 0) { in isdn_ppp_push_higher()
1147 __func__, net_dev->local->ppp_slot); in isdn_ppp_push_higher()
1150 pkt_len = slhc_uncompress(ippp_table[net_dev->local->ppp_slot]->slcomp, in isdn_ppp_push_higher()
1171 isdn_ppp_fill_rq(skb->data, skb->len, proto, lp->ppp_slot); /* push data to pppd device */ in isdn_ppp_push_higher()
1265 slot = mlp->ppp_slot; in isdn_ppp_xmit()
1268 mlp->ppp_slot); in isdn_ppp_xmit()
1303 slot = lp->ppp_slot; in isdn_ppp_xmit()
1306 lp->ppp_slot); in isdn_ppp_xmit()
1355 isdn_ppp_frame_log("xmit0", skb->data, skb->len, 32, ipts->unit, lp->ppp_slot); in isdn_ppp_xmit()
1482 isdn_ppp_frame_log("xmit", skb->data, skb->len, 32, ipt->unit, lp->ppp_slot); in isdn_ppp_xmit()
1500 struct ippp_struct *is = ippp_table[lp->ppp_slot]; in isdn_ppp_autodial_filter()
1589 if (lp->ppp_slot < 0) { in isdn_ppp_mp_init()
1591 __func__, lp->ppp_slot); in isdn_ppp_mp_init()
1595 is = ippp_table[lp->ppp_slot]; in isdn_ppp_mp_init()
1639 slot = lp->ppp_slot; in isdn_ppp_mp_receive()
1642 __func__, lp->ppp_slot); in isdn_ppp_mp_receive()
1653 isdn_ppp_mp_print_recv_pkt(lp->ppp_slot, skb); in isdn_ppp_mp_receive()
1676 slot = lpq->ppp_slot; in isdn_ppp_mp_receive()
1679 __func__, lpq->ppp_slot); in isdn_ppp_mp_receive()
1911 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_mp_reassembly()
1913 __func__, lp->ppp_slot); in isdn_ppp_mp_reassembly()
1917 if (ippp_table[lp->ppp_slot]->debug & 0x40) in isdn_ppp_mp_reassembly()
1930 if (ippp_table[lp->ppp_slot]->debug & 0x40) in isdn_ppp_mp_reassembly()
1990 if (nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS || in isdn_ppp_bundle()
1991 lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_bundle()
1993 nlp->ppp_slot < 0 || nlp->ppp_slot >= ISDN_MAX_CHANNELS ? in isdn_ppp_bundle()
1994 nlp->ppp_slot : lp->ppp_slot); in isdn_ppp_bundle()
2001 ippp_table[nlp->ppp_slot]->unit = ippp_table[lp->ppp_slot]->unit; in isdn_ppp_bundle()
2004 ippp_table[nlp->ppp_slot]->pppcfg |= ippp_table[lp->ppp_slot]->pppcfg & in isdn_ppp_bundle()
2006 ippp_table[nlp->ppp_slot]->mpppcfg |= ippp_table[lp->ppp_slot]->mpppcfg & in isdn_ppp_bundle()
2076 error = isdn_ppp_dev_ioctl_stats(lp->ppp_slot, ifr, dev); in isdn_ppp_dev_ioctl()
2191 isdn_ppp_fill_rq(NULL, 0, PPP_COMP, is->lp->ppp_slot); in isdn_ppp_ccp_kickup()
2273 isdn_ppp_frame_log("ccp-xmit", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_ccp_xmit_reset()
2684 lp->ppp_slot); in isdn_ppp_receive_ccp()
2685 if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { in isdn_ppp_receive_ccp()
2687 __func__, lp->ppp_slot); in isdn_ppp_receive_ccp()
2690 is = ippp_table[lp->ppp_slot]; in isdn_ppp_receive_ccp()
2691 isdn_ppp_frame_log("ccp-rcv", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_receive_ccp()
2694 int slot = ISDN_MASTER_PRIV(lp)->ppp_slot; in isdn_ppp_receive_ccp()
2854 int proto, slot = lp->ppp_slot; in isdn_ppp_send_ccp()
2878 isdn_ppp_frame_log("ccp-xmit", skb->data, skb->len, 32, is->unit, lp->ppp_slot); in isdn_ppp_send_ccp()
2881 slot = ISDN_MASTER_PRIV(lp)->ppp_slot; in isdn_ppp_send_ccp()