CNDP 22.08.0
Loading...
Searching...
No Matches
pktmbuf_s Struct Reference

#include <pktmbuf.h>

Data Structures

union  [union].__unnamed1__

Data Fields

void * pooldata
void * buf_addr
uint32_t hash
uint32_t meta_index
uint16_t data_off
uint16_t lport
uint16_t buf_len
uint16_t data_len
uint64_t ol_flags

Detailed Description

The generic pktmbuf_s, containing a packet mbuf.

Definition at line 102 of file pktmbuf.h.

Field Documentation

◆ pooldata

void* pooldata

pktmbuf information pool data pointer

Definition at line 103 of file pktmbuf.h.

◆ buf_addr

void* buf_addr

Virtual address of segment buffer

Definition at line 104 of file pktmbuf.h.

◆ hash

uint32_t hash

Hash value

Definition at line 105 of file pktmbuf.h.

◆ meta_index

uint32_t meta_index

Index into the metadata array if present

Definition at line 106 of file pktmbuf.h.

◆ data_off

uint16_t data_off

Data offset

Definition at line 107 of file pktmbuf.h.

◆ lport

uint16_t lport

RX lport number

Definition at line 108 of file pktmbuf.h.

◆ buf_len

uint16_t buf_len

Length of segment buffer - sizeof(pktmbuf_t)

Definition at line 109 of file pktmbuf.h.

◆ data_len

uint16_t data_len

Amount of data in segment buffer

Examples
examples/cndpfwd/acl-func.c.

Definition at line 110 of file pktmbuf.h.

◆ ol_flags

uint64_t ol_flags

Offload flags

Definition at line 195 of file pktmbuf.h.


The documentation for this struct was generated from the following file: