nip_mem_ptr_t Struct Reference

Structure to handle pointers to managed or unmanaged memory. More...

#include <mem.h>


Data Fields

nip_mem_handle_t id
 ID of memory block or NIP_MEM_NULL.
uint8_t * ptr
 offset in block memory, or pointer to data if id is NIP_MEM_NULL


Detailed Description

Structure to handle pointers to managed or unmanaged memory.

If the id attribute of the structure is NIP_MEM_NULL, then ptr holds an actual pointer, for direct usage. If id is not NIP_MEM_NULL, ptr defines and offset from the beginning of the data part of the managed memory block specified by id.

Definition at line 146 of file mem.h.


Field Documentation

offset in block memory, or pointer to data if id is NIP_MEM_NULL

Definition at line 149 of file mem.h.

Referenced by nip_mdns_cache_task(), nip_mdns_disp_check_cache(), nip_mdns_disp_check_queries(), nip_mdns_init(), nip_mdns_parse_packet(), nip_mdns_register_name(), nip_mdns_tx_name(), and nip_udp_data_mem_ptr().


The documentation for this struct was generated from the following file:

Generated on Thu Jul 10 01:10:09 2008 for NIP by  doxygen 1.5.5