const SCOPE_UNIVERSE …
const SCOPE_SITE …
const SCOPE_LINK …
const SCOPE_HOST …
const SCOPE_NOWHERE …
func (s Scope) String() string { … }
const FLAG_ONLINK …
const FLAG_PERVASIVE …
var testFlags …
func listFlags(flag int) []string { … }
func (r *Route) ListFlags() []string { … }
func (n *NexthopInfo) ListFlags() []string { … }
type MPLSDestination …
func (d *MPLSDestination) Family() int { … }
func (d *MPLSDestination) Decode(buf []byte) error { … }
func (d *MPLSDestination) Encode() ([]byte, error) { … }
func (d *MPLSDestination) String() string { … }
func (d *MPLSDestination) Equal(x Destination) bool { … }
type MPLSEncap …
func (e *MPLSEncap) Type() int { … }
func (e *MPLSEncap) Decode(buf []byte) error { … }
func (e *MPLSEncap) Encode() ([]byte, error) { … }
func (e *MPLSEncap) String() string { … }
func (e *MPLSEncap) Equal(x Encap) bool { … }
type SEG6Encap …
func (e *SEG6Encap) Type() int { … }
func (e *SEG6Encap) Decode(buf []byte) error { … }
func (e *SEG6Encap) Encode() ([]byte, error) { … }
func (e *SEG6Encap) String() string { … }
func (e *SEG6Encap) Equal(x Encap) bool { … }
type SEG6LocalEncap …
func (e *SEG6LocalEncap) SetProg(progFd int, progName string) error { … }
func (e *SEG6LocalEncap) Type() int { … }
func (e *SEG6LocalEncap) Decode(buf []byte) error { … }
func (e *SEG6LocalEncap) Encode() ([]byte, error) { … }
func (e *SEG6LocalEncap) String() string { … }
func (e *SEG6LocalEncap) Equal(x Encap) bool { … }
type bpfObj …
type BpfEncap …
func (e *BpfEncap) SetProg(mode, progFd int, progName string) error { … }
func (e *BpfEncap) SetXmitHeadroom(headroom int) error { … }
func (e *BpfEncap) Type() int { … }
func (e *BpfEncap) Decode(buf []byte) error { … }
func (e *BpfEncap) Encode() ([]byte, error) { … }
func (e *BpfEncap) String() string { … }
func (e *BpfEncap) Equal(x Encap) bool { … }
type IP6tnlEncap …
func (e *IP6tnlEncap) Type() int { … }
func (e *IP6tnlEncap) Decode(buf []byte) error { … }
func (e *IP6tnlEncap) Encode() ([]byte, error) { … }
func (e *IP6tnlEncap) String() string { … }
func (e *IP6tnlEncap) Equal(x Encap) bool { … }
type Via …
func (v *Via) Equal(x Destination) bool { … }
func (v *Via) String() string { … }
func (v *Via) Family() int { … }
func (v *Via) Encode() ([]byte, error) { … }
func (v *Via) Decode(b []byte) error { … }
func RouteAdd(route *Route) error { … }
func (h *Handle) RouteAdd(route *Route) error { … }
func RouteAppend(route *Route) error { … }
func (h *Handle) RouteAppend(route *Route) error { … }
func RouteAddEcmp(route *Route) error { … }
func (h *Handle) RouteAddEcmp(route *Route) error { … }
func RouteChange(route *Route) error { … }
func (h *Handle) RouteChange(route *Route) error { … }
func RouteReplace(route *Route) error { … }
func (h *Handle) RouteReplace(route *Route) error { … }
func RouteDel(route *Route) error { … }
func (h *Handle) RouteDel(route *Route) error { … }
func (h *Handle) routeHandle(route *Route, req *nl.NetlinkRequest, msg *nl.RtMsg) ([][]byte, error) { … }
func (h *Handle) routeHandleIter(route *Route, req *nl.NetlinkRequest, msg *nl.RtMsg, f func(msg []byte) bool) error { … }
func (h *Handle) prepareRouteReq(route *Route, req *nl.NetlinkRequest, msg *nl.RtMsg) error { … }
func RouteList(link Link, family int) ([]Route, error) { … }
func (h *Handle) RouteList(link Link, family int) ([]Route, error) { … }
func RouteListFiltered(family int, filter *Route, filterMask uint64) ([]Route, error) { … }
func (h *Handle) RouteListFiltered(family int, filter *Route, filterMask uint64) ([]Route, error) { … }
func RouteListFilteredIter(family int, filter *Route, filterMask uint64, f func(Route) (cont bool)) error { … }
func (h *Handle) RouteListFilteredIter(family int, filter *Route, filterMask uint64, f func(Route) (cont bool)) error { … }
func deserializeRoute(m []byte) (Route, error) { … }
type RouteGetOptions …
func RouteGetWithOptions(destination net.IP, options *RouteGetOptions) ([]Route, error) { … }
func RouteGet(destination net.IP) ([]Route, error) { … }
func (h *Handle) RouteGetWithOptions(destination net.IP, options *RouteGetOptions) ([]Route, error) { … }
func (h *Handle) RouteGet(destination net.IP) ([]Route, error) { … }
func RouteSubscribe(ch chan<- RouteUpdate, done <-chan struct{ … }
func RouteSubscribeAt(ns netns.NsHandle, ch chan<- RouteUpdate, done <-chan struct{ … }
type RouteSubscribeOptions …
func RouteSubscribeWithOptions(ch chan<- RouteUpdate, done <-chan struct{ … }
func routeSubscribeAt(newNs, curNs netns.NsHandle, ch chan<- RouteUpdate, done <-chan struct{ … }
func (p RouteProtocol) String() string { … }
func genZeroIPNet(family int) *net.IPNet { … }