/[lwip]/lwip/src/include/lwip/pbuf.h
ViewVC logotype

Diff of /lwip/src/include/lwip/pbuf.h

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

revision 1.2 by likewise, Mon Nov 11 11:23:07 2002 UTC revision 1.3 by likewise, Mon Nov 18 09:51:48 2002 UTC
# Line 50  typedef enum { Line 50  typedef enum {
50  typedef enum {  typedef enum {
51    PBUF_RAM,    PBUF_RAM,
52    PBUF_ROM,    PBUF_ROM,
53      PBUF_REF,
54    PBUF_POOL    PBUF_POOL
55  } pbuf_flag;  } pbuf_flag;
56    
# Line 59  typedef enum { Line 60  typedef enum {
60  #define PBUF_FLAG_ROM   0x01    /* Flags that pbuf data is stored in ROM. */  #define PBUF_FLAG_ROM   0x01    /* Flags that pbuf data is stored in ROM. */
61  #define PBUF_FLAG_POOL  0x02    /* Flags that the pbuf comes from the  #define PBUF_FLAG_POOL  0x02    /* Flags that the pbuf comes from the
62                                     pbuf pool. */                                     pbuf pool. */
63    #define PBUF_FLAG_REF   0x03
64    
65  struct pbuf {  struct pbuf {
66    struct pbuf *next;    struct pbuf *next;
# Line 149  void pbuf_chain(struct pbuf *h, struct p Line 151  void pbuf_chain(struct pbuf *h, struct p
151     the pbuf chain or NULL if the pbuf p was not chained. */     the pbuf chain or NULL if the pbuf p was not chained. */
152  struct pbuf *pbuf_dechain(struct pbuf *p);  struct pbuf *pbuf_dechain(struct pbuf *p);
153    
154    struct pbuf *pbuf_unref(struct pbuf *f);
155    
156    
157  #endif /* __LWIP_PBUF_H__ */  #endif /* __LWIP_PBUF_H__ */

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