Imports #
"syscall"
"unsafe"
_ "unsafe"
"syscall"
"syscall"
"unsafe"
"syscall"
"unsafe"
"syscall"
"unsafe"
"syscall"
"runtime"
"syscall"
"runtime"
"syscall"
"runtime"
"syscall"
"syscall"
"syscall"
"syscall"
"errors"
"os"
"syscall"
"syscall"
"unsafe"
_ "unsafe"
"syscall"
"syscall"
"unsafe"
"syscall"
"unsafe"
"syscall"
"unsafe"
"syscall"
"runtime"
"syscall"
"runtime"
"syscall"
"runtime"
"syscall"
"syscall"
"syscall"
"syscall"
"errors"
"os"
"syscall"
const RIBTypeInterface RIBType = syscall.NET_RT_IFLIST
const RIBTypeRoute RIBType = syscall.NET_RT_DUMP
const SysMetrics SysType = iota
const SysStats
var bigEndian binaryBigEndian
var compatFreeBSD32 bool
var errInvalidAddr = *ast.CallExpr
var errInvalidMessage = *ast.CallExpr
var errMessageMismatch = *ast.CallExpr
var errMessageTooShort = *ast.CallExpr
var errShortBuffer = *ast.CallExpr
var errUnsupportedMessage = *ast.CallExpr
var kernelAlign int
var littleEndian binaryLittleEndian
var nativeEndian binaryByteOrder
var rtmVersion byte
const sizeofIfAnnouncemsghdrDragonFlyBSD4 = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
const sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
const sizeofIfAnnouncemsghdrNetBSD7 = 0x18
const sizeofIfData64Darwin15 = 0x80
const sizeofIfDataDarwin15 = 0x60
const sizeofIfDataFreeBSD10 = 0x98
const sizeofIfDataFreeBSD10 = 0x98
const sizeofIfDataFreeBSD10 = 0x60
const sizeofIfDataFreeBSD10 = 0x98
const sizeofIfDataFreeBSD10 = 0x54
const sizeofIfDataFreeBSD10Emu = 0x98
const sizeofIfDataFreeBSD10Emu = 0x98
const sizeofIfDataFreeBSD10Emu = 0x98
const sizeofIfDataFreeBSD10Emu = 0x60
const sizeofIfDataFreeBSD10Emu = 0x98
const sizeofIfDataFreeBSD11 = 0x98
const sizeofIfDataFreeBSD11 = 0x98
const sizeofIfDataFreeBSD11 = 0x98
const sizeofIfDataFreeBSD11 = 0x98
const sizeofIfDataFreeBSD11 = 0x98
const sizeofIfDataFreeBSD11Emu = 0x98
const sizeofIfDataFreeBSD11Emu = 0x98
const sizeofIfDataFreeBSD11Emu = 0x98
const sizeofIfDataFreeBSD11Emu = 0x98
const sizeofIfDataFreeBSD11Emu = 0x98
const sizeofIfDataFreeBSD7 = 0x98
const sizeofIfDataFreeBSD7 = 0x50
const sizeofIfDataFreeBSD7 = 0x60
const sizeofIfDataFreeBSD7 = 0x98
const sizeofIfDataFreeBSD7 = 0x98
const sizeofIfDataFreeBSD7Emu = 0x98
const sizeofIfDataFreeBSD7Emu = 0x98
const sizeofIfDataFreeBSD7Emu = 0x98
const sizeofIfDataFreeBSD7Emu = 0x98
const sizeofIfDataFreeBSD7Emu = 0x60
const sizeofIfDataFreeBSD8 = 0x98
const sizeofIfDataFreeBSD8 = 0x98
const sizeofIfDataFreeBSD8 = 0x50
const sizeofIfDataFreeBSD8 = 0x98
const sizeofIfDataFreeBSD8 = 0x60
const sizeofIfDataFreeBSD8Emu = 0x98
const sizeofIfDataFreeBSD8Emu = 0x98
const sizeofIfDataFreeBSD8Emu = 0x60
const sizeofIfDataFreeBSD8Emu = 0x98
const sizeofIfDataFreeBSD8Emu = 0x98
const sizeofIfDataFreeBSD9 = 0x98
const sizeofIfDataFreeBSD9 = 0x60
const sizeofIfDataFreeBSD9 = 0x98
const sizeofIfDataFreeBSD9 = 0x50
const sizeofIfDataFreeBSD9 = 0x98
const sizeofIfDataFreeBSD9Emu = 0x98
const sizeofIfDataFreeBSD9Emu = 0x98
const sizeofIfDataFreeBSD9Emu = 0x98
const sizeofIfDataFreeBSD9Emu = 0x98
const sizeofIfDataFreeBSD9Emu = 0x60
const sizeofIfMsghdr2Darwin15 = 0xa0
const sizeofIfMsghdrDarwin15 = 0x70
const sizeofIfMsghdrDragonFlyBSD4 = 0xb0
const sizeofIfMsghdrFreeBSD10 = 0x70
const sizeofIfMsghdrFreeBSD10 = 0xa8
const sizeofIfMsghdrFreeBSD10 = 0xa8
const sizeofIfMsghdrFreeBSD10 = 0x64
const sizeofIfMsghdrFreeBSD10 = 0xa8
const sizeofIfMsghdrFreeBSD10Emu = 0xa8
const sizeofIfMsghdrFreeBSD10Emu = 0x70
const sizeofIfMsghdrFreeBSD10Emu = 0xa8
const sizeofIfMsghdrFreeBSD10Emu = 0xa8
const sizeofIfMsghdrFreeBSD10Emu = 0xa8
const sizeofIfMsghdrFreeBSD11 = 0xa8
const sizeofIfMsghdrFreeBSD11 = 0xa8
const sizeofIfMsghdrFreeBSD11 = 0xa8
const sizeofIfMsghdrFreeBSD11 = 0xa8
const sizeofIfMsghdrFreeBSD11 = 0xa8
const sizeofIfMsghdrFreeBSD11Emu = 0xa8
const sizeofIfMsghdrFreeBSD11Emu = 0xa8
const sizeofIfMsghdrFreeBSD11Emu = 0xa8
const sizeofIfMsghdrFreeBSD11Emu = 0xa8
const sizeofIfMsghdrFreeBSD11Emu = 0xa8
const sizeofIfMsghdrFreeBSD7 = 0xa8
const sizeofIfMsghdrFreeBSD7 = 0xa8
const sizeofIfMsghdrFreeBSD7 = 0xa8
const sizeofIfMsghdrFreeBSD7 = 0x70
const sizeofIfMsghdrFreeBSD7 = 0x60
const sizeofIfMsghdrFreeBSD7Emu = 0xa8
const sizeofIfMsghdrFreeBSD7Emu = 0x70
const sizeofIfMsghdrFreeBSD7Emu = 0xa8
const sizeofIfMsghdrFreeBSD7Emu = 0xa8
const sizeofIfMsghdrFreeBSD7Emu = 0xa8
const sizeofIfMsghdrFreeBSD8 = 0x70
const sizeofIfMsghdrFreeBSD8 = 0xa8
const sizeofIfMsghdrFreeBSD8 = 0xa8
const sizeofIfMsghdrFreeBSD8 = 0xa8
const sizeofIfMsghdrFreeBSD8 = 0x60
const sizeofIfMsghdrFreeBSD8Emu = 0xa8
const sizeofIfMsghdrFreeBSD8Emu = 0xa8
const sizeofIfMsghdrFreeBSD8Emu = 0x70
const sizeofIfMsghdrFreeBSD8Emu = 0xa8
const sizeofIfMsghdrFreeBSD8Emu = 0xa8
const sizeofIfMsghdrFreeBSD9 = 0xa8
const sizeofIfMsghdrFreeBSD9 = 0x60
const sizeofIfMsghdrFreeBSD9 = 0x70
const sizeofIfMsghdrFreeBSD9 = 0xa8
const sizeofIfMsghdrFreeBSD9 = 0xa8
const sizeofIfMsghdrFreeBSD9Emu = 0x70
const sizeofIfMsghdrFreeBSD9Emu = 0xa8
const sizeofIfMsghdrFreeBSD9Emu = 0xa8
const sizeofIfMsghdrFreeBSD9Emu = 0xa8
const sizeofIfMsghdrFreeBSD9Emu = 0xa8
const sizeofIfMsghdrNetBSD7 = 0x98
const sizeofIfMsghdrlFreeBSD10 = 0xb0
const sizeofIfMsghdrlFreeBSD10 = 0xb0
const sizeofIfMsghdrlFreeBSD10 = 0x68
const sizeofIfMsghdrlFreeBSD10 = 0x68
const sizeofIfMsghdrlFreeBSD10 = 0xb0
const sizeofIfMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfMsghdrlFreeBSD10Emu = 0x68
const sizeofIfMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfaMsghdrDarwin15 = 0x14
const sizeofIfaMsghdrDragonFlyBSD4 = 0x14
const sizeofIfaMsghdrDragonFlyBSD58 = 0x18
const sizeofIfaMsghdrFreeBSD10 = 0x14
const sizeofIfaMsghdrFreeBSD10 = 0x14
const sizeofIfaMsghdrFreeBSD10 = 0x14
const sizeofIfaMsghdrFreeBSD10 = 0x14
const sizeofIfaMsghdrFreeBSD10 = 0x14
const sizeofIfaMsghdrFreeBSD10Emu = 0x14
const sizeofIfaMsghdrFreeBSD10Emu = 0x14
const sizeofIfaMsghdrFreeBSD10Emu = 0x14
const sizeofIfaMsghdrFreeBSD10Emu = 0x14
const sizeofIfaMsghdrFreeBSD10Emu = 0x14
const sizeofIfaMsghdrNetBSD7 = 0x18
const sizeofIfaMsghdrlFreeBSD10 = 0xb0
const sizeofIfaMsghdrlFreeBSD10 = 0x6c
const sizeofIfaMsghdrlFreeBSD10 = 0x6c
const sizeofIfaMsghdrlFreeBSD10 = 0xb0
const sizeofIfaMsghdrlFreeBSD10 = 0xb0
const sizeofIfaMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfaMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfaMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfaMsghdrlFreeBSD10Emu = 0x6c
const sizeofIfaMsghdrlFreeBSD10Emu = 0xb0
const sizeofIfmaMsghdr2Darwin15 = 0x14
const sizeofIfmaMsghdrDarwin15 = 0x10
const sizeofIfmaMsghdrDragonFlyBSD4 = 0x10
const sizeofIfmaMsghdrFreeBSD10 = 0x10
const sizeofIfmaMsghdrFreeBSD10 = 0x10
const sizeofIfmaMsghdrFreeBSD10 = 0x10
const sizeofIfmaMsghdrFreeBSD10 = 0x10
const sizeofIfmaMsghdrFreeBSD10 = 0x10
const sizeofIfmaMsghdrFreeBSD10Emu = 0x10
const sizeofIfmaMsghdrFreeBSD10Emu = 0x10
const sizeofIfmaMsghdrFreeBSD10Emu = 0x10
const sizeofIfmaMsghdrFreeBSD10Emu = 0x10
const sizeofIfmaMsghdrFreeBSD10Emu = 0x10
const sizeofRtMetricsDarwin15 = 0x38
const sizeofRtMetricsDragonFlyBSD4 = 0x70
const sizeofRtMetricsFreeBSD10 = 0x70
const sizeofRtMetricsFreeBSD10 = 0x38
const sizeofRtMetricsFreeBSD10 = 0x70
const sizeofRtMetricsFreeBSD10 = 0x38
const sizeofRtMetricsFreeBSD10 = 0x70
const sizeofRtMetricsFreeBSD10Emu = 0x70
const sizeofRtMetricsFreeBSD10Emu = 0x70
const sizeofRtMetricsFreeBSD10Emu = 0x70
const sizeofRtMetricsFreeBSD10Emu = 0x38
const sizeofRtMetricsFreeBSD10Emu = 0x70
const sizeofRtMetricsNetBSD7 = 0x50
const sizeofRtMsghdr = 0x60
const sizeofRtMsghdr2Darwin15 = 0x5c
const sizeofRtMsghdrDarwin15 = 0x5c
const sizeofRtMsghdrDragonFlyBSD4 = 0x98
const sizeofRtMsghdrFreeBSD10 = 0x5c
const sizeofRtMsghdrFreeBSD10 = 0x98
const sizeofRtMsghdrFreeBSD10 = 0x98
const sizeofRtMsghdrFreeBSD10 = 0x98
const sizeofRtMsghdrFreeBSD10 = 0x5c
const sizeofRtMsghdrFreeBSD10Emu = 0x98
const sizeofRtMsghdrFreeBSD10Emu = 0x5c
const sizeofRtMsghdrFreeBSD10Emu = 0x98
const sizeofRtMsghdrFreeBSD10Emu = 0x98
const sizeofRtMsghdrFreeBSD10Emu = 0x98
const sizeofRtMsghdrNetBSD7 = 0x78
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet = 0x10
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrInet6 = 0x1c
const sizeofSockaddrStorage = 0x80
const sizeofSockaddrStorage = 0x80
const sizeofSockaddrStorage = 0x80
const sizeofSockaddrStorage = 0x80
const sizeofSockaddrStorage = 0x80
const sizeofSockaddrStorage = 0x80
const sizeofSockaddrStorage = 0x80
const sizeofSockaddrStorage = 0x100
const sizeofSockaddrStorage = 0x80
var wireFormats map[int]*wireFormat
A RIBType represents a type of routing information base.
type RIBType int
A SysType represents a type of operating system-specific information.
type SysType int
An Addr represents an address associated with packet routing.
type Addr interface {
Family() int
}
A Message represents a routing message.
type Message interface {
Sys() []Sys
}
A Sys reprensents operating system-specific information.
type Sys interface {
SysType() SysType
}
type binaryByteOrder interface {
Uint16([]byte) uint16
Uint32([]byte) uint32
PutUint16([]byte, uint16)
PutUint32([]byte, uint32)
Uint64([]byte) uint64
}
A DefaultAddr represents an address of various operating system-specific features.
type DefaultAddr struct {
af int
Raw []byte
}
An Inet4Addr represents an internet address for IPv4.
type Inet4Addr struct {
IP [4]byte
}
An Inet6Addr represents an internet address for IPv6.
type Inet6Addr struct {
IP [16]byte
ZoneID int
}
An InterfaceAddrMessage represents an interface address message.
type InterfaceAddrMessage struct {
Version int
Type int
Flags int
Index int
Addrs []Addr
raw []byte
}
An InterfaceAnnounceMessage represents an interface announcement message.
type InterfaceAnnounceMessage struct {
Version int
Type int
Index int
Name string
What int
raw []byte
}
An InterfaceMessage represents an interface message.
type InterfaceMessage struct {
Version int
Type int
Flags int
Index int
Name string
Addrs []Addr
extOff int
raw []byte
}
InterfaceMetrics represents interface metrics.
type InterfaceMetrics struct {
Type int
MTU int
}
InterfaceMetrics represents interface metrics.
type InterfaceMetrics struct {
Type int
MTU int
}
InterfaceMetrics represents interface metrics.
type InterfaceMetrics struct {
Type int
MTU int
}
RouteMetrics represents route metrics.
type InterfaceMetrics struct {
Type int
MTU int
}
InterfaceMetrics represents interface metrics.
type InterfaceMetrics struct {
Type int
MTU int
}
An InterfaceMulticastAddrMessage represents an interface multicast address message.
type InterfaceMulticastAddrMessage struct {
Version int
Type int
Flags int
Index int
Addrs []Addr
raw []byte
}
A LinkAddr represents a link-layer address.
type LinkAddr struct {
Index int
Name string
Addr []byte
}
A RouteMessage represents a message conveying an address prefix, a
nexthop address and an output interface.
Unlike other messages, this message can be used to query adjacency
information for the given address prefix, to add a new route, and
to delete or modify the existing route from the routing information
base inside the kernel by writing and reading route messages on a
routing socket.
For the manipulation of routing information, the route message must
contain appropriate fields that include:
Version =
type RouteMessage struct {
Version int
Type int
Flags int
Index int
ID uintptr
Seq int
Err error
Addrs []Addr
extOff int
raw []byte
}
RouteMetrics represents route metrics.
type RouteMetrics struct {
PathMTU int
}
RouteMetrics represents route metrics.
type RouteMetrics struct {
PathMTU int
}
RouteMetrics represents route metrics.
type RouteMetrics struct {
PathMTU int
}
RouteMetrics represents route metrics.
type RouteMetrics struct {
PathMTU int
}
RouteMetrics represents route metrics.
type RouteMetrics struct {
PathMTU int
}
type binaryBigEndian struct {
}
type binaryLittleEndian struct {
}
type wireFormat struct {
extOff int
bodyOff int
parse func(RIBType, []byte) (Message, error)
}
Family implements the Family method of Addr interface.
func (a *LinkAddr) Family() int
Family implements the Family method of Addr interface.
func (a *Inet4Addr) Family() int
Family implements the Family method of Addr interface.
func (a *Inet6Addr) Family() int
Family implements the Family method of Addr interface.
func (a *DefaultAddr) Family() int
FetchRIB fetches a routing information base from the operating system. The provided af must be an address family. The provided arg must be a RIBType-specific argument. When RIBType is related to routes, arg might be a set of route flags. When RIBType is related to network interfaces, arg might be an interface index or a set of interface flags. In most cases, zero means a wildcard.
func FetchRIB(af int, typ RIBType, arg int) ([]byte, error)
Marshal returns the binary encoding of m.
func (m *RouteMessage) Marshal() ([]byte, error)
ParseRIB parses b as a routing information base and returns a list of routing messages.
func ParseRIB(typ RIBType, b []byte) ([]Message, error)
func (binaryLittleEndian) PutUint16(b []byte, v uint16)
func (binaryBigEndian) PutUint16(b []byte, v uint16)
func (binaryLittleEndian) PutUint32(b []byte, v uint32)
func (binaryBigEndian) PutUint32(b []byte, v uint32)
Sys implements the Sys method of Message interface.
func (m *RouteMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *RouteMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *RouteMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceMulticastAddrMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *RouteMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *RouteMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceAnnounceMessage) Sys() []Sys
Sys implements the Sys method of Message interface.
func (m *InterfaceAddrMessage) Sys() []Sys
SysType implements the SysType method of Sys interface.
func (rmx *RouteMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (imx *InterfaceMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (imx *InterfaceMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (rmx *RouteMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (rmx *RouteMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (imx *InterfaceMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (rmx *RouteMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (imx *InterfaceMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (imx *InterfaceMetrics) SysType() SysType
SysType implements the SysType method of Sys interface.
func (rmx *RouteMetrics) SysType() SysType
func (binaryLittleEndian) Uint16(b []byte) uint16
func (binaryBigEndian) Uint16(b []byte) uint16
func (binaryLittleEndian) Uint32(b []byte) uint32
func (binaryBigEndian) Uint32(b []byte) uint32
func (binaryLittleEndian) Uint64(b []byte) uint64
func (binaryBigEndian) Uint64(b []byte) uint64
func addrsSpace(as []Addr) int
func init()
func (a *Inet6Addr) lenAndSpace() (int, int)
func (a *LinkAddr) lenAndSpace() (int, int)
func (a *DefaultAddr) lenAndSpace() (int, int)
func (a *Inet4Addr) lenAndSpace() (int, int)
func (a *Inet4Addr) marshal(b []byte) (int, error)
func (m *RouteMessage) marshal() ([]byte, error)
func (a *DefaultAddr) marshal(b []byte) (int, error)
func (a *LinkAddr) marshal(b []byte) (int, error)
func (m *RouteMessage) marshal() ([]byte, error)
func (a *Inet6Addr) marshal(b []byte) (int, error)
marshalAddrs marshals as and returns a bitmap indicating which address is stored in b.
func marshalAddrs(b []byte, as []Addr) (uint, error)
func parseAddrs(attrs uint, fn func(int, []byte) (int, Addr, error), b []byte) ([]Addr, error)
func parseDefaultAddr(b []byte) (Addr, error)
parseInetAddr parses b as an internet address for IPv4 or IPv6.
func parseInetAddr(af int, b []byte) (Addr, error)
func (w *wireFormat) parseInterfaceAddrMessage(_ RIBType, b []byte) (Message, error)
func (*wireFormat) parseInterfaceAddrMessage(_ RIBType, b []byte) (Message, error)
func (w *wireFormat) parseInterfaceAddrMessage(typ RIBType, b []byte) (Message, error)
func (*wireFormat) parseInterfaceAnnounceMessage(_ RIBType, b []byte) (Message, error)
func (w *wireFormat) parseInterfaceAnnounceMessage(_ RIBType, b []byte) (Message, error)
func (*wireFormat) parseInterfaceMessage(_ RIBType, b []byte) (Message, error)
func (w *wireFormat) parseInterfaceMessage(_ RIBType, b []byte) (Message, error)
func (w *wireFormat) parseInterfaceMessage(typ RIBType, b []byte) (Message, error)
func (w *wireFormat) parseInterfaceMulticastAddrMessage(_ RIBType, b []byte) (Message, error)
parseKernelInetAddr parses b as an internet address in conventional BSD kernel form.
func parseKernelInetAddr(af int, b []byte) (int, Addr, error)
parseKernelLinkAddr parses b as a link-layer address in conventional BSD kernel form.
func parseKernelLinkAddr(_ int, b []byte) (int, Addr, error)
func parseLinkAddr(b []byte) (Addr, error)
func (*wireFormat) parseRouteMessage(_ RIBType, b []byte) (Message, error)
func (w *wireFormat) parseRouteMessage(typ RIBType, b []byte) (Message, error)
func (typ RIBType) parseable() bool
func (typ RIBType) parseable() bool
func (typ RIBType) parseable() bool
func (typ RIBType) parseable() bool
func (typ RIBType) parseable() bool
func probeRoutingStack() (int, map[int]*wireFormat)
func probeRoutingStack() (int, map[int]*wireFormat)
func probeRoutingStack() (int, map[int]*wireFormat)
func probeRoutingStack() (int, map[int]*wireFormat)
func probeRoutingStack() (int, map[int]*wireFormat)
func roundup(l int) int
go:linkname sysctl syscall.sysctl
func sysctl(mib []int32, old *byte, oldlen *uintptr, new *byte, newlen uintptr) error
Generated with Arrow