Lines Matching defs:to

7  * This software may be used and distributed according to the terms
105 * in this case we bind another lp to the master device
138 is->state = IPPP_OPEN; /* fallback to 'OPEN but not ASSIGNED' state */
143 is->lp = NULL; /* link is down .. set lp to NULL */
163 if (lp->pppbind < 0) { /* device bounded to ippp device ? */
167 while (net_dev) { /* step through net devices to find exclusive minors */
190 printk(KERN_WARNING "isdn_ppp_bind: Can't find a (free) connection to the ipppd daemon.\n");
207 is->state = IPPP_OPEN | IPPP_ASSIGNED; /* assigned to a netdevice but not connected */
309 is->last_link_seqno = -1; /* MP: maybe set to Bundle-MIN, when joining a bundle ?? */
363 * isdn_ppp_free() sets is->lp to NULL and lp->ppp_slot to -1
376 /* TODO: if this was the previous master: link the slcomp to the new master */
387 /* TODO: if this was the previous master: link the stuff to the new master */
533 /* OK .. we are ready to send buffers */
567 printk(KERN_DEBUG "ippp, ioctl: changed MAXCID to %ld\n", val);
682 /* we're always ready to send .. */
689 * if IPPP_NOBLOCK is set we return even if we have nothing to read
793 * ipppd wanna write a packet to the card .. non-blocking
811 /* -> push it directly to the lowlevel interface */
835 * we need to reserve enough space in front of
836 * sk_buff. old call to dev_alloc_skb only reserved
1009 if (!(is->mpppcfg & SC_REJ_MP_PROT)) { // we agreed to receive MPPP
1022 * note: net_dev has to be master net_dev
1125 /* Dont pop up ResetReq/Ack stuff to the daemon any
1132 isdn_ppp_fill_rq(skb->data, skb->len, proto, lp->ppp_slot); /* push data to pppd device */
1277 /* Pull off the fake header we stuck on earlier to keep
1323 * we need to reserve enough space in front of
1324 * sk_buff. old call to dev_alloc_skb only reserved
1479 * a four-byte PPP header on each packet. we have to
1504 * headers to for convinience's sake:
1506 * bytes 1...4 is 24-bit seqence number converted to host byte order
1579 struct sk_buff *from, struct sk_buff *to);
1581 struct sk_buff *from, struct sk_buff *to);
1667 * try to accomplish several tasks:
1669 * newfrag will be set to NULL)
1673 * to the fact that sender always increment sequence number, if there
1675 * come to complete such sequence and it should be discarded
1679 * set to NULL)
1681 * possible ('start' would be set to NULL)
1744 /* check if need to update start pointer: if we just
1750 * below low watermark and set start to the next frag or
1793 /* rather straighforward way to deal with (not very) possible
1831 /* convert 12-bit short seq number to 24-bit long one
1853 struct sk_buff *from, struct sk_buff *to)
1856 while (from != to) {
1865 struct sk_buff *from, struct sk_buff *to)
1888 for (tot_len = n = 0, frag = from; frag != to; frag = frag->next, n++)
1893 "to %d, len %d\n", MP_SEQ(from),
1898 isdn_ppp_mp_discard(mp, from, to);
1902 while (from != to) {
1953 printk(KERN_ERR "ippp_bundle: binding to invalid slot %d\n",
1991 /* build a temporary stat struct and copy it to user space */
2150 /* Push an empty CCP Data Frame up to the daemon to wake it up and let it
2162 to the (de)compressor, but indeed is not covered by the current API to
2167 not have parameters. For this very special case it was sufficient to
2169 reset() entry to communicate all the necessary information between
2172 histories (eventually) and needs to Reset each of them independently
2174 additional parameter to Reqs/Acks.
2175 All that makes it harder to port the reset state engine into the
2177 it must be able to pass additional parameters and have multiple out-
2178 standing Acks. We are trying to achieve the impossible by handling
2186 but I don't have an idea how to do it better. */
2213 /* We may need to stuff an address and control field first */
2249 printk(KERN_ERR "ippp_ccp: failed to allocate reset data"
2354 necessary to fulfill it */
2363 /* And he wants us to send a request */
2386 " %d to be started\n", rp->id);
2432 " %d to be started\n", is->reset->lastid);
2457 up the state prior to calling the decompressors reset routine. */
2489 * if master = 0, we're trying to uncompress an per-link compressed packet,
2490 * as opposed to an compressed reconstructed-from-MPPP packet.
2491 * proto is updated to protocol field of uncompressed packet.
2553 /* Kick ipppd to recognize the error */
2567 // uncompressed packets are fed through the decompressor to
2720 /* TODO: This is not easy to decide here */
2767 /* Compressor reset handler decided how to answer */
2803 * too early, which may turn out to be a problem.
2814 * up to ipppd)
2815 * and I tried to modify this file according to that. --abp
2898 /* link to master? */