| ... | ... | @@ -1,9 +1,16 @@ |
| 1 | // SPDX-License-Identifier: MIT |
| 2 | // Copyright (c) 2015-2021 Zig Contributors |
| 3 | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | // The MIT license requires this copyright notice to be included in all copies |
| 5 | // and substantial portions of the software. |
| 6 | |
| 1 | 7 | const std = @import("../../std.zig"); |
| 2 | 8 | |
| 3 | 9 | const IPv4 = std.x.os.IPv4; |
| 4 | 10 | const IPv6 = std.x.os.IPv6; |
| 5 | 11 | const Socket = std.x.os.Socket; |
| 6 | 12 | |
| 13 | /// A generic IP abstraction. |
| 7 | 14 | const ip = @This(); |
| 8 | 15 | |
| 9 | 16 | /// A union of all eligible types of IP addresses. |