Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLocalIP ¶ added in v0.6.0
DefaultLocalIP returns _an_ IP of this host in the local AS.
This returns a sensible but arbitrary local IP. In the general case the local IP would depend on the next hop of selected path. This approach will not work in more complicated setups where e.g. different network interfaces are used to talk to different AS interfaces.
This is a simple workaround for not being able to use wildcard addresses with snet. Once available, a wildcard address should be used instead and this should be removed.
Types ¶
Click to show internal directories.
Click to hide internal directories.