/[lwip]/lwip/src/core/pbuf.c
ViewVC logotype

Diff of /lwip/src/core/pbuf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by likewise, Sat Oct 19 13:00:24 2002 UTC revision 1.2 by likewise, Mon Nov 11 11:22:49 2002 UTC
# Line 555  pbuf_ref(struct pbuf *p) Line 555  pbuf_ref(struct pbuf *p)
555    }    }
556    ++(p->ref);    ++(p->ref);
557  }  }
558    
559    /*------------------------------------------------------------------------------
560    /* pbuf_ref_chain():
561     *
562     * Increments the reference count of all pbufs in a chain.
563     */
564    void
565    pbuf_ref_chain(struct pbuf *p)
566    {
567      while (p != NULL) {
568        p->ref++;
569        p=p->next;
570      }
571    }
572  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/
573  /* pbuf_chain():  /* pbuf_chain():
574   *   *

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26