Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyscallOnlyReturnError ¶
Types ¶
type MibUnicastIPAddressRow ¶
type MibUnicastIPAddressRow struct {
Address SockAddrInet
InterfaceLUID uint64
InterfaceIndex uint32
PrefixOrigin uint32
SuffixOrigin uint32
ValidLifetime uint32
PreferredLifetime uint32
OnLinkPrefixLength uint8
SkipAsSource bool
DadState NLDadState
ScopeID uint32
CreationTimeStamp int64
}
MibUnicastIPAddressRow structure stores information about a unicast IP address. https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_unicastipaddress_row
func (*MibUnicastIPAddressRow) Delete ¶
func (m *MibUnicastIPAddressRow) Delete() error
func (*MibUnicastIPAddressRow) Init ¶
func (m *MibUnicastIPAddressRow) Init() error
type MibUnicastIPAddressTable ¶
type MibUnicastIPAddressTable struct {
NumEntries uint32
Table [1]MibUnicastIPAddressRow
}
func (*MibUnicastIPAddressTable) Free ¶
func (m *MibUnicastIPAddressTable) Free()
func (*MibUnicastIPAddressTable) Init ¶
func (m *MibUnicastIPAddressTable) Init() error
func (*MibUnicastIPAddressTable) Rows ¶
func (m *MibUnicastIPAddressTable) Rows() []MibUnicastIPAddressRow
type NLDadState ¶
type NLDadState uint32
const ( NldsInvalid NLDadState = iota NldsTentative NldsDuplicate NldsDeprecated NldsPreferred )
type NetItf ¶
type NetItf uint64
NetItf represents the network interface UUID of windows.
func (NetItf) FlushAddress ¶
type SockAddrInet ¶
type SockAddrInet struct {
Family uint16
// contains filtered or unexported fields
}
func (*SockAddrInet) SetAddrPort ¶
func (s *SockAddrInet) SetAddrPort(ap netip.AddrPort) error
Click to show internal directories.
Click to hide internal directories.