Next: , Previous: fill_dpktf_ll, Up: Internal Functions


A.5.39 fill_input_to_core_map

Given a data packet field, determine the copy operations necessary to map from input to core state.

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
static int fill_input_to_core_map( void *data, void *udata );

Parameters

void *data
Not Documented.
void *udata
Not Documented.

Description

This routine is an action routine passed to the linked list package. It takes a passed data packet field and generates a list of copy operations which map the data packet field from its input state to its core state. It uses and updates a passed offset from the start of the core image.

Returns

It returns zero upon success, non-zero upon failure.

Errors

Upon error bpipe_errno is set to one of the following:

BPEBADARG
the data packet's input matrix was bogus
BPENOMEM
a memory allocation failed