NIO: reflow some comments (NFC) (#1677)
This commit is contained in:
parent
d8c5a5ec84
commit
1cdbf763fb
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue