NewMadeleine

Documentation

« back to PM2 home.
nm_sr_event_info_t Union Reference

information field for sendrecv events More...

#include <nm_sendrecv_interface.h>

Collaboration diagram for nm_sr_event_info_t:

Data Fields

struct { 
 
   nm_gate_t   p_gate 
 gate from where the unexpected packet arrived More...
 
   nm_tag_t   tag 
 tag of the unexpected received packet More...
 
   nm_len_t   len 
 length of unexpected data More...
 
   nm_session_t   p_session 
 session where the unexpected packet arrived More...
 
   const struct nm_core_event_s *   p_core_event 
 
recv_unexpected 
 field for unexpected packets (global event NM_SR_EVENT_RECV_UNEXPECTED)
 
struct { 
 
   nm_sr_request_t *   p_request 
 the request on which the event happened More...
 
req 
 field for req events NM_SR_EVENT_SEND_COMPLETED, RECV_DATA, RECV_COMPLETED, CANCELLED, FINALIZED
 

Detailed Description

information field for sendrecv events

Examples
nm_bench_req_monitor.c.

Definition at line 61 of file nm_sendrecv_interface.h.

Field Documentation

◆ len

nm_len_t nm_sr_event_info_t::len

length of unexpected data

Definition at line 67 of file nm_sendrecv_interface.h.

◆ p_core_event

const struct nm_core_event_s* nm_sr_event_info_t::p_core_event

core nmad event used internally for packet matching

Definition at line 69 of file nm_sendrecv_interface.h.

Referenced by nm_sr_recv_match_event().

◆ p_gate

nm_gate_t nm_sr_event_info_t::p_gate

gate from where the unexpected packet arrived

Definition at line 65 of file nm_sendrecv_interface.h.

◆ p_request

nm_sr_request_t* nm_sr_event_info_t::p_request

the request on which the event happened

Definition at line 73 of file nm_sendrecv_interface.h.

◆ p_session

nm_session_t nm_sr_event_info_t::p_session

session where the unexpected packet arrived

Definition at line 68 of file nm_sendrecv_interface.h.

◆ [struct]

struct { ... } nm_sr_event_info_t::recv_unexpected

field for unexpected packets (global event NM_SR_EVENT_RECV_UNEXPECTED)

Referenced by nm_sr_recv_match_event().

◆ [struct]

struct { ... } nm_sr_event_info_t::req

field for req events NM_SR_EVENT_SEND_COMPLETED, RECV_DATA, RECV_COMPLETED, CANCELLED, FINALIZED

◆ tag

nm_tag_t nm_sr_event_info_t::tag

tag of the unexpected received packet

Definition at line 66 of file nm_sendrecv_interface.h.


The documentation for this union was generated from the following file: