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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user