From: Sage Weil Date: Sun, 3 Feb 2019 18:03:11 +0000 (-0600) Subject: msg/msg_types: add entity_addr_t::is_any() X-Git-Tag: v14.1.0~184^2~15 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3e938143eb27bc3abd4d2e8eedf71f3622102157;p=ceph-ci.git msg/msg_types: add entity_addr_t::is_any() Signed-off-by: Sage Weil --- diff --git a/src/msg/msg_types.h b/src/msg/msg_types.h index 7919bb9c34b..fd20c2dadfc 100644 --- a/src/msg/msg_types.h +++ b/src/msg/msg_types.h @@ -274,6 +274,7 @@ struct entity_addr_t { void set_type(uint32_t t) { type = t; } bool is_legacy() const { return type == TYPE_LEGACY; } bool is_msgr2() const { return type == TYPE_MSGR2; } + bool is_any() const { return type == TYPE_ANY; } __u32 get_nonce() const { return nonce; } void set_nonce(__u32 n) { nonce = n; }