23 references to IPStatus
System (23)
net\System\Net\NetworkInformation\ping.cs (3)
712
|| error < (int)
IPStatus
.DestinationNetworkUnreachable // Min
713
|| error > (int)
IPStatus
.DestinationScopeMismatch) // Max // Out of IPStatus range
716
return new PingReply((
IPStatus
)error); // Synchronous IPStatus errors
net\System\Net\NetworkInformation\PingReply.cs (20)
11
IPStatus
ipStatus; // the status code returned by icmpsendecho, or the icmp status field on the raw socket
19
internal PingReply (
IPStatus
ipStatus) {
32
if (ipStatus ==
IPStatus
.Success) {
44
ipStatus = (
IPStatus
)reply.status; //the icmpsendecho ip status codes
47
if (ipStatus ==
IPStatus
.Success) {
62
ipStatus = (
IPStatus
)reply.Status; //the icmpsendecho ip status codes
65
if (ipStatus ==
IPStatus
.Success) {
79
private
IPStatus
GetIPStatus (IcmpV4Type type, IcmpV4Code code) {
82
return
IPStatus
.Success;
84
return
IPStatus
.SourceQuench;
86
return
IPStatus
.ParameterProblem;
88
return
IPStatus
.TtlExpired;
94
return
IPStatus
.DestinationNetworkUnreachable;
96
return
IPStatus
.DestinationHostUnreachable;
98
return
IPStatus
.DestinationProtocolUnreachable;
100
return
IPStatus
.DestinationPortUnreachable;
102
return
IPStatus
.PacketTooBig;
104
return
IPStatus
.DestinationUnreachable;
108
return
IPStatus
.Unknown;
112
public
IPStatus
Status { get { return ipStatus; } }