pbuf_type::PBUF_ROM is only used within LwIP.
 
Symbols
loading...
Files
loading...

pbuf_type::PBUF_ROM

pbuf data is stored in ROM, i.e. struct pbuf and its payload are located in totally different memory areas. Since it points to ROM, payload does not have to be copied when queued for transmission.

References

LocationReferrerText
pbuf.h:156
pbuf.c:232pbuf_alloc()
case PBUF_ROM:
pbuf.c:330pbuf_alloc_reference()
LWIP_ASSERT("invalid pbuf_type", (type == PBUF_REF) || (type == PBUF_ROM));
tcp_out.c:564tcp_write()
if ((concat_p = pbuf_alloc(PBUF_RAW, seglen, PBUF_ROM)) == NULL) {
tcp_out.c:627tcp_write()
if ((p2 = pbuf_alloc(PBUF_TRANSPORT, seglen, PBUF_ROM)) == NULL) {

Data Use

Functions using pbuf_type::PBUF_ROM
pbuf_type::PBUF_ROM