photon  1.1
Data Fields
photon_cid Struct Reference

The Photon completion ID used by the PWC API. More...

#include <photon.h>

Data Fields

union {
   uint64_t   u64
 Unsigned 64b representation of the ID. More...
 
   void *   data
 Pointer to user-defined completion ID data. More...
 
}; 
 
uint32_t size
 Size 0 indicates u64 field is used, otherwise data pointer is used. More...
 

Detailed Description

The Photon completion ID used by the PWC API.

Definition at line 78 of file photon.h.

Field Documentation

◆ @3

union { ... }

◆ data

void* photon_cid::data

Pointer to user-defined completion ID data.

Definition at line 81 of file photon.h.

◆ size

uint32_t photon_cid::size

Size 0 indicates u64 field is used, otherwise data pointer is used.

Definition at line 83 of file photon.h.

◆ u64

uint64_t photon_cid::u64

Unsigned 64b representation of the ID.

Definition at line 80 of file photon.h.


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