13 references to IcmpV4MessageType
System.Net.Ping (13)
System\Net\NetworkInformation\IcmpV4MessageConstants.cs (6)
56return (IcmpV4MessageType)type switch 58IcmpV4MessageType.EchoReply => IPStatus.Success, 59IcmpV4MessageType.DestinationUnreachable => (IcmpV4DestinationUnreachableCode)code switch 67IcmpV4MessageType.SourceQuench => IPStatus.SourceQuench, 68IcmpV4MessageType.TimeExceeded => IPStatus.TtlExpired, 69IcmpV4MessageType.ParameterProblemBadIPHeader => IPStatus.BadHeader,
System\Net\NetworkInformation\Ping.RawSocket.cs (7)
56Type = ipv4 ? (byte)IcmpV4MessageType.EchoRequest : (byte)IcmpV6MessageType.EchoRequest, 156if (type == (byte)IcmpV4MessageType.EchoReply) 161else if (type == (byte)IcmpV4MessageType.DestinationUnreachable || 162type == (byte)IcmpV4MessageType.TimeExceeded || 163type == (byte)IcmpV4MessageType.ParameterProblemBadIPHeader || 164type == (byte)IcmpV4MessageType.SourceQuench || 165type == (byte)IcmpV4MessageType.RedirectMessage)