#include <pbuf.h>
Data Fields | |
u8_t | flags |
misc flags More... | |
u16_t | len |
length of this buffer More... | |
struct pbuf * | next |
next pbuf in singly linked pbuf chain More... | |
void * | payload |
pointer to the actual data in the buffer More... | |
u16_t | ref |
the reference count always equals the number of pointers that refer to this pbuf. More... | |
u16_t | tot_len |
total length of this buffer and all next buffers in chain belonging to the same packet. More... | |
u8_t | type |
pbuf_type as u8_t instead of enum to save space More... | |
u8_t pbuf::flags |
misc flags
Referenced by ethernet_input(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_free(), tcp_input(), and tcp_process_refused_data().
u16_t pbuf::len |
length of this buffer
Referenced by dhcp_create_msg(), dhcp_parse_reply(), dhcp_recv(), etharp_arp_input(), etharp_query(), etharp_raw(), ethernet_input(), icmp6_input(), icmp6_send_response(), icmp_input(), icmp_send_response(), inet_chksum_pbuf(), inet_cksum_pseudo_base(), inet_cksum_pseudo_partial_base(), ip6_input(), ip6_output_if_src(), ip_frag(), ip_input(), ip_reass_chain_frag_into_datagram_and_validate(), mld6_input(), mld6_send(), nd6_input(), nd6_send_na(), nd6_send_ns(), nd6_send_rs(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_cat(), pbuf_copy(), pbuf_copy_partial(), pbuf_dechain(), pbuf_get_at(), pbuf_header_impl(), pbuf_memcmp(), pbuf_put_at(), pbuf_realloc(), pbuf_skip(), pbuf_take(), pbuf_take_at(), pbuf_take_partial(), ping_send(), raw_sendto(), tcp_enqueue_flags(), tcp_input(), tcp_output_alloc_header(), tcp_output_segment(), tcp_pbuf_prealloc(), tcp_receive(), tcp_rst_impl(), tcp_write(), udp_input(), wilc_netif_rx_callback(), and wilc_netif_tx().
struct pbuf* pbuf::next |
next pbuf in singly linked pbuf chain
Referenced by dhcp_parse_reply(), etharp_query(), etharp_update_arp_entry(), inet_chksum_pbuf(), inet_cksum_pseudo_base(), inet_cksum_pseudo_partial_base(), ip_frag(), nd6_queue_packet(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_cat(), pbuf_clen(), pbuf_coalesce(), pbuf_copy(), pbuf_copy_partial(), pbuf_dechain(), pbuf_free(), pbuf_memcmp(), pbuf_realloc(), pbuf_skip(), pbuf_take(), pbuf_take_at(), pbuf_take_partial(), ping_send(), tcp_input(), tcp_pbuf_prealloc(), tcp_receive(), tcp_write(), wilc_netif_rx_callback(), and wilc_netif_tx().
void* pbuf::payload |
pointer to the actual data in the buffer
Referenced by dhcp_create_msg(), dhcp_parse_reply(), dhcp_recv(), etharp_arp_input(), etharp_output(), etharp_raw(), etharp_send_ip(), ethernet_input(), ethip6_send(), icmp6_input(), icmp6_send_response(), icmp_input(), icmp_send_response(), inet_chksum_pbuf(), inet_cksum_pseudo_base(), inet_cksum_pseudo_partial_base(), ip6_input(), ip6_options_add_hbh_ra(), ip6_output(), ip6_output_if_src(), ip6_reass(), ip6_reass_free_complete_datagram(), ip_frag(), ip_input(), ip_reass(), ip_reass_chain_frag_into_datagram_and_validate(), ip_reass_free_complete_datagram(), mld6_input(), mld6_send(), nd6_input(), nd6_send_na(), nd6_send_ns(), nd6_send_q(), nd6_send_rs(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_copy(), pbuf_copy_partial(), pbuf_get_at(), pbuf_header_impl(), pbuf_put_at(), pbuf_realloc(), pbuf_take(), pbuf_take_at(), pbuf_take_partial(), ping_recv(), ping_send(), raw_input(), raw_sendto(), tcp_create_segment(), tcp_input(), tcp_keepalive(), tcp_output_alloc_header(), tcp_output_segment(), tcp_rst_impl(), tcp_send_empty_ack(), tcp_write(), tcp_zero_window_probe(), udp_input(), wilc_netif_rx_callback(), and wilc_netif_tx().
u16_t pbuf::ref |
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.
Referenced by pbuf_alloc(), pbuf_alloced_custom(), pbuf_free(), and pbuf_ref().
u16_t pbuf::tot_len |
total length of this buffer and all next buffers in chain belonging to the same packet.
For non-queue packet chains this is the invariant: p->tot_len == p->len + (p->next? p->next->tot_len: 0)
Referenced by dhcp_parse_reply(), dhcp_recv(), dns_recv(), etharp_arp_input(), etharp_query(), icmp6_input(), icmp6_send_response(), icmp_input(), ip6_input(), ip6_output_if_src(), ip_frag(), ip_input(), lwip_dhcp_server_fn(), nd6_input(), nd6_queue_packet(), netconn_drain(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_cat(), pbuf_coalesce(), pbuf_copy(), pbuf_dechain(), pbuf_header_impl(), pbuf_memfind(), pbuf_read16be(), pbuf_read32le(), pbuf_read8(), pbuf_realloc(), pbuf_strstr(), pbuf_take(), pbuf_take_at(), pbuf_write16be(), pbuf_write32be(), pbuf_write32le(), pbuf_write8(), ping_recv(), ping_send(), raw_sendto(), recv_raw(), recv_tcp(), recv_udp(), tcp_create_segment(), tcp_input(), tcp_keepalive(), tcp_output_segment(), tcp_pbuf_prealloc(), tcp_receive(), tcp_recv_null(), tcp_rst_impl(), tcp_send_empty_ack(), tcp_write(), tcp_zero_window_probe(), udp_input(), wilc_netif_rx_callback(), and wilc_netif_tx().
u8_t pbuf::type |
pbuf_type as u8_t instead of enum to save space
Referenced by etharp_query(), nd6_queue_packet(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_free(), pbuf_header_impl(), and pbuf_realloc().