Microchip® Advanced Software Framework

pbuf_custom_ref Struct Reference

A custom pbuf that holds a reference to another pbuf, which is freed when this custom pbuf is freed.

This is used to create a custom PBUF_REF that points into the original pbuf.

#include <ip_frag.h>

Data Fields

struct pbuforiginal
 pointer to the original pbuf that is referenced More...
 
struct pbuf_custom pc
 'base class' More...
 

struct pbuf* pbuf_custom_ref::original

pointer to the original pbuf that is referenced

Referenced by ip_frag(), and ipfrag_free_pbuf_custom().

struct pbuf_custom pbuf_custom_ref::pc

'base class'

Referenced by ip_frag().