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
95 swab_mar_uint32_t (&to_swab->length);
98 static inline void marshall_from_mar_cpg_name_t (
102 dest->
length = src->length;
106 static inline void marshall_to_mar_cpg_name_t (
110 dest->length = src->
length;
120 static inline void marshall_from_mar_cpg_address_t (
124 dest->
nodeid = src->nodeid;
125 dest->
pid = src->pid;
126 dest->
reason = src->reason;
129 static inline void marshall_to_mar_cpg_address_t (
133 dest->nodeid = src->
nodeid;
134 dest->pid = src->
pid;
135 dest->reason = src->
reason;
138 static inline int mar_name_compare (
142 return (g1->length == g2->length?
143 memcmp (g1->value, g2->value, g1->length):
144 g1->length - g2->length);
153 static inline void marshall_from_mar_cpg_iteration_description_t(
159 marshall_from_mar_cpg_name_t (&dest->
group, &src->
group);
167 static inline void marshall_from_mar_cpg_ring_id_t (
171 dest->
nodeid = src->nodeid;
172 dest->
seq = src->seq;
176 struct qb_ipc_request_header header __attribute__((aligned(8)));
183 struct qb_ipc_response_header header __attribute__((aligned(8)));
187 struct qb_ipc_request_header header __attribute__((aligned(8)));
191 struct qb_ipc_response_header header __attribute__((aligned(8)));
195 struct qb_ipc_request_header header __attribute__((aligned(8)));
199 struct qb_ipc_response_header header __attribute__((aligned(8)));
204 struct qb_ipc_response_header header __attribute__((aligned(8)));
211 struct qb_ipc_response_header header __attribute__((aligned(8)));
218 struct qb_ipc_response_header header __attribute__((aligned(8)));
227 struct qb_ipc_response_header header __attribute__((aligned(8)));
232 struct qb_ipc_request_header header __attribute__((aligned(8)));
237 struct qb_ipc_response_header header __attribute__((aligned(8)));
243 struct qb_ipc_response_header header __attribute__((aligned(8)));
254 struct qb_ipc_response_header header __attribute__((aligned(8)));
261 struct qb_ipc_request_header header __attribute__((aligned(8)));
267 struct qb_ipc_response_header header __attribute__((aligned(8)));
271 struct qb_ipc_request_header header __attribute__((aligned(8)));
277 struct qb_ipc_response_header header __attribute__((aligned(8)));
282 struct qb_ipc_request_header header __attribute__((aligned(8)));
287 struct qb_ipc_response_header header __attribute__((aligned(8)));
292 struct qb_ipc_request_header header __attribute__((aligned(8)));
297 struct qb_ipc_response_header header __attribute__((aligned(8)));
301 struct qb_ipc_request_header header __attribute__((aligned(8)));
307 struct qb_ipc_request_header header __attribute__((aligned(8)));
313 struct qb_ipc_request_header header __attribute__((aligned(8)));