You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
windows: add iphlpapi functions for change notifications
The NotifyIpInterfaceChange and NotifyUnicastIpAddressChange functions
register a user-defined callback function for receiving network
interface and IP address change notifications. The GetIfEntry2Ex and
GetUnicastIpAddressEntry functions can be called to retrieve complete
information about the changed interface or address.
The CancelMibChangeNotify2 function deregisters for change
notifications.
Change-Id: Iee29405ffa135c6aa0120f9aa046e3706e2bac47
GitHub-Last-Rev: a8309cd
GitHub-Pull-Request: #211
Reviewed-on: https://go-review.googlesource.com/c/sys/+/603755
Reviewed-by: Alex Brainman <[email protected]>
Reviewed-by: Carlos Amedee <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: David Chase <[email protected]>
// MIB_IPINTERFACE_ROW stores interface management information for a particular IP address family on a network interface.
2293
+
// See https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_ipinterface_row.
2294
+
typeMibIpInterfaceRowstruct {
2295
+
Familyuint16
2296
+
InterfaceLuiduint64
2297
+
InterfaceIndexuint32
2298
+
MaxReassemblySizeuint32
2299
+
InterfaceIdentifieruint64
2300
+
MinRouterAdvertisementIntervaluint32
2301
+
MaxRouterAdvertisementIntervaluint32
2302
+
AdvertisingEnableduint8
2303
+
ForwardingEnableduint8
2304
+
WeakHostSenduint8
2305
+
WeakHostReceiveuint8
2306
+
UseAutomaticMetricuint8
2307
+
UseNeighborUnreachabilityDetectionuint8
2308
+
ManagedAddressConfigurationSupporteduint8
2309
+
OtherStatefulConfigurationSupporteduint8
2310
+
AdvertiseDefaultRouteuint8
2311
+
RouterDiscoveryBehavioruint32
2312
+
DadTransmitsuint32
2313
+
BaseReachableTimeuint32
2314
+
RetransmitTimeuint32
2315
+
PathMtuDiscoveryTimeoutuint32
2316
+
LinkLocalAddressBehavioruint32
2317
+
LinkLocalAddressTimeoutuint32
2318
+
ZoneIndices [ScopeLevelCount]uint32
2319
+
SitePrefixLengthuint32
2320
+
Metricuint32
2321
+
NlMtuuint32
2322
+
Connecteduint8
2323
+
SupportsWakeUpPatternsuint8
2324
+
SupportsNeighborDiscoveryuint8
2325
+
SupportsRouterDiscoveryuint8
2326
+
ReachableTimeuint32
2327
+
TransmitOffloaduint32
2328
+
ReceiveOffloaduint32
2329
+
DisableDefaultRoutesuint8
2330
+
}
2331
+
2206
2332
// Console related constants used for the mode parameter to SetConsoleMode. See
2207
2333
// https://docs.microsoft.com/en-us/windows/console/setconsolemode for details.
0 commit comments