next up previous contents index
Next: 40 Linux Driver Set: Up: 39.5 API reference Previous: 39.5.2 oskit_packet_dispatcher_register: Register an

39.5.3 oskit_packet_dispatcher_delete: Disassociate a packet owner / packet pair

 

SYNOPSIS

#include <oskit/pd.h>

oskit_s32_t oskit_packet_dispatcher_register( oskit_pd_t **pd, oskit_s32_t fid);

DESCRIPTION

This function is used to disassociate a packet owner (flow, process, whatever) from a packet description.

PARAMETERS

pd
Handle to the packet dispatcher returned from previous call to oskit_packet_dispatcher_create.
pdid
The packet dispatcher ID of the owner/packet description pair to be deleted. This ID was previously returned in a call to oskit_packet_dispatcher_register.

RETURNS

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

   figure27553
Figure: The Packet Dispatcher architecture has two data paths: registration and dispatch. The PID table provides the level-of-indirection necessary to map filter-generated Filter IDs with caller-supplied PIDs.



Utah Flux Research Group