#include <pbuf.h>
Collaboration diagram for pbuf:
Data Fields | |
pbuf * | next |
void * | payload |
u16_t | tot_len |
u16_t | len |
u16_t | flags |
u16_t | ref |
|
Definition at line 80 of file pbuf.h. Referenced by pbuf_free(), pbuf_header(), and pbuf_realloc(). |
|
Definition at line 77 of file pbuf.h. Referenced by copy_from_pbuf(), dhcp_recv(), icmp_input(), ip_input(), ip_output_if(), netbuf_data(), netbuf_ref(), pbuf_dechain(), pbuf_free(), pbuf_header(), pbuf_init(), and pbuf_realloc(). |
|
next pbuf in singly linked pbuf chain Definition at line 65 of file pbuf.h. Referenced by copy_from_pbuf(), netbuf_next(), pbuf_chain(), pbuf_clen(), pbuf_dechain(), pbuf_free(), pbuf_init(), pbuf_pool_alloc(), pbuf_pool_free(), pbuf_ref_chain(), and pbuf_refresh(). |
|
pointer to the actual data in the buffer Definition at line 68 of file pbuf.h. Referenced by arp_arp_input(), arp_ip_input(), copy_from_pbuf(), dhcp_recv(), etharp_arp_input(), etharp_ip_input(), etharp_output(), http_recv(), icmp_dest_unreach(), icmp_input(), icmp_time_exceeded(), ip_frag(), ip_input(), ip_output_if(), ip_reass(), netbuf_alloc(), netbuf_data(), netbuf_ref(), pbuf_free(), and pbuf_header(). |
|
the reference count always equals the number of pointers that refer to this pbuf. This can be pointers from an application, the stack itself, or pbuf->next pointers from a chain. Definition at line 87 of file pbuf.h. Referenced by pbuf_free(), pbuf_ref(), and pbuf_ref_chain(). |
|
total length of this buffer and all next buffers in chain invariant: p->tot_len == p->len + (p->next? p->next->tot_len: 0) Definition at line 74 of file pbuf.h. Referenced by arp_arp_input(), dhcp_recv(), dhcp_unfold_reply(), etharp_arp_input(), http_recv(), icmp_input(), ip_frag(), ip_input(), ip_output_if(), loopif_output(), netbuf_len(), netbuf_ref(), netconn_send(), pbuf_chain(), pbuf_dechain(), pbuf_free(), pbuf_header(), and pbuf_realloc(). |