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
104 swab_mar_uint32_t (&to_swab->length);
107 static inline void marshall_from_mar_cpg_name_t (
111 dest->
length = src->length;
115 static inline void marshall_to_mar_cpg_name_t (
119 dest->length = src->
length;
129 static inline void marshall_from_mar_cpg_address_t (
133 dest->
nodeid = src->nodeid;
134 dest->
pid = src->pid;
135 dest->
reason = src->reason;
138 static inline void marshall_to_mar_cpg_address_t (
142 dest->nodeid = src->
nodeid;
143 dest->pid = src->
pid;
144 dest->reason = src->
reason;
147 static inline int mar_name_compare (
151 return (g1->length == g2->length?
152 memcmp (g1->value, g2->value, g1->length):
153 g1->length - g2->length);
162 static inline void marshall_from_mar_cpg_iteration_description_t(
168 marshall_from_mar_cpg_name_t (&dest->
group, &src->
group);
176 static inline void marshall_from_mar_cpg_ring_id_t (
180 dest->
nodeid = src->nodeid;
181 dest->
seq = src->seq;
185 struct qb_ipc_request_header header __attribute__((aligned(8)));
192 struct qb_ipc_response_header header __attribute__((aligned(8)));
196 struct qb_ipc_request_header header __attribute__((aligned(8)));
200 struct qb_ipc_response_header header __attribute__((aligned(8)));
204 struct qb_ipc_request_header header __attribute__((aligned(8)));
208 struct qb_ipc_response_header header __attribute__((aligned(8)));
213 struct qb_ipc_response_header header __attribute__((aligned(8)));
217 struct qb_ipc_response_header header __attribute__((aligned(8)));
224 struct qb_ipc_response_header header __attribute__((aligned(8)));
233 struct qb_ipc_response_header header __attribute__((aligned(8)));
240 struct qb_ipc_response_header header __attribute__((aligned(8)));
249 struct qb_ipc_response_header header __attribute__((aligned(8)));
260 struct qb_ipc_response_header header __attribute__((aligned(8)));
265 struct qb_ipc_request_header header __attribute__((aligned(8)));
270 struct qb_ipc_response_header header __attribute__((aligned(8)));
276 struct qb_ipc_response_header header __attribute__((aligned(8)));
287 struct qb_ipc_response_header header __attribute__((aligned(8)));
294 struct qb_ipc_request_header header __attribute__((aligned(8)));
300 struct qb_ipc_response_header header __attribute__((aligned(8)));
304 struct qb_ipc_request_header header __attribute__((aligned(8)));
310 struct qb_ipc_response_header header __attribute__((aligned(8)));
315 struct qb_ipc_request_header header __attribute__((aligned(8)));
320 struct qb_ipc_response_header header __attribute__((aligned(8)));
325 struct qb_ipc_request_header header __attribute__((aligned(8)));
330 struct qb_ipc_response_header header __attribute__((aligned(8)));
334 struct qb_ipc_request_header header __attribute__((aligned(8)));
340 struct qb_ipc_request_header header __attribute__((aligned(8)));
346 struct qb_ipc_request_header header __attribute__((aligned(8)));
mar_cpg_address_t member_list[]
#define CPG_MAX_NAME_LENGTH
struct qb_ipc_request_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
mar_uint32_t member_list[]
char value[CPG_MAX_NAME_LENGTH]
mar_cpg_address_t member_list[PROCESSOR_COUNT_MAX]
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_request_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
#define PROCESSOR_COUNT_MAX
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_request_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_request_header header __attribute__((aligned(8)))
struct qb_ipc_request_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_response_header header __attribute__((aligned(8)))
struct qb_ipc_request_header header __attribute__((aligned(8)))
struct memb_ring_id ring_id
Message from another node.