/[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.2 by likewise, Mon Nov 11 11:22:49 2002 UTC revision 1.3 by jani, Mon Nov 18 07:36:29 2002 UTC
# Line 182  pbuf_pool_free(struct pbuf *p) Line 182  pbuf_pool_free(struct pbuf *p)
182   *   *
183   * * PBUF_RAM: buffer memory for pbuf is allocated as one large   * * PBUF_RAM: buffer memory for pbuf is allocated as one large
184   *             chunk. This includes protocol headers as well.   *             chunk. This includes protocol headers as well.
185   * * RBUF_ROM: no buffer memory is allocated for the pbuf, even for   * * PBUF_ROM: no buffer memory is allocated for the pbuf, even for
186   *             protocol headers. Additional headers must be prepended   *             protocol headers. Additional headers must be prepended
187   *             by allocating another pbuf and chain in to the front of   *             by allocating another pbuf and chain in to the front of
188   *             the ROM pbuf.             *             the ROM pbuf.          
189   * * PBUF_ROOL: the pbuf is allocated as a pbuf chain, with pbufs from   * * PBUF_POOL: the pbuf is allocated as a pbuf chain, with pbufs from
190   *              the pbuf pool that is allocated during pbuf_init().   *              the pbuf pool that is allocated during pbuf_init().
191   */   */
192  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/
# Line 556  pbuf_ref(struct pbuf *p) Line 556  pbuf_ref(struct pbuf *p)
556    ++(p->ref);    ++(p->ref);
557  }  }
558    
559  /*------------------------------------------------------------------------------  /*------------------------------------------------------------------------------*/
560  /* pbuf_ref_chain():  /* pbuf_ref_chain():
561   *   *
562   * Increments the reference count of all pbufs in a chain.   * Increments the reference count of all pbufs in a chain.

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

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