Add --xio option to tools/rados/rados.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Use the same port shift formula in ceph-mon.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add port_shift convenience mechanism.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Bind xio_server with INADDR_ANY (0.0.0.0).

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Print URI detail on bind(), get_connection().

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Correct several messenger routing decisions.

In general, when a message is being sent on a connection,
we must use the associated messenger, not assume it.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Pass peer type with XioMsgHdr.

Secure peer identification is left for future work.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Assign CEPH_ENTITY_TYPE_GENERIC_SERVER as 0x40.

My choice of 0xFF was sort of the worst possible.  Rather soon, it
will be necessary to expand this.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>