Next: , Previous: bpipe_dpktf_next, Up: Data Packet Field Manipulations


A.3.12 bpipe_dpktf_offset

Get the offset of a data field in a data packet.

Synopsis

     #include <bpipe.h>
     
     
     
size_t bpipe_dpktf_offset( DpktField *dpktf, );

Parameters

DpktField *dpktf
A data packet field handle obtained from either bpipe_dpktf or bpipe_dpktf_next.

Description

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.