nm_gate.h File Reference
definition gates and gate-related data structures. More...
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | nm_gtag_s |
| status of tags on each gate More... | |
| struct | nm_matching_gsession_s |
| struct | nm_trk_s |
| a track on a given gate More... | |
| struct | nm_gate_s |
| Connection to another process. More... | |
Macros | |
| #define | NM_FOR_EACH_GATE(P_GATE, P_CORE) puk_list_foreach(nm_gate, P_GATE, &(P_CORE)->gate_list) |
Typedefs | |
| typedef enum nm_gate_status_e | nm_gate_status_t |
Enumerations | |
| enum | nm_gate_status_e { NM_GATE_STATUS_INIT , NM_GATE_STATUS_CONNECTING , NM_GATE_STATUS_CONNECTED , NM_GATE_STATUS_DISCONNECTING , NM_GATE_STATUS_DISCONNECTED } |
| status of a gate, used for dynamic connections More... | |
Functions | |
| static void | nm_gtag_ctor (struct nm_gtag_s *p_gtag, nm_core_tag_t tag __attribute__((unused))) |
| static void | nm_gtag_dtor (struct nm_gtag_s *p_gtag __attribute__((unused))) |
| NM_TAG_TABLE_TYPE (nm_gtag, struct nm_gtag_s) | |
| static void | nm_matching_gsession_ctor (struct nm_matching_gsession_s *p_gsession, nm_core_tag_t tag __attribute__((unused))) |
| static void | nm_matching_gsession_dtor (struct nm_matching_gsession_s *p_gsession __attribute__((unused))) |
| NM_TAG_TABLE_TYPE (nm_matching_gsession, struct nm_matching_gsession_s) | |
| 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) | |
| PUK_LIST_DECLARE_TYPE (nm_gate) | |
| PUK_LIST_DECLARE_TYPE2 (nm_active_gate, struct nm_gate_s) | |
| PUK_LIST_CREATE_FUNCS (nm_gate) | |
| PUK_LIST_CREATE_FUNCS (nm_active_gate) | |
Detailed Description
definition gates and gate-related data structures.
Definition in file nm_gate.h.
Macro Definition Documentation
◆ NM_FOR_EACH_GATE
| #define NM_FOR_EACH_GATE | ( | P_GATE, | |
| P_CORE | |||
| ) | puk_list_foreach(nm_gate, P_GATE, &(P_CORE)->gate_list) |
Typedef Documentation
◆ nm_gate_status_t
| typedef enum nm_gate_status_e nm_gate_status_t |
Enumeration Type Documentation
◆ nm_gate_status_e
| enum nm_gate_status_e |
status of a gate, used for dynamic connections
Function Documentation
◆ nm_gtag_ctor()
|
inlinestatic |
Definition at line 35 of file nm_gate.h.
References NM_SEQ_FIRST, nm_gtag_s::pending_events, nm_gtag_s::pending_packs, nm_gtag_s::recv_seq_number, nm_gtag_s::send_seq_number, nm_gtag_s::unexpected, and nm_gtag_s::unpacks.
◆ nm_gtag_dtor()
|
inlinestatic |
Definition at line 44 of file nm_gate.h.
References assert(), and nm_gtag_s::pending_events.
Here is the call graph for this function:

◆ nm_matching_gsession_bytag()
|
inlinestatic |
◆ nm_matching_gsession_ctor()
|
inlinestatic |
Definition at line 56 of file nm_gate.h.
References nm_matching_gsession_s::unexpected, and nm_matching_gsession_s::unpacks.
◆ nm_matching_gsession_dtor()
|
inlinestatic |
◆ NM_TAG_TABLE_TYPE() [1/2]
| NM_TAG_TABLE_TYPE | ( | nm_gtag | , |
| struct nm_gtag_s | |||
| ) |
◆ NM_TAG_TABLE_TYPE() [2/2]
| NM_TAG_TABLE_TYPE | ( | nm_matching_gsession | , |
| struct nm_matching_gsession_s | |||
| ) |
◆ PUK_HASHTABLE_TYPE()
| PUK_HASHTABLE_TYPE | ( | nm_trk | , |
| void * | , | ||
| struct nm_trk_s * | , | ||
| & | puk_hash_pointer_default_hash, | ||
| & | puk_hash_pointer_default_eq, | ||
| NULL | |||
| ) |
◆ PUK_LIST_CREATE_FUNCS() [1/2]
| PUK_LIST_CREATE_FUNCS | ( | nm_active_gate | ) |
◆ PUK_LIST_CREATE_FUNCS() [2/2]
| PUK_LIST_CREATE_FUNCS | ( | nm_gate | ) |
◆ PUK_LIST_DECLARE_TYPE()
| PUK_LIST_DECLARE_TYPE | ( | nm_gate | ) |
◆ PUK_LIST_DECLARE_TYPE2()
| PUK_LIST_DECLARE_TYPE2 | ( | nm_active_gate | , |
| struct nm_gate_s | |||
| ) |