#include <pktmbuf.h>
◆ pooldata
pktmbuf information pool data pointer
Definition at line 103 of file pktmbuf.h.
◆ buf_addr
Virtual address of segment buffer
Definition at line 104 of file pktmbuf.h.
◆ hash
◆ meta_index
Index into the metadata array if present
Definition at line 106 of file pktmbuf.h.
◆ data_off
◆ lport
◆ buf_len
Length of segment buffer - sizeof(pktmbuf_t)
Definition at line 109 of file pktmbuf.h.
◆ data_len
◆ packet_type
L2/L3/L4 and tunnel information.
Definition at line 121 of file pktmbuf.h.
◆ l2_type
◆ l3_type
◆ l4_type
◆ tun_type
◆ inner_esp_next_proto
uint8_t inner_esp_next_proto |
ESP next protocol type, valid if CNE_PTYPE_TUNNEL_ESP tunnel type is set on both Tx and Rx.
Definition at line 130 of file pktmbuf.h.
◆ inner_l2_type
◆ inner_l3_type
◆ inner_l4_type
◆ refcnt
Non-atomically accessed refcnt
Definition at line 157 of file pktmbuf.h.
Reference counter. Its size should at least equal to the size of lport field (16 bits), to support zero-copy broadcast. It should only be accessed using the following functions: pktmbuf_refcnt_update(), pktmbuf_refcnt_read(), and pktmbuf_refcnt_set(). The functionality of these functions (atomic, or non-atomic) is controlled by the CONFIG_CNE_MBUF_REFCNT_ATOMIC config option.
◆ tx_offload
combined for easy fetch
Definition at line 165 of file pktmbuf.h.
◆ l2_len
L2 (MAC) Header Length for non-tunneling pkt. Outer_L4_len + ... + Inner_L2_len for tunneling pkt.
Definition at line 168 of file pktmbuf.h.
◆ l3_len
L3 (IP) Header Length.
Definition at line 172 of file pktmbuf.h.
◆ l4_len
L4 (TCP/UDP) Header Length.
Definition at line 173 of file pktmbuf.h.
◆ tso_segsz
TCP TSO segment size
Definition at line 174 of file pktmbuf.h.
◆ outer_l3_len
Outer L3 (IP) Hdr Length.
Definition at line 188 of file pktmbuf.h.
◆ outer_l2_len
Outer L2 (MAC) Hdr Length.
Definition at line 189 of file pktmbuf.h.
◆ ol_flags
◆ userptr
< Extra user supplied data or pointer to data 64bit user supplied pointer (optional)
Definition at line 199 of file pktmbuf.h.
◆ udata64
64bit data value (optional)
Definition at line 200 of file pktmbuf.h.
The documentation for this struct was generated from the following file: