Diff: LPC2368/lwip/include/lwip/pbuf.h
- Revision:
- 3:e02ec42cf9c8
- Parent:
- 2:1f10f8ab527b
diff -r 1f10f8ab527b -r e02ec42cf9c8 LPC2368/lwip/include/lwip/pbuf.h --- a/LPC2368/lwip/include/lwip/pbuf.h Thu Jul 22 11:31:59 2010 +0000 +++ b/LPC2368/lwip/include/lwip/pbuf.h Fri Aug 06 10:42:05 2010 +0000 @@ -40,7 +40,7 @@ extern "C" { #endif -/** Currently, the pbuf_custom code is only needed for one specific configuration +/* Currently, the pbuf_custom code is only needed for one specific configuration * of IP_FRAG */ #define LWIP_SUPPORT_CUSTOM_PBUF (IP_FRAG && !IP_FRAG_USES_STATIC_BUF && !LWIP_NETIF_TX_SINGLE_PBUF) @@ -62,19 +62,19 @@ } pbuf_type; -/** indicates this packet's data should be immediately passed to the application */ +/* indicates this packet's data should be immediately passed to the application */ #define PBUF_FLAG_PUSH 0x01U -/** indicates this is a custom pbuf: pbuf_free and pbuf_header handle such a +/* indicates this is a custom pbuf: pbuf_free and pbuf_header handle such a a pbuf differently */ #define PBUF_FLAG_IS_CUSTOM 0x02U -/** indicates this pbuf is UDP multicast to be looped back */ +/* indicates this pbuf is UDP multicast to be looped back */ #define PBUF_FLAG_MCASTLOOP 0x04U struct pbuf { - /** next pbuf in singly linked pbuf chain */ + /* next pbuf in singly linked pbuf chain */ struct pbuf *next; - /** pointer to the actual data in the buffer */ + /* pointer to the actual data in the buffer */ void *payload; /** @@ -86,13 +86,13 @@ */ u16_t tot_len; - /** length of this buffer */ + /* length of this buffer */ u16_t len; - /** pbuf_type as u8_t instead of enum to save space */ + /* pbuf_type as u8_t instead of enum to save space */ u8_t /*pbuf_type*/ type; - /** misc flags */ + /* misc flags */ u8_t flags; /** @@ -104,14 +104,14 @@ }; #if LWIP_SUPPORT_CUSTOM_PBUF -/** Prototype for a function to free a custom pbuf */ +/* Prototype for a function to free a custom pbuf */ typedef void (*pbuf_free_custom_fn)(struct pbuf *p); -/** A custom pbuf: like a pbuf, but following a function pointer to free it. */ +/* A custom pbuf: like a pbuf, but following a function pointer to free it. */ struct pbuf_custom { - /** The actual pbuf */ + /* The actual pbuf */ struct pbuf pbuf; - /** This function is called when pbuf_free deallocates this pbuf(_custom) */ + /* This function is called when pbuf_free deallocates this pbuf(_custom) */ pbuf_free_custom_fn custom_free_function; }; #endif /* LWIP_SUPPORT_CUSTOM_PBUF */