Defines
Packet Library Defined Symbols
Packet Library

Defines

#define PKTLIB_MAX_HEAP_NAME   32
 This is the MAXIMUM length of the heap name.
#define PKTLIB_CLONE_PACKET   0x1
 Internal flag which indicates that the packet has been cloned and there are references held on the packet.
#define PKTLIB_SHARED_HEAP_PACKET   0x2
 Internal flag which indicates that the packet belongs to a shared heap.
#define PKTLIB_HEAP_IDX_START_BIT   28
 Packet Library Heap Index starting bit position.
#define PKTLIB_HEAP_IDX_END_BIT   31
 Packet Library Heap Index ending bit position.
#define PKTLIB_REF_CNT_START_BIT   22
 Packet Library Ref count starting bit position.
#define PKTLIB_REF_CNT_END_BIT   27
 Packet Library Ref count ending bit position.
#define PKTLIB_INT_FLAGS_START_BIT   30
 Packet Library flags starting bit position.
#define PKTLIB_INT_FLAGS_END_BIT   31
 Packet Library flags ending bit position.
#define PKTLIB_MAX_PACKET_HEAP   (1 << (PKTLIB_HEAP_IDX_END_BIT - PKTLIB_HEAP_IDX_START_BIT + 1))
 This is the MAXIMUM numbers of Packet Library heaps which can exist in the system.
#define PKTLIB_MAX_REF_COUNT   ((1 << (PKTLIB_REF_CNT_END_BIT - PKTLIB_REF_CNT_START_BIT + 1)) - 1)
 This is the MAX reference count for a packet.
#define PKTLIB_MAX_SUPER_MANAGED_HEAPS   4
 This is the MAX number of heaps which can be managed by a super heap.

Copyright 2014, Texas Instruments Incorporated