12 references to IcmpV6MessageType
System.Net.Ping (12)
System\Net\NetworkInformation\IcmpV6MessageConstants.cs (6)
57
return (
IcmpV6MessageType
)type switch
59
IcmpV6MessageType
.EchoReply => IPStatus.Success,
60
IcmpV6MessageType
.DestinationUnreachable => (IcmpV6DestinationUnreachableCode)code switch
66
IcmpV6MessageType
.PacketTooBig => IPStatus.PacketTooBig,
67
IcmpV6MessageType
.TimeExceeded => (IcmpV6TimeExceededCode)code switch
72
IcmpV6MessageType
.ParameterProblem => (IcmpV6ParameterProblemCode)code switch
System\Net\NetworkInformation\Ping.RawSocket.cs (6)
56
Type = ipv4 ? (byte)IcmpV4MessageType.EchoRequest : (byte)
IcmpV6MessageType
.EchoRequest,
198
if (type == (byte)
IcmpV6MessageType
.EchoReply)
203
else if (type == (byte)
IcmpV6MessageType
.DestinationUnreachable ||
204
type == (byte)
IcmpV6MessageType
.TimeExceeded ||
205
type == (byte)
IcmpV6MessageType
.ParameterProblem ||
206
type == (byte)
IcmpV6MessageType
.PacketTooBig)