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


A.3.10 bpipe_dpktf_name

Retrieve the name of a data packet field.

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
const char *bpipe_dpktf_name(DpktField *dpktf);

Parameters

DpktField *dpktf
a pointer to the data packet field

Description

Retrieve the name of a data packet field.

Returns

This routine returns a pointer to the name of a data packet field, if it exists. If it doesn't exist, it returns NULL. Please note that the pointer returned points to the original copy of the field's name. Do not change this data!.