Next: , Previous: Data Packet Field Information, Up: Manipulating Data Packet Fields


4.4.2 Creation and Deletion

Data packet fields are created with bpipe_dpktf_add and bpipe_dpktf_array_add. These are similar to the header field creation routines, except that the location of the data is not specified. This will be determined by bpipe_map or bpipe_map_alloc. New data fields are placed in the core image, and usually are written to the output streams.

Fields can be deleted from two places, the core image or an output image. Those which are deleted from the core image are never seen by the application. The application can delete fields from either all output images or from selected output images. Deletion is performed by the bpipe_dpktf_delete routine.