D | mon_client.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * of cmon daemons use a modified version of the Paxos part-time parliament 39 static int decode_mon_info(void **p, void *end, bool msgr2, in decode_mon_info() argument 47 ret = ceph_start_decoding(p, end, 1, "mon_info_t", &struct_v, in decode_mon_info() 53 ceph_decode_skip_string(p, end, e_inval); /* skip mon name */ in decode_mon_info() 54 ret = ceph_decode_entity_addrvec(p, end, msgr2, addr); in decode_mon_info() 62 return -EINVAL; in decode_mon_info() 70 static struct ceph_monmap *ceph_monmap_decode(void **p, void *end, bool msgr2) in ceph_monmap_decode() argument 82 ceph_decode_32_safe(p, end, blob_len, e_inval); in ceph_monmap_decode() 83 ceph_decode_need(p, end, blob_len, e_inval); in ceph_monmap_decode() [all …]
|