<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NWEthernetChannel/EthernetAddress",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network17NWEthernetChannelC15EthernetAddressV"
  },
  "title" : "NWEthernetChannel.EthernetAddress"
}
-->

# NWEthernetChannel.EthernetAddress

A 48-bit Ethernet address.

```
struct EthernetAddress
```

## Topics

### Creating Addresses

[`init?(Data)`](/documentation/Network/NWEthernetChannel/EthernetAddress/init(_:)-62x9i)

Initializes an Ethernet address with data.

[`init?(String)`](/documentation/Network/NWEthernetChannel/EthernetAddress/init(_:)-1brh7)

Initializes an Ethernet address with a string.

### Inspecting Addresses

[`var rawValue: Data`](/documentation/Network/NWEthernetChannel/EthernetAddress/rawValue)

The raw data of the Ethernet address.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)