Forward a packet with sleeve if the source or dest peer lacks a short ID

This commit is contained in:
David Wragg committed 2015-10-14 13:53:59 +01:00
1 parent e702234fdc
commit 35141a4aef
3 files changed
+43 -25

No files matched your search

+2 -1
View File
@@ -68,7 +68,8 @@ type OverlayCrypto struct {
type OverlayForwarder interface {
// Forward a packet across the connection. May be called as
// soon as the forwarder is created, in particular before
// Confirm().
// Confirm(). The return value nil means the key could not be
// handled by this forwarder.
Forward(ForwardPacketKey) FlowOp
// Confirm that the connection is really wanted, and so the