<!--
{
  "availability" : [
    "*: -",
    "DriverKit: -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkingDriverKit",
  "identifier" : "/documentation/NetworkingDriverKit/IOUserNetworkEthernet/ReportLinkStatus-5cxiq",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "NetworkingDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserNetworkEthernet@F@ReportLinkStatus#i#i#"
  },
  "title" : "ReportLinkStatus"
}
-->

# ReportLinkStatus

Reports the status of the link between the device and your driver to the system.

```
virtual kern_return_t ReportLinkStatus(IOUserNetworkLinkStatus linkStatus, IOUserNetworkMediaType activeMediaType);
```

## Parameters

`linkStatus`

The state of the connection to your device. For a list of possible values, see the constants in [`IOUserNetworkLinkStatus`](/documentation/NetworkingDriverKit/IOUserNetworkLinkStatus).

`activeMediaType`

The media type that your device currently supports. The media type must be one you previously reported using the [`ReportAvailableMediaTypes`](/documentation/NetworkingDriverKit/IOUserNetworkEthernet/ReportAvailableMediaTypes) method.

## Return Value

`kIOReturnSuccess` on success, or another value if an error occurred.

## Discussion

Call this method when you want to notify the network about any changes to the link status or active media type for your device.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)