22 references to MsQuicHelpers
System.Net.Quic (22)
System\Net\Quic\Internal\MsQuicExtensions.cs (6)
12
=> $"{{ {nameof(QuicVersion)} = {QuicVersion}, {nameof(LocalAddress)} = {
MsQuicHelpers
.QuicAddrToIPEndPoint(LocalAddress)}, {nameof(RemoteAddress)} = {
MsQuicHelpers
.QuicAddrToIPEndPoint(RemoteAddress)} }}";
21
=> $"{{ {nameof(NEW_CONNECTION.Info)} = {{ {nameof(QUIC_NEW_CONNECTION_INFO.QuicVersion)} = {NEW_CONNECTION.Info->QuicVersion}, {nameof(QUIC_NEW_CONNECTION_INFO.LocalAddress)} = {
MsQuicHelpers
.QuicAddrToIPEndPoint(NEW_CONNECTION.Info->LocalAddress)}, {nameof(QUIC_NEW_CONNECTION_INFO.RemoteAddress)} = {
MsQuicHelpers
.QuicAddrToIPEndPoint(NEW_CONNECTION.Info->RemoteAddress)} }}, {nameof(NEW_CONNECTION.Connection)} = 0x{(IntPtr)NEW_CONNECTION.Connection:X11} }}",
40
=> $"{{ {nameof(LOCAL_ADDRESS_CHANGED.Address)} = {
MsQuicHelpers
.QuicAddrToIPEndPoint(LOCAL_ADDRESS_CHANGED.Address)} }}",
42
=> $"{{ {nameof(PEER_ADDRESS_CHANGED.Address)} = {
MsQuicHelpers
.QuicAddrToIPEndPoint(PEER_ADDRESS_CHANGED.Address)} }}",
System\Net\Quic\Internal\MsQuicTlsSecret.cs (1)
28
MsQuicHelpers
.SetMsQuicParameter(handle, QUIC_PARAM_CONN_TLS_SECRETS, (uint)sizeof(QUIC_TLS_SECRETS), (byte*)tlsSecrets);
System\Net\Quic\QuicConnection.cs (11)
368
_remoteEndPoint =
MsQuicHelpers
.QuicAddrToIPEndPoint(info->RemoteAddress);
369
_localEndPoint =
MsQuicHelpers
.QuicAddrToIPEndPoint(info->LocalAddress);
406
MsQuicHelpers
.SetMsQuicParameter(_handle, QUIC_PARAM_CONN_REMOTE_ADDRESS, remoteQuicAddress);
411
MsQuicHelpers
.SetMsQuicParameter(_handle, QUIC_PARAM_CONN_LOCAL_ADDRESS, localQuicAddress);
632
QUIC_HANDSHAKE_INFO info =
MsQuicHelpers
.GetMsQuicParameter<QUIC_HANDSHAKE_INFO>(_handle, QUIC_PARAM_TLS_HANDSHAKE_INFO);
641
QuicAddr remoteAddress =
MsQuicHelpers
.GetMsQuicParameter<QuicAddr>(_handle, QUIC_PARAM_CONN_REMOTE_ADDRESS);
642
_remoteEndPoint =
MsQuicHelpers
.QuicAddrToIPEndPoint(&remoteAddress);
644
QuicAddr localAddress =
MsQuicHelpers
.GetMsQuicParameter<QuicAddr>(_handle, QUIC_PARAM_CONN_LOCAL_ADDRESS);
645
_localEndPoint =
MsQuicHelpers
.QuicAddrToIPEndPoint(&localAddress);
687
_localEndPoint =
MsQuicHelpers
.QuicAddrToIPEndPoint(data.Address);
692
_remoteEndPoint =
MsQuicHelpers
.QuicAddrToIPEndPoint(data.Address);
System\Net\Quic\QuicListener.cs (3)
15
using static System.Net.Quic.
MsQuicHelpers
;
164
LocalEndPoint =
MsQuicHelpers
.QuicAddrToIPEndPoint(&address, options.ListenEndPoint.AddressFamily);
330
NetEventSource.Info(this, $"{this} Refusing connection from {
MsQuicHelpers
.QuicAddrToIPEndPoint(data.Info->RemoteAddress)} due to backlog limit");
System\Net\Quic\QuicStream.cs (1)
12
using static System.Net.Quic.
MsQuicHelpers
;