swim: introduce routing
Before the patch SWIM packets were being sent quite straightforward from one instance to another with transparent routing on Internet Level of TCP/IP. But the SWIM paper describes last yet not implemented component - suspicion mechanism. So as not to overload this message with suspicion details it is enough to say that it makes possible sending a packet through an intermediate SWIM instance, not directly. This commit extends the SWIM protocol with a new transport-level section named 'routing'. It allows to send indirect SWIM messages transparently via packet forwarding implemented fully inside transportation component, in swim_io.c. Part of #3234
Showing
- src/lib/swim/swim.c 3 additions, 1 deletionsrc/lib/swim/swim.c
- src/lib/swim/swim_io.c 88 additions, 8 deletionssrc/lib/swim/swim_io.c
- src/lib/swim/swim_io.h 14 additions, 1 deletionsrc/lib/swim/swim_io.h
- src/lib/swim/swim_proto.c 81 additions, 2 deletionssrc/lib/swim/swim_proto.c
- src/lib/swim/swim_proto.h 85 additions, 3 deletionssrc/lib/swim/swim_proto.h
- test/unit/swim_proto.c 55 additions, 1 deletiontest/unit/swim_proto.c
- test/unit/swim_proto.result 10 additions, 1 deletiontest/unit/swim_proto.result
Loading
Please register or sign in to comment