diff --git a/Sources/NIO/BSDSocketAPI.swift b/Sources/NIO/BSDSocketAPI.swift index 03622104..b16353f6 100644 --- a/Sources/NIO/BSDSocketAPI.swift +++ b/Sources/NIO/BSDSocketAPI.swift @@ -293,10 +293,13 @@ extension NIOBSDSocket.Option { /// Control multicast time-to-live. public static let ip_multicast_ttl: NIOBSDSocket.Option = NIOBSDSocket.Option(rawValue: IP_MULTICAST_TTL) - - /// Request that we are passed type of service details when receiving datagrams. - /// Not public as the way to request this is to use `ChannelOptions.explicitCongestionNotification` - /// which works for both IPv4 and IPv6. + + /// Request that we are passed type of service details when receiving + /// datagrams. + /// + /// Not public as the way to request this is to use + /// `ChannelOptions.explicitCongestionNotification` which works for both + /// IPv4 and IPv6. static let ip_recv_tos: NIOBSDSocket.Option = NIOBSDSocket.Option(rawValue: IP_RECVTOS) } @@ -327,10 +330,13 @@ extension NIOBSDSocket.Option { /// restricted to IPv6 only. public static let ipv6_v6only: NIOBSDSocket.Option = NIOBSDSocket.Option(rawValue: IPV6_V6ONLY) - - /// Request that we are passed traffic class details when receiving datagrams. - /// Not public as the way to request this is to use `ChannelOptions.explicitCongestionNotification` - /// which works for both IPv4 and IPv6. + + /// Request that we are passed traffic class details when receiving + /// datagrams. + /// + /// Not public as the way to request this is to use + /// `ChannelOptions.explicitCongestionNotification` which works for both + /// IPv4 and IPv6. static let ipv6_recv_tclass: NIOBSDSocket.Option = NIOBSDSocket.Option(rawValue: IPV6_RECVTCLASS) }