next up previous contents index
Next: 28.6 pfq_sched: Interface to Up: 28.5 External Requirements and Previous: 28.5.6 pfq_ssf_create: create an

28.5.7 pfq_leaf_create: create a leaf node

 

SYNOPSIS

#include <oskit/hpfq.h>

oskit_error_t pfq_leaf_create(pfq_leaf_t **out_leaf);

DESCRIPTION

Create a leaf PFQ node.

The oskit_netio that can be used by the session corresponding to this leaf can be retreived by calling pfq_leaf_get_netio, described elsewhere in this document.

PARAMETERS

out_leaf
A pointer to the pfq_leaf object representing the the created intermediate node.

This can be then used with future pfq_leaf methods to set the share value, etc.

RETURNS

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



University of Utah Flux Research Group