Documentation ¶
Overview ¶
Dummy version of the HCN API for compilation on Linux.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddrListRetryEINTR ¶
func AddrListRetryEINTR(nlHandle *netlink.Handle, link netlink.Link, family int) ([]netlink.Addr, error)
AddrListRetryEINTR calls netlink's AddrList API and retries for 3 times if the API call is interrupted(EINTR returned). This is not an error and the call must be retried. AddrListRetryEINTR must be used for listing addresses of an interface in place of netlink's AddrList API.
func LinkListRetryEINTR ¶
LinkListRetryEINTR calls netlink's LinkList API and retries for 3 times if the API call is interrupted(EINTR returned). This is not an error and the call must be retried. LinkListRetryEINTR must be used for listing interfaces in place of netlink's LinkList API.
func RouteListRetryEINTR ¶
func RouteListRetryEINTR(nlHandle *netlink.Handle, link netlink.Link, family int) ([]netlink.Route, error)
RouteListRetryEINTR calls netlink's RouteList API and retries for 3 times if the API call is interrupted(EINTR returned). This is not an error and the call must be retried. RouteListRetryEINTR must be used for listing routes of an interface in place of netlink's RouteList API.
Types ¶
This section is empty.