enhance(API): Add source IP support to msg header 50/250/6
authorE. Scott Daniels <daniels@research.att.com>
Mon, 3 Jun 2019 19:45:12 +0000 (19:45 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Wed, 5 Jun 2019 12:52:52 +0000 (12:52 +0000)
commit68d09fa5028e47e763c44c30647da31e77eda64a
treefbf5ae294a22a8b0385d8203222626dfcce54ca7
parentb5f659837dd6c01bffde1f2f449328b42b47ccf5
enhance(API): Add source IP support to msg header

The message header now carries both the hostname and IP
address of the source process.  The return to sender function
will use the IP address instead of the host name. It is possible
to set RMR_SRC_NAMEONLY=1 in the environment, or for the user
application to set this flag, to force only the use of the
hostname in the header.

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Id6305fab79fabbffffb343af1094e48fbf662b5d
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
27 files changed:
CMakeLists.txt
doc/CMakeLists.txt
doc/src/man/rmr.7.xfm
doc/src/man/rmr_get_meid.3.xfm
doc/src/man/rmr_get_src.3.xfm
src/rmr/common/include/rmr.h
src/rmr/common/include/rmr_agnostic.h
src/rmr/common/src/mbuf_api.c
src/rmr/common/src/tools_static.c
src/rmr/nanomsg/include/rmr_private.h
src/rmr/nanomsg/src/rmr.c
src/rmr/nanomsg/src/sr_static.c
src/rmr/nng/include/rmr_nng_private.h
src/rmr/nng/src/rmr_nng.c
src/rmr/nng/src/sr_nng_static.c
test/app_test/run_all.ksh
test/mbuf_api_static_test.c
test/mbuf_api_test.c
test/rmr_nng_api_static_test.c
test/rmr_nng_test.c
test/sr_nano_static_test.c
test/sr_nng_static_test.c
test/test_nng_em.c
test/test_support.c
test/tools_static_test.c
test/tools_test.c
test/wormhole_static_test.c