User meta data container

Reference Documentation

Platform
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.6
Napatech Software Suite: User meta data container

Detailed Description

The following macros get and set user defined meta data. Use these fields as house-keeping storage. No NTAPI function use these meta containers for anything.

Macros

#define NT_NET_GET_USER_META_ARG0(_hNetBuf_)
 Returns the meta data arg0 uintptr_t value. More...
 
#define NT_NET_GET_USER_META_ARG1(_hNetBuf_)
 Returns the meta data arg1 uintptr_t value. More...
 
#define NT_NET_GET_USER_META_ARG2(_hNetBuf_)
 Returns the meta data arg2 uintptr_t value. More...
 
#define NT_NET_SET_USER_META_ARG0(_hNetBuf_, value)
 Set the meta data arg0 uintptr_t value. More...
 
#define NT_NET_SET_USER_META_ARG1(_hNetBuf_, value)
 Set the meta data arg1 uintptr_t value. More...
 
#define NT_NET_SET_USER_META_ARG2(_hNetBuf_, value)
 Set the meta data arg2 uintptr_t value. More...
 

Macro Definition Documentation

#define NT_NET_GET_USER_META_ARG0 (   _hNetBuf_)

Returns the meta data arg0 uintptr_t value.

Parameters
[in]_hNetBuf_NetBuf pointer

Definition at line 1777 of file stream_net.h.

#define NT_NET_GET_USER_META_ARG1 (   _hNetBuf_)

Returns the meta data arg1 uintptr_t value.

Parameters
[in]_hNetBuf_NetBuf pointer

Definition at line 1784 of file stream_net.h.

#define NT_NET_GET_USER_META_ARG2 (   _hNetBuf_)

Returns the meta data arg2 uintptr_t value.

Parameters
[in]_hNetBuf_NetBuf pointer

Definition at line 1791 of file stream_net.h.

#define NT_NET_SET_USER_META_ARG0 (   _hNetBuf_,
  value 
)

Set the meta data arg0 uintptr_t value.

Parameters
[in]_hNetBuf_NetBuf pointer
[in]valueAn uintptr_t sized value

Definition at line 1799 of file stream_net.h.

#define NT_NET_SET_USER_META_ARG1 (   _hNetBuf_,
  value 
)

Set the meta data arg1 uintptr_t value.

Parameters
[in]_hNetBuf_NetBuf pointer
[in]valueAn uintptr_t sized value

Definition at line 1807 of file stream_net.h.

#define NT_NET_SET_USER_META_ARG2 (   _hNetBuf_,
  value 
)

Set the meta data arg2 uintptr_t value.

Parameters
[in]_hNetBuf_NetBuf pointer
[in]valueAn uintptr_t sized value

Definition at line 1815 of file stream_net.h.