Next: bpipe_dpktf_resize_core, Previous: bpipe_dpktf_next, Up: Data Packet Field Manipulations
Get the offset of a data field in a data packet.
#include <bpipe.h>size_t bpipe_dpktf_offset( DpktField *dpktf, );
DpktField *dpktf
- A data packet field handle obtained from either
bpipe_dpktf
orbpipe_dpktf_next
.
This C
preprocessor macro will be replaced by the offset into
a data packet's core image of
the specified data packet field.
Each of the arguments to the macro is used only once, so complex expressions with side effects will not result in unsavory results. All arguments are assumed to be legal.