fix(rtable): Prevent direct send hairpins 76/276/3
authorE. Scott Daniels <daniels@research.att.com>
Thu, 6 Jun 2019 16:44:33 +0000 (16:44 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Fri, 7 Jun 2019 16:26:03 +0000 (16:26 +0000)
commit3925774e739509bb51df2c81addb3ab742c1801f
tree4ecaf407128e06a770817560a977b79e580b25ca
parentdc30c39e83785bf75cd1e6cc89f7860cedf7b486
fix(rtable): Prevent direct send hairpins

If the current node is listed as an endpoint for a message type
that this process would add to the route table a hair-pin loop
back to the node can happen. This isn't desireable and this
change will prevent the current node from being added as a
recipient endpoint to any route table entry.

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I5a1b2bdaad2eab499ae5a1c7430238c1da2f3256

Add latency call/receive test support

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I70be670d063adfdf6505431a4a2ce72e846df0a4

Actual mods to implement hairpin loop avodiance

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ieead4fbf69ade58db1f37d1949cf0f03683c64de
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
12 files changed:
CMakeLists.txt
src/rmr/common/include/rmr_agnostic.h
src/rmr/common/src/rt_generic_static.c
src/rmr/common/src/tools_static.c
src/rmr/nng/src/rtable_nng_static.c
test/app_test/Makefile
test/app_test/lcaller.c [new file with mode: 0644]
test/app_test/lreceiver.c [new file with mode: 0644]
test/app_test/run_all.ksh
test/app_test/run_app_test.ksh
test/app_test/run_lcall_test.ksh [new file with mode: 0644]
test/sr_nano_static_test.c