Mistake on this page?
Report an issue in GitHub or email us
Macros

Macros

#define PBUF_LINK_HLEN   (14 + ETH_PAD_SIZE)
 PBUF_LINK_HLEN: the number of bytes that should be allocated for a link level header. More...
 
#define PBUF_LINK_ENCAPSULATION_HLEN   0
 PBUF_LINK_ENCAPSULATION_HLEN: the number of bytes that should be allocated for an additional encapsulation header before ethernet headers (e.g. More...
 
#define PBUF_POOL_BUFSIZE   LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_ENCAPSULATION_HLEN+PBUF_LINK_HLEN)
 PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. More...
 
#define LWIP_PBUF_REF_T   u8_t
 LWIP_PBUF_REF_T: Refcount type in pbuf. More...
 

Detailed Description

Macro Definition Documentation

#define LWIP_PBUF_REF_T   u8_t

LWIP_PBUF_REF_T: Refcount type in pbuf.

Default width of u8_t can be increased if 255 refs are not enough for you.

Definition at line 1556 of file opt.h.

#define PBUF_LINK_ENCAPSULATION_HLEN   0

PBUF_LINK_ENCAPSULATION_HLEN: the number of bytes that should be allocated for an additional encapsulation header before ethernet headers (e.g.

802.11)

Definition at line 1539 of file opt.h.

#define PBUF_LINK_HLEN   (14 + ETH_PAD_SIZE)

PBUF_LINK_HLEN: the number of bytes that should be allocated for a link level header.

The default is 14, the standard value for Ethernet.

Definition at line 1530 of file opt.h.

PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool.

The default is designed to accommodate single full size TCP frame in one pbuf, including TCP_MSS, IP header, and link header.

Definition at line 1548 of file opt.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.