1 instantiation of IPPacketInformation
System.Net.Sockets (1)
System\Net\Sockets\SocketPal.Unix.cs (1)
56
return new
IPPacketInformation
(nativePacketInfo.Address.GetIPAddress(), nativePacketInfo.InterfaceIndex);
43 references to IPPacketInformation
netstandard (1)
netstandard.cs (1)
1258
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.
IPPacketInformation
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
748
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.
IPPacketInformation
))]
System.Net.Sockets (41)
System\Net\Sockets\IPPacketInformation.cs (7)
8
public struct IPPacketInformation : IEquatable<
IPPacketInformation
>
23
public static bool operator ==(
IPPacketInformation
packetInformation1,
IPPacketInformation
packetInformation2) =>
26
public static bool operator !=(
IPPacketInformation
packetInformation1,
IPPacketInformation
packetInformation2) =>
30
comparand is
IPPacketInformation
other && Equals(other);
35
public bool Equals(
IPPacketInformation
other) =>
System\Net\Sockets\Socket.cs (5)
1665
public int ReceiveMessageFrom(byte[] buffer, int offset, int size, ref SocketFlags socketFlags, ref EndPoint remoteEP, out
IPPacketInformation
ipPacketInformation)
1731
/// An <see cref="
IPPacketInformation
"/> holding address and interface information.
1739
/// <see cref="Socket.ReceiveMessageFrom(Span{byte}, ref SocketFlags, ref EndPoint, out
IPPacketInformation
)"/>
1744
public int ReceiveMessageFrom(Span<byte> buffer, ref SocketFlags socketFlags, ref EndPoint remoteEP, out
IPPacketInformation
ipPacketInformation)
2686
public int EndReceiveMessageFrom(IAsyncResult asyncResult, ref SocketFlags socketFlags, ref EndPoint endPoint, out
IPPacketInformation
ipPacketInformation)
System\Net\Sockets\Socket.Tasks.cs (2)
1131
IPPacketInformation
packetInformation = ReceiveMessageFromPacketInfo;
1361
IPPacketInformation
packetInformation = ReceiveMessageFromPacketInfo;
System\Net\Sockets\SocketAsyncContext.Unix.cs (9)
566
public
IPPacketInformation
IPPacketInformation;
570
public Action<int, Memory<byte>, SocketFlags,
IPPacketInformation
, SocketError>? Callback { get; set; }
596
public
IPPacketInformation
IPPacketInformation;
600
public Action<int, Memory<byte>, SocketFlags,
IPPacketInformation
, SocketError>? Callback { get; set; }
1813
Memory<byte> buffer, ref SocketFlags flags, Memory<byte> socketAddress, out int socketAddressLen, bool isIPv4, bool isIPv6, int timeout, out
IPPacketInformation
ipPacketInformation, out int bytesReceived)
1850
Span<byte> buffer, ref SocketFlags flags, Memory<byte> socketAddress, out int socketAddressLen, bool isIPv4, bool isIPv6, int timeout, out
IPPacketInformation
ipPacketInformation, out int bytesReceived)
1889
public SocketError ReceiveMessageFromAsync(Memory<byte> buffer, IList<ArraySegment<byte>>? buffers, SocketFlags flags, Memory<byte> socketAddress, out int socketAddressLen, bool isIPv4, bool isIPv6, out int bytesReceived, out SocketFlags receivedFlags, out
IPPacketInformation
ipPacketInformation, Action<int, Memory<byte>, SocketFlags,
IPPacketInformation
, SocketError> callback, CancellationToken cancellationToken = default)
1921
ipPacketInformation = default(
IPPacketInformation
);
System\Net\Sockets\SocketAsyncEventArgs.cs (2)
40
private
IPPacketInformation
_receiveMessageFromPacketInfo;
253
public
IPPacketInformation
ReceiveMessageFromPacketInfo
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (4)
180
private void ReceiveMessageFromCompletionCallback(int bytesTransferred, Memory<byte> socketAddress, SocketFlags receivedFlags,
IPPacketInformation
ipPacketInformation, SocketError errorCode)
187
private void CompleteReceiveMessageFromOperation(Memory<byte> socketAddress, int socketAddressSize, SocketFlags receivedFlags,
IPPacketInformation
ipPacketInformation)
198
_receiveMessageFromPacketInfo = default(
IPPacketInformation
);
208
IPPacketInformation
ipPacketInformation;
System\Net\Sockets\SocketPal.Unix.cs (11)
43
private static unsafe
IPPacketInformation
GetIPPacketInformation(Interop.Sys.MessageHeader* messageHeader, bool isIPv4, bool isIPv6)
47
return default(
IPPacketInformation
);
53
return default(
IPPacketInformation
);
483
private static unsafe int SysReceiveMessageFrom(SafeSocketHandle socket, SocketFlags flags, Span<byte> buffer, Span<byte> socketAddress, out int socketAddressLen, bool isIPv4, bool isIPv6, out SocketFlags receivedFlags, out
IPPacketInformation
ipPacketInformation, out Interop.Error errno)
524
ipPacketInformation = default(
IPPacketInformation
);
541
out SocketFlags receivedFlags, out
IPPacketInformation
ipPacketInformation, out Interop.Error errno)
611
ipPacketInformation = default(
IPPacketInformation
);
903
public static unsafe bool TryCompleteReceiveMessageFrom(SafeSocketHandle socket, Span<byte> buffer, IList<ArraySegment<byte>>? buffers, SocketFlags flags, Memory<byte> socketAddress, out int receivedSocketAddressLength, bool isIPv4, bool isIPv6, out int bytesReceived, out SocketFlags receivedFlags, out
IPPacketInformation
ipPacketInformation, out SocketError errorCode)
943
ipPacketInformation = default(
IPPacketInformation
);
1304
public static SocketError ReceiveMessageFrom(Socket socket, SafeSocketHandle handle, byte[] buffer, int offset, int count, ref SocketFlags socketFlags, SocketAddress socketAddress, out SocketAddress receiveAddress, out
IPPacketInformation
ipPacketInformation, out int bytesTransferred)
1330
public static SocketError ReceiveMessageFrom(Socket socket, SafeSocketHandle handle, Span<byte> buffer, ref SocketFlags socketFlags, SocketAddress socketAddress, out SocketAddress receiveAddress, out
IPPacketInformation
ipPacketInformation, out int bytesTransferred)
System\Net\Sockets\SocketReceiveMessageFromResult.cs (1)
15
public
IPPacketInformation
PacketInformation;