ReactOS Fundraising Campaign 2012
 
€ 4,060 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pbuf.h File Reference
#include "lwip/opt.h"
#include "lwip/err.h"

Go to the source code of this file.

Data Structures

struct  pbuf

Defines

#define LWIP_SUPPORT_CUSTOM_PBUF   (IP_FRAG && !IP_FRAG_USES_STATIC_BUF && !LWIP_NETIF_TX_SINGLE_PBUF)
#define PBUF_TRANSPORT_HLEN   20
#define PBUF_IP_HLEN   20
#define PBUF_FLAG_PUSH   0x01U
#define PBUF_FLAG_IS_CUSTOM   0x02U
#define PBUF_FLAG_MCASTLOOP   0x04U
#define pbuf_init()

Enumerations

enum  pbuf_layer { PBUF_TRANSPORT, PBUF_IP, PBUF_LINK, PBUF_RAW }
enum  pbuf_type { PBUF_RAM, PBUF_ROM, PBUF_REF, PBUF_POOL }

Functions

struct pbufpbuf_alloc (pbuf_layer l, u16_t length, pbuf_type type)
void pbuf_realloc (struct pbuf *p, u16_t size)
u8_t pbuf_header (struct pbuf *p, s16_t header_size)
void pbuf_ref (struct pbuf *p)
u8_t pbuf_free (struct pbuf *p)
u8_t pbuf_clen (struct pbuf *p)
void pbuf_cat (struct pbuf *head, struct pbuf *tail)
void pbuf_chain (struct pbuf *head, struct pbuf *tail)
struct pbufpbuf_dechain (struct pbuf *p)
err_t pbuf_copy (struct pbuf *p_to, struct pbuf *p_from)
u16_t pbuf_copy_partial (struct pbuf *p, void *dataptr, u16_t len, u16_t offset)
err_t pbuf_take (struct pbuf *buf, const void *dataptr, u16_t len)
struct pbufpbuf_coalesce (struct pbuf *p, pbuf_layer layer)
u8_t pbuf_get_at (struct pbuf *p, u16_t offset)
u16_t pbuf_memcmp (struct pbuf *p, u16_t offset, const void *s2, u16_t n)
u16_t pbuf_memfind (struct pbuf *p, const void *mem, u16_t mem_len, u16_t start_offset)
u16_t pbuf_strstr (struct pbuf *p, const char *substr)

Generated on Tue May 22 2012 06:07:16 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.