Detailed Description
This descriptor provides the option to have the 64-bit correlation key in the color1 field, alternatively (the default) 32-bits color and 32-bits hash value can be provided in color1. The color0 field contains the lower 8 bits of the color when the color1 field is used for correlation key, otherwise (the default) color0 contains the outer protocol number The default values for the dynamic parts are:
offset0 = outer L3
offset1 = outer L4
color0 = outer Protocol / Next Header field
color1[31:0] = color value
color1[63:32] = hash value
descrLength = 24
Data Structures | |
struct | NtDyn4Descr_s |
NT Variable descriptor 4. More... | |
Typedefs | |
typedef struct NtDyn4Descr_s | NtDyn4Descr_t |
NT Variable descriptor 4. More... | |
Data Structure Documentation
struct NtDyn4Descr_s |
NT Variable descriptor 4.
- Examples:
- net/capfileconvert/capfileconvert_example.c.
Definition at line 65 of file pktdescr_dyn4.h.
Data Fields | |
uint64_t | capLength:14 |
uint64_t | offset0:10 |
uint64_t | offset1:10 |
uint64_t | color0:8 |
uint64_t | rxPort:6 |
uint64_t | descrFormat:8 |
uint64_t | descrLength:6 |
uint64_t | tsColor:1 |
uint64_t | ntDynDescr:1 |
uint64_t | timestamp |
uint64_t | color1 |
Field Documentation
uint64_t NtDyn4Descr_s::capLength |
The length of the packet incl. descriptor.
Definition at line 67 of file pktdescr_dyn4.h.
uint64_t NtDyn4Descr_s::offset0 |
Programmable offset into the packet. Default is outer L3.
Definition at line 68 of file pktdescr_dyn4.h.
Referenced by taskReceiverMiss().
uint64_t NtDyn4Descr_s::offset1 |
Programmable offset into the packet. Default is outer L4.
Definition at line 69 of file pktdescr_dyn4.h.
Referenced by taskReceiverMiss().
uint64_t NtDyn4Descr_s::color0 |
Programmable packet color[8:0].
Definition at line 70 of file pktdescr_dyn4.h.
Referenced by taskReceiverMiss().
uint64_t NtDyn4Descr_s::rxPort |
The port that received the frame.
Definition at line 71 of file pktdescr_dyn4.h.
uint64_t NtDyn4Descr_s::descrFormat |
The descriptor type.
Definition at line 72 of file pktdescr_dyn4.h.
uint64_t NtDyn4Descr_s::descrLength |
The length of the descriptor in bytes.
- Examples:
- net/capfileconvert/capfileconvert_example.c.
Definition at line 73 of file pktdescr_dyn4.h.
Referenced by _Convert(), and taskReceiverMiss().
uint64_t NtDyn4Descr_s::tsColor |
Timestamp color. Reserved for future use.
Definition at line 74 of file pktdescr_dyn4.h.
uint64_t NtDyn4Descr_s::ntDynDescr |
Set to 1 to identify this descriptor as a dynamic descriptor.
Definition at line 75 of file pktdescr_dyn4.h.
uint64_t NtDyn4Descr_s::timestamp |
The time of arrival of the packet.
- Examples:
- net/capfileconvert/capfileconvert_example.c.
Definition at line 76 of file pktdescr_dyn4.h.
Referenced by _Convert().
uint64_t NtDyn4Descr_s::color1 |
Programmable packet color[31:0] and hash[63:32].
Definition at line 77 of file pktdescr_dyn4.h.
Typedef Documentation
typedef struct NtDyn4Descr_s NtDyn4Descr_t |
NT Variable descriptor 4.