Versions in this module Expand all Collapse all v0 v0.25.2 Dec 13, 2024 Changes in this version + func FetchRIB(af int, typ RIBType, arg int) ([]byte, error) — darwin/amd64 + type Addr interface — darwin/amd64 + Family func() int + type DefaultAddr struct — darwin/amd64 + Raw []byte + func (a *DefaultAddr) Family() int + type Inet4Addr struct — darwin/amd64 + IP [4]byte + func (a *Inet4Addr) Family() int + type Inet6Addr struct — darwin/amd64 + IP [16]byte + ZoneID int + func (a *Inet6Addr) Family() int + type InterfaceAddrMessage struct — darwin/amd64 + Addrs []Addr + Flags int + Index int + Type int + Version int + func (m *InterfaceAddrMessage) Sys() []Sys + type InterfaceAnnounceMessage struct — darwin/amd64 + Index int + Name string + Type int + Version int + What int + func (m *InterfaceAnnounceMessage) Sys() []Sys + type InterfaceMessage struct — darwin/amd64 + Addrs []Addr + Flags int + Index int + Name string + Type int + Version int + func (m *InterfaceMessage) Sys() []Sys + type InterfaceMetrics struct — darwin/amd64 + MTU int + Type int + func (imx *InterfaceMetrics) SysType() SysType + type InterfaceMulticastAddrMessage struct — darwin/amd64 + Addrs []Addr + Flags int + Index int + Type int + Version int + func (m *InterfaceMulticastAddrMessage) Sys() []Sys + type LinkAddr struct — darwin/amd64 + Addr []byte + Index int + Name string + func (a *LinkAddr) Family() int + type Message interface — darwin/amd64 + Sys func() []Sys + func ParseRIB(typ RIBType, b []byte) ([]Message, error) + type RIBType int — darwin/amd64 + const RIBTypeInterface + const RIBTypeRoute + type RouteMessage struct — darwin/amd64 + Addrs []Addr + Err error + Flags int + ID uintptr + Index int + Seq int + Type int + Version int + func (m *RouteMessage) Marshal() ([]byte, error) + func (m *RouteMessage) Sys() []Sys + type RouteMetrics struct — darwin/amd64 + PathMTU int + func (rmx *RouteMetrics) SysType() SysType + type Sys interface — darwin/amd64 + SysType func() SysType + type SysType int — darwin/amd64 + const SysMetrics + const SysStats