Handler information for MIP Packet or Field callbacks. More...
#include <mip_dispatch.h>
Public Attributes | |
union { | |
mip_dispatch_extractor _extract_callback | |
User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_EXTRACT. More... | |
mip_dispatch_field_callback _field_callback | |
User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_FIELD. More... | |
mip_dispatch_packet_callback _packet_callback | |
User function for packets. Valid if type is MIP_DISPATCH_TYPE_PACKET*. More... | |
}; | |
Private Attributes | |
uint8_t | _descriptor_set |
MIP descriptor set for this callback. More... | |
uint8_t | _enabled |
If false, the handler will be ignored. (Using u8 for better struct packing.) More... | |
uint8_t | _field_descriptor |
MIP field descriptor for this callback. If 0x00, the callback is a packet callback. More... | |
struct mip_dispatch_handler * | _next |
Pointer to the next handler in the list. More... | |
uint8_t | _type |
Type of the callback. (Using u8 for better struct packing.) More... | |
void * | _user_data |
User-provided pointer which is passed directly to the callback. More... | |
Handler information for MIP Packet or Field callbacks.
Definition at line 87 of file mip_dispatch.h.
union { ... } |
|
private |
MIP descriptor set for this callback.
Definition at line 98 of file mip_dispatch.h.
|
private |
If false, the handler will be ignored. (Using u8 for better struct packing.)
Definition at line 100 of file mip_dispatch.h.
|
private |
User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_EXTRACT.
Definition at line 94 of file mip_dispatch.h.
|
private |
User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_FIELD.
Definition at line 93 of file mip_dispatch.h.
|
private |
MIP field descriptor for this callback. If 0x00, the callback is a packet callback.
Definition at line 99 of file mip_dispatch.h.
|
private |
Pointer to the next handler in the list.
Definition at line 89 of file mip_dispatch.h.
|
private |
User function for packets. Valid if type is MIP_DISPATCH_TYPE_PACKET*.
Definition at line 92 of file mip_dispatch.h.
|
private |
Type of the callback. (Using u8 for better struct packing.)
Definition at line 97 of file mip_dispatch.h.
|
private |
User-provided pointer which is passed directly to the callback.
Definition at line 96 of file mip_dispatch.h.