Documentation ¶
Index ¶
- Constants
- type OverlayAddr
- func (a *OverlayAddr) Copy() *OverlayAddr
- func (a *OverlayAddr) Equal(o *OverlayAddr) bool
- func (a *OverlayAddr) L3() addr.HostAddr
- func (a *OverlayAddr) L4() uint16
- func (a *OverlayAddr) Network() string
- func (a *OverlayAddr) String() string
- func (a *OverlayAddr) ToUDPAddr() *net.UDPAddr
- func (a *OverlayAddr) Type() Type
- type Type
Constants ¶
View Source
const ( IPv4Name = "IPv4" IPv6Name = "IPv6" IPv46Name = "IPv4+6" UDPIPv4Name = "UDP/IPv4" UDPIPv6Name = "UDP/IPv6" UDPIPv46Name = "UDP/IPv4+6" )
View Source
const ( // EndhostPort is the overlay port that the dispatcher binds to on non-routers. Subject to // change during standardisation. EndhostPort = 30041 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverlayAddr ¶ added in v0.2.0
type OverlayAddr struct {
// contains filtered or unexported fields
}
func NewOverlayAddr ¶ added in v0.2.0
func NewOverlayAddr(l3 net.IP, l4 uint16) *OverlayAddr
func (*OverlayAddr) Copy ¶ added in v0.2.0
func (a *OverlayAddr) Copy() *OverlayAddr
func (*OverlayAddr) Equal ¶ added in v0.4.0
func (a *OverlayAddr) Equal(o *OverlayAddr) bool
func (*OverlayAddr) L3 ¶ added in v0.2.0
func (a *OverlayAddr) L3() addr.HostAddr
func (*OverlayAddr) L4 ¶ added in v0.2.0
func (a *OverlayAddr) L4() uint16
func (*OverlayAddr) Network ¶ added in v0.2.0
func (a *OverlayAddr) Network() string
func (*OverlayAddr) String ¶ added in v0.2.0
func (a *OverlayAddr) String() string
func (*OverlayAddr) ToUDPAddr ¶ added in v0.2.0
func (a *OverlayAddr) ToUDPAddr() *net.UDPAddr
func (*OverlayAddr) Type ¶ added in v0.2.0
func (a *OverlayAddr) Type() Type
Click to show internal directories.
Click to hide internal directories.