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)));