next up previous contents index
Next: 29 Linux Driver Set: Up: 28.7 pfq_leaf: Interface to Previous: 28.7.3 pfq_leaf_set_share: allocate a

28.7.4 pfq_leaf_get_netio: get the oskit_netio corresonding to this leaf

 

SYNOPSIS

#include <oskit/hpfq.h>

oskit_error_t pfq_leaf_get_netio(pfq_leaf_t *leaf, oskit_netio_t **out_netio);

DESCRIPTION

Retrieves a pointer to an oskit_netio that can be used to send data by the session corresponding to this leaf.

PARAMETERS

leaf
The leaf who's oskit_netio is of interest.
out_netio
A pointer to the oskit_netio object that can be used to send data by the session corresponding to this leaf.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.


University of Utah Flux Research Group