Noble Connect
Add relays and punchthrough to Mirror or UNet
NobleConnect.Ice.IPPrecedenceTable Class Reference

Static Public Member Functions

static byte GetPrecedence (IPAddress ipAddress)
 

Static Public Attributes

static readonly Dictionary< IPPrefix, byte > values
 

Member Function Documentation

◆ GetPrecedence()

static byte NobleConnect.Ice.IPPrecedenceTable.GetPrecedence ( IPAddress  ipAddress)
static

Member Data Documentation

◆ values

readonly Dictionary<IPPrefix, byte> NobleConnect.Ice.IPPrecedenceTable.values
static
Initial value:
= new Dictionary<IPPrefix, byte>() {
{ IPPrefix.IPv6_LINK_LOCAL, 50 },
{ IPPrefix.IPv6_ANY, 40 },
{ IPPrefix.IPv6_IPv4_MAPPED, 35 },
{ IPPrefix.IPv6_6_TO_4, 30 },
{ IPPrefix.IPv6_IPv4_COMPAT, 20 },
{ IPPrefix.IPv6_TOREDO, 05 },
{ IPPrefix.IPv6_UNIQUE_LOCAL, 3 },
{ IPPrefix.IPv6_SITE_LOCAL, 1 },
{ IPPrefix.IPv6_SITE_LOCAL_OLD, 1 }
}