rings: RingZeroPrefix()/RingZeroAddress()

Ring zero corresponds to the backbone that connects all zones.

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2024-05-25 21:23:58 +00:00
parent 394a84c3ab
commit 0f177acf57
3 changed files with 55 additions and 0 deletions
+2
View File
@@ -19,6 +19,8 @@ const (
// when its a gateway connected to Ring 0 (backbone).
NodeZeroMax = (1 << 8) - 1
// RingZeroBits indicates the size of the prefix on the ring 0 (backbone) network.
RingZeroBits = 16
// RingOneBits indicates the size of the prefix on the ring 1 (lan) network.
RingOneBits = 20
)