MCPcopy Create free account
hub / github.com/ceph/ceph / get_source_addr

Method get_source_addr

src/msg/Message.h:512–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510 return entity_name_t(header.src);
511 }
512 entity_addr_t get_source_addr() const {
513#ifdef WITH_CRIMSON
514 ceph_abort("In crimson, conn is independently maintained outside Message");
515#else
516 if (connection)
517 return connection->get_peer_addr();
518#endif
519 return entity_addr_t();
520 }
521 entity_addrvec_t get_source_addrs() const {
522#ifdef WITH_CRIMSON
523 ceph_abort("In crimson, conn is independently maintained outside Message");

Callers 9

do_op_implMethod · 0.80
set_message_attrsMethod · 0.80
handle_openMethod · 0.80
handle_reportMethod · 0.80
handle_probe_probeMethod · 0.80
handle_probe_replyMethod · 0.80
handle_forwardMethod · 0.80
handle_pingMethod · 0.80
dispatchMethod · 0.80

Calls 2

entity_addr_tClass · 0.70
get_peer_addrMethod · 0.45

Tested by

no test coverage detected