35 #ifndef IPC_CPG_H_DEFINED 36 #define IPC_CPG_H_DEFINED 38 #include <netinet/in.h> 39 #include <qb/qbipc_common.h> 43 #define CPG_ZC_PATH_LEN 128 123 swab_mar_uint32_t (&to_swab->length);
131 static inline void marshall_from_mar_cpg_name_t (
135 dest->
length = src->length;
144 static inline void marshall_to_mar_cpg_name_t (
148 dest->length = src->
length;
166 static inline void marshall_from_mar_cpg_address_t (
170 dest->
nodeid = src->nodeid;
171 dest->
pid = src->pid;
172 dest->
reason = src->reason;
180 static inline void marshall_to_mar_cpg_address_t (
184 dest->nodeid = src->
nodeid;
185 dest->pid = src->
pid;
186 dest->reason = src->
reason;
195 static inline int mar_name_compare (
199 return (g1->length == g2->length?
200 memcmp (g1->value, g2->value, g1->length):
201 g1->length - g2->length);
218 static inline void marshall_from_mar_cpg_iteration_description_t(
224 marshall_from_mar_cpg_name_t (&dest->
group, &src->
group);
240 static inline void marshall_from_mar_cpg_ring_id_t (
244 dest->
nodeid = src->nodeid;
245 dest->
seq = src->seq;
252 struct qb_ipc_request_header header __attribute__((aligned(8)));
262 struct qb_ipc_response_header header __attribute__((aligned(8)));
269 struct qb_ipc_request_header header __attribute__((aligned(8)));
276 struct qb_ipc_response_header header __attribute__((aligned(8)));
283 struct qb_ipc_request_header header __attribute__((aligned(8)));
290 struct qb_ipc_response_header header __attribute__((aligned(8)));
298 struct qb_ipc_response_header header __attribute__((aligned(8)));
305 struct qb_ipc_response_header header __attribute__((aligned(8)));
315 struct qb_ipc_response_header header __attribute__((aligned(8)));
327 struct qb_ipc_response_header header __attribute__((aligned(8)));
334 struct qb_ipc_response_header header __attribute__((aligned(8)));
346 struct qb_ipc_response_header header __attribute__((aligned(8)));
360 struct qb_ipc_response_header header __attribute__((aligned(8)));
368 struct qb_ipc_request_header header __attribute__((aligned(8)));
376 struct qb_ipc_response_header header __attribute__((aligned(8)));
385 struct qb_ipc_response_header header __attribute__((aligned(8)));
399 struct qb_ipc_response_header header __attribute__((aligned(8)));
409 struct qb_ipc_request_header header __attribute__((aligned(8)));
418 struct qb_ipc_response_header header __attribute__((aligned(8)));
425 struct qb_ipc_request_header header __attribute__((aligned(8)));
434 struct qb_ipc_response_header header __attribute__((aligned(8)));
442 struct qb_ipc_request_header header __attribute__((aligned(8)));
450 struct qb_ipc_response_header header __attribute__((aligned(8)));
458 struct qb_ipc_request_header header __attribute__((aligned(8)));
466 struct qb_ipc_response_header header __attribute__((aligned(8)));
473 struct qb_ipc_request_header header __attribute__((aligned(8)));
482 struct qb_ipc_request_header header __attribute__((aligned(8)));
491 struct qb_ipc_request_header header __attribute__((aligned(8)));
req_cpg_types
The req_cpg_types enum.
mar_req_coroipcc_zc_free_t struct
#define CPG_MAX_NAME_LENGTH
lib_cpg_confchg_reason
The lib_cpg_confchg_reason enum.
The req_lib_cpg_join struct.
mar_req_coroipcc_zc_alloc_t struct
The res_lib_cpg_partial_deliver_callback struct.
The req_lib_cpg_mcast struct.
The res_lib_cpg_membership_get struct.
The res_lib_cpg_iterationnext struct.
The cpg_iteration_description_t struct.
The res_lib_cpg_iterationinitialize struct.
The req_lib_cpg_local_get struct.
The res_lib_cpg_partial_send struct.
The req_lib_cpg_iterationinitialize struct.
The res_lib_cpg_join struct.
mar_req_coroipcc_zc_execute_t struct
The res_lib_cpg_mcast struct.
mar_cpg_iteration_description_t struct
char value[CPG_MAX_NAME_LENGTH]
The req_lib_cpg_leave struct.
The req_lib_cpg_iterationfinalize struct.
The res_lib_cpg_flowcontrol_callback struct.
The res_lib_cpg_finalize struct.
The res_lib_cpg_local_get struct.
#define PROCESSOR_COUNT_MAX
The req_lib_cpg_finalize struct.
The res_lib_cpg_iterationfinalize struct.
The req_lib_cpg_partial_mcast struct.
The req_lib_cpg_iterationnext struct.
The res_lib_cpg_confchg_callback struct.
res_cpg_types
The res_cpg_types enum.
The req_lib_cpg_membership_get struct.
The res_lib_cpg_leave struct.
struct memb_ring_id ring_id
lib_cpg_partial_types
The lib_cpg_partial_types enum.
The res_lib_cpg_totem_confchg_callback struct.
Message from another node.