Next: bpipe_dpktf_val, Previous: bpipe_dpktf_type, Up: Data Packet Field Manipulations
Return an access handle for a data packet field.
#include <bpipe/bpipe.h>DpktField *bpipe_dpktf( BPipe *bpipe, const char *name );
BPipe *bpipe
- the binary pipe with which the field is associated
const char *name
- the name of the field
This routine is used to obtain an access handle for a data packet field required by routines which extract data from the data packet field structure.
It returns a pointer to the data packet field's structure. It
returns NULL
if the field doesn't exist.