nm_gate.h
Go to the documentation of this file.
35static inline void nm_gtag_ctor(struct nm_gtag_s*p_gtag, nm_core_tag_t tag __attribute__((unused)))
56static inline void nm_matching_gsession_ctor(struct nm_matching_gsession_s*p_gsession, nm_core_tag_t tag __attribute__((unused)))
61static inline void nm_matching_gsession_dtor(struct nm_matching_gsession_s*p_gsession __attribute__((unused)))
65static inline struct nm_matching_gsession_s*nm_matching_gsession_bytag(struct nm_gate_s*p_gate, nm_core_tag_t core_tag);
94 };
assert(p_data->ops.p_traversal !=NULL)
static struct nm_matching_gsession_s * nm_matching_gsession_bytag(struct nm_gate_s *p_gate, nm_core_tag_t core_tag)
PUK_HASHTABLE_TYPE(nm_trk, void *, struct nm_trk_s *, &puk_hash_pointer_default_hash, &puk_hash_pointer_default_eq, NULL)
static void nm_matching_gsession_dtor(struct nm_matching_gsession_s *p_gsession __attribute__((unused)))
Definition nm_gate.h:61
static void nm_matching_gsession_ctor(struct nm_matching_gsession_s *p_gsession, nm_core_tag_t tag __attribute__((unused)))
Definition nm_gate.h:56
@ NM_GATE_STATUS_DISCONNECTING
gate will be disconnected, do not post new request
Definition nm_gate.h:92
static void nm_gtag_dtor(struct nm_gtag_s *p_gtag __attribute__((unused)))
Definition nm_gate.h:44
PUK_LIST_DECLARE_TYPE(nm_gate)
PUK_LIST_DECLARE_TYPE2(nm_active_gate, struct nm_gate_s)
static void nm_gtag_ctor(struct nm_gtag_s *p_gtag, nm_core_tag_t tag __attribute__((unused)))
Definition nm_gate.h:35
PUK_LIST_CREATE_FUNCS(nm_gate)
#define NM_TAG_TABLE_TYPE(NAME, ENTRY_TYPE)
macro to generate tables indexed by tags
Definition nm_tags.h:57
enum nm_trk_kind_e nm_trk_kind_t
struct puk_receptacle_NewMad_Strategy_s strategy_receptacle
Strategy components elements.
Definition nm_gate.h:130
struct nm_pkt_wrap_list_s pending_large_send
large messages waiting for RTRs- list of pw, lookup by [gate,tag,seq,chunk_offset]
Definition nm_gate.h:127
PUK_LIST_LINK(nm_active_gate)
struct nm_ctrl_chunk_list_s ctrl_chunk_list
control chunks posted to the gate
Definition nm_gate.h:137
nm_gate_status_t status
current status of the gate (connected / not connected)
Definition nm_gate.h:110
struct nm_pkt_wrap_list_s pending_large_recv
large messages waiting for Track 1 (or 2) to be free- list of pw
Definition nm_gate.h:125
struct nm_unexpected_gtag_list_s unexpected
unexpected chunks pending on this gate/tag; sorted by seq number
Definition nm_gate.h:32
struct nm_core_pending_event_list_s pending_events
events received out-of-order, waiting for dispatch
Definition nm_gate.h:33
Definition nm_gate.h:52
struct nm_unexpected_gate_list_s unexpected
unexpected chunks pending on this gate/session; sorted by seq number
Definition nm_gate.h:54
struct nm_pkt_wrap_list_s pending_pw_send
pw ready to post, waiting for track to be free
Definition nm_gate.h:77
nm_trk_id_t trk_id
numeric ID of the track; usually NM_TRK_SMALL (=0) or NM_TRK_LARGE (=1); more in case of multi-rail
Definition nm_gate.h:70
struct puk_receptacle_NewMad_minidriver_s receptacle
receptacle for the driver
Definition nm_gate.h:73