#include <linux/ceph/ceph_debug.h>
#include <linux/inet.h>
#include <linux/ceph/decode.h>
#include <linux/ceph/messenger.h>
static int
ceph_decode_entity_addr_versioned(void **p, void *end,
struct ceph_entity_addr *addr)
{ … }
static int
ceph_decode_entity_addr_legacy(void **p, void *end,
struct ceph_entity_addr *addr)
{ … }
int
ceph_decode_entity_addr(void **p, void *end, struct ceph_entity_addr *addr)
{ … }
EXPORT_SYMBOL(…);
int ceph_decode_entity_addrvec(void **p, void *end, bool msgr2,
struct ceph_entity_addr *addr)
{ … }
EXPORT_SYMBOL(…);
static int get_sockaddr_encoding_len(sa_family_t family)
{ … }
int ceph_entity_addr_encoding_len(const struct ceph_entity_addr *addr)
{ … }
void ceph_encode_entity_addr(void **p, const struct ceph_entity_addr *addr)
{ … }