API Reference Manual  1.45.0
api/spec/event.h File Reference

ODP event. More...

#include <odp/visibility_begin.h>
#include <odp/api/event_types.h>
#include <odp/api/packet_types.h>
#include <odp/api/pool_types.h>
#include <odp/visibility_end.h>
Include dependency graph for api/spec/event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

odp_event_type_t odp_event_type (odp_event_t event)
 Event type of an event. More...
 
odp_event_subtype_t odp_event_subtype (odp_event_t event)
 Event subtype of an event. More...
 
odp_event_type_t odp_event_types (odp_event_t event, odp_event_subtype_t *subtype)
 Event type and subtype of an event. More...
 
void odp_event_types_multi (const odp_event_t event[], odp_event_type_t type[], odp_event_subtype_t subtype[], int num)
 Event types and subtypes of multiple events. More...
 
int odp_event_type_multi (const odp_event_t event[], int num, odp_event_type_t *type)
 Event type of multiple events. More...
 
odp_pool_t odp_event_pool (odp_event_t event)
 Event pool. More...
 
void * odp_event_user_area (odp_event_t event)
 Event user area. More...
 
void * odp_event_user_area_and_flag (odp_event_t event, int *flag)
 Event user area and flag. More...
 
void odp_event_user_flag_set (odp_event_t event, int val)
 Set event user flag. More...
 
int odp_event_filter_packet (const odp_event_t event[], odp_packet_t packet[], odp_event_t remain[], int num)
 Filter and convert packet events. More...
 
uint64_t odp_event_to_u64 (odp_event_t hdl)
 Get printable value for an odp_event_t. More...
 
int odp_event_is_valid (odp_event_t event)
 Check that event is valid. More...
 
void odp_event_free (odp_event_t event)
 Free event. More...
 
void odp_event_free_multi (const odp_event_t event[], int num)
 Free multiple events. More...
 
void odp_event_free_sp (const odp_event_t event[], int num)
 Free multiple events to the same pool. More...
 
uint32_t odp_event_flow_id (odp_event_t event)
 Event flow id value. More...
 
void odp_event_flow_id_set (odp_event_t event, uint32_t flow_id)
 Set event flow id value. More...
 

Detailed Description

ODP event.

Definition in file api/spec/event.h.