wip
This commit is contained in:
parent
589aa08866
commit
5cafd030ac
@ -9,10 +9,18 @@ const (
|
|||||||
packetTypeAck = 3
|
packetTypeAck = 3
|
||||||
packetTypeProbe = 4
|
packetTypeProbe = 4
|
||||||
packetTypeAddrDiscovery = 5
|
packetTypeAddrDiscovery = 5
|
||||||
|
packetTypeInit = 6
|
||||||
)
|
)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
type packetInit struct {
|
||||||
|
TraceID uint64
|
||||||
|
Version uint64
|
||||||
|
}
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
type packetSyn struct {
|
type packetSyn struct {
|
||||||
TraceID uint64 // TraceID to match response w/ request.
|
TraceID uint64 // TraceID to match response w/ request.
|
||||||
SharedKey [32]byte // Our shared key.
|
SharedKey [32]byte // Our shared key.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user