mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-03 20:24:16 -04:00
fix udp and refactor native network
This commit is contained in:
parent
c6f573ffe0
commit
0e0209a54b
18 changed files with 870 additions and 760 deletions
|
@ -102,7 +102,7 @@ struct DialInfo {
|
|||
}
|
||||
}
|
||||
|
||||
struct NodeDialInfoSingle {
|
||||
struct NodeDialInfo {
|
||||
nodeId @0 :NodeID; # node id
|
||||
dialInfo @1 :DialInfo; # how to get to the node
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ struct RouteHopData {
|
|||
}
|
||||
|
||||
struct RouteHop {
|
||||
dialInfo @0 :NodeDialInfoSingle; # dial info for this hop
|
||||
dialInfo @0 :NodeDialInfo; # dial info for this hop
|
||||
nextHop @1 :RouteHopData; # Optional: next hop in encrypted blob
|
||||
# Null means no next hop, at destination (only used in private route, safety routes must enclose a stub private route)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue