User meta data container

Reference Documentation

product_line_custom
Intel® PAC
Napatech SmartNIC
category
Reference Information
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 1654 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 1661 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 1668 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 1676 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 1684 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 1692 of file stream_net.h.