Home
last modified time | relevance | path

Searched refs:PingOptions (Results 1 – 25 of 70) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Ping/tests/FunctionalTests/
H A DPingOptionsTest.cs14 Assert.Equal(128, new PingOptions().Ttl); in DefaultProperties()
15 Assert.False(new PingOptions().DontFragment); in DefaultProperties()
22 Assert.Equal(Ttl, new PingOptions(Ttl, false).Ttl); in CtorValuesPassedToProperties()
23 Assert.True(new PingOptions(1, true).DontFragment); in CtorValuesPassedToProperties()
31 Assert.Throws<ArgumentOutOfRangeException>(() => new PingOptions(ttl, false)); in Ttl_InvalidValues_ThrowsException()
32 Assert.Throws<ArgumentOutOfRangeException>(() => new PingOptions().Ttl = ttl); in Ttl_InvalidValues_ThrowsException()
40 Assert.Equal(ttl, new PingOptions() { Ttl = ttl }.Ttl); in Ttl_SetGetValidValues_Success()
48 Assert.Equal(dontFragment, new PingOptions(1, dontFragment).DontFragment); in DontFragment_SetGetValidValues_Success()
49 … Assert.Equal(dontFragment, new PingOptions { DontFragment = dontFragment }.DontFragment); in DontFragment_SetGetValidValues_Success()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Ping/ref/
H A DSystem.Net.Ping.cs50 …meOrAddress, int timeout, byte[] buffer, System.Net.NetworkInformation.PingOptions options) { thro… in Send()
51 …ess address, int timeout, byte[] buffer, System.Net.NetworkInformation.PingOptions options) { thro… in Send()
58 …meOrAddress, int timeout, byte[] buffer, System.Net.NetworkInformation.PingOptions options, object… in SendAsync()
59 …ess address, int timeout, byte[] buffer, System.Net.NetworkInformation.PingOptions options, object… in SendAsync()
64 …ess address, int timeout, byte[] buffer, System.Net.NetworkInformation.PingOptions options) { thro… in SendPingAsync()
68 …meOrAddress, int timeout, byte[] buffer, System.Net.NetworkInformation.PingOptions options) { thro… in SendPingAsync()
82 public partial class PingOptions class
84 public PingOptions() { } in PingOptions() method in System.Net.NetworkInformation.PingOptions
85 public PingOptions(int ttl, bool dontFragment) { } in PingOptions() method in System.Net.NetworkInformation.PingOptions
94 public System.Net.NetworkInformation.PingOptions Options { get { throw null; } }
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/NetworkInformation/
H A DPingOptions.cs7 public class PingOptions class
13 internal PingOptions (IPOptions options) { in PingOptions() method in System.Net.NetworkInformation.PingOptions
18 public PingOptions (int ttl, bool dontFragment) { in PingOptions() method in System.Net.NetworkInformation.PingOptions
27 public PingOptions () { in PingOptions() method in System.Net.NetworkInformation.PingOptions
H A DPingReply.cs10 PingOptions options;
41 …internal PingReply (IPAddress address, byte [] buffer, PingOptions options, long roundtripTime, IP… in PingReply()
60 options = new PingOptions (reply.options); in PingReply()
124 public PingOptions Options {
H A Dping.cs284 …public PingReply Send (string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options) { in Send()
306 public PingReply Send (IPAddress address, int timeout, byte[] buffer, PingOptions options) { in Send()
398 …public void SendAsync (string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options, … in SendAsync()
438 …public void SendAsync (IPAddress address, int timeout, byte[] buffer, PingOptions options, object … in SendAsync()
531 …c Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer, PingOptions options) in SendPingAsync()
537 …PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options) in SendPingAsync()
580 …internal AsyncStateObject(string hostName, byte[] buffer, int timeout, PingOptions options, object… in AsyncStateObject()
592 internal PingOptions options;
626 …private PingReply InternalSend (IPAddress address, byte[] buffer, int timeout, PingOptions options… in InternalSend()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.NetworkInformation/
H A DPing.cs185 return Send (address, timeout, buffer, new PingOptions ()); in Send()
200 return Send (hostNameOrAddress, timeout, buffer, new PingOptions ()); in Send()
203 public PingReply Send (string hostNameOrAddress, int timeout, byte [] buffer, PingOptions options) in Send()
209 public PingReply Send (IPAddress address, int timeout, byte [] buffer, PingOptions options) in Send()
231 …private PingReply SendPrivileged (IPAddress address, int timeout, byte [] buffer, PingOptions opti… in SendPrivileged()
294 …private PingReply SendUnprivileged (IPAddress address, int timeout, byte [] buffer, PingOptions op… in SendUnprivileged()
346 SendAsync (address, default_timeout, default_buffer, new PingOptions (), userToken); in SendAsync()
361 SendAsync (hostNameOrAddress, timeout, buffer, new PingOptions (), userToken); in SendAsync()
531 private string BuildPingArgs (IPAddress address, int timeout, PingOptions options) in BuildPingArgs()
554 return SendPingAsync (address, default_timeout, default_buffer, new PingOptions ()); in SendPingAsync()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Ping/src/System/Net/NetworkInformation/
H A DPingOptions.cs7 public class PingOptions class
12 public PingOptions() in PingOptions() method in System.Net.NetworkInformation.PingOptions
17 public PingOptions(int ttl, bool dontFragment) in PingOptions() method in System.Net.NetworkInformation.PingOptions
H A DPingReply.cs10 private readonly PingOptions _options;
17 PingOptions options, in PingReply()
35 public PingOptions Options { get { return _options; } }
H A DPing.cs154 … public PingReply Send(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options) in Send()
159 public PingReply Send(IPAddress address, int timeout, byte[] buffer, PingOptions options) in Send()
194 …public void SendAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options, o… in SendAsync()
199 …public void SendAsync(IPAddress address, int timeout, byte[] buffer, PingOptions options, object u… in SendAsync()
245 …c Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer, PingOptions options) in SendPingAsync()
296 …PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options) in SendPingAsync()
345 …> GetAddressAndSendAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options) in GetAddressAndSendAsync()
H A DPing.Windows.cs33 …sk<PingReply> SendPingAsyncCore(IPAddress address, byte[] buffer, int timeout, PingOptions options) in SendPingAsyncCore()
281 PingOptions options; in CreatePingReplyFromIcmpEchoReply()
288 … options = new PingOptions(reply.options.ttl, (reply.options.flags & DontFragmentFlag) > 0); in CreatePingReplyFromIcmpEchoReply()
295 options = default(PingOptions); in CreatePingReplyFromIcmpEchoReply()
323 return new PingReply(address, default(PingOptions), ipStatus, rtt, buffer); in CreatePingReplyFromIcmp6EchoReply()
H A DPing.Unix.cs24 …sk<PingReply> SendPingAsyncCore(IPAddress address, byte[] buffer, int timeout, PingOptions options) in SendPingAsyncCore()
44 …endIcmpEchoRequestOverRawSocket(IPAddress address, byte[] buffer, int timeout, PingOptions options) in SendIcmpEchoRequestOverRawSocket()
154 …<PingReply> SendWithPingUtility(IPAddress address, byte[] buffer, int timeout, PingOptions options) in SendWithPingUtility()
H A DPing.Windows.Uap.cs18 …sk<PingReply> SendPingAsyncCore(IPAddress address, byte[] buffer, int timeout, PingOptions options) in SendPingAsyncCore()
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vault-plugin-database-couchbase/vendor/github.com/couchbase/gocb/v2/
H A Dcluster_ping.go12 func (c *Cluster) Ping(opts *PingOptions) (*PingResult, error) { argument
14 opts = &PingOptions{}
25 func ping(provider diagnosticsProvider, opts *PingOptions, timeouts TimeoutsConfig) (*PingResult, e… argument
33 coreopts := gocbcore.PingOptions{
H A Dbucket_ping.go76 type PingOptions struct { struct
84 func (b *Bucket) Ping(opts *PingOptions) (*PingResult, error) { argument
86 opts = &PingOptions{}
H A Dproviders.go41 Ping(opts gocbcore.PingOptions) (*gocbcore.PingResult, error) argument
46 Ping(opts gocbcore.PingOptions, cb gocbcore.PingCallback) (gocbcore.PendingOp, error) argument
79 func (dpw *diagnosticsProviderWrapper) Ping(opts gocbcore.PingOptions) (pOut *gocbcore.PingResult, …
/dports/security/vault/vault-1.8.2/vendor/github.com/couchbase/gocb/v2/
H A Dcluster_ping.go12 func (c *Cluster) Ping(opts *PingOptions) (*PingResult, error) { argument
14 opts = &PingOptions{}
25 func ping(provider diagnosticsProvider, opts *PingOptions, timeouts TimeoutsConfig) (*PingResult, e… argument
33 coreopts := gocbcore.PingOptions{
H A Dmock_diagnosticsProvider_test.go39 func (_m *mockDiagnosticsProvider) Ping(opts gocbcore.PingOptions) (*gocbcore.PingResult, error) {
43 if rf, ok := ret.Get(0).(func(gocbcore.PingOptions) *gocbcore.PingResult); ok {
52 if rf, ok := ret.Get(1).(func(gocbcore.PingOptions) error); ok {
H A Dbucket_ping.go76 type PingOptions struct { struct
84 func (b *Bucket) Ping(opts *PingOptions) (*PingResult, error) { argument
86 opts = &PingOptions{}
H A Dproviders.go41 Ping(opts gocbcore.PingOptions) (*gocbcore.PingResult, error) argument
46 Ping(opts gocbcore.PingOptions, cb gocbcore.PingCallback) (gocbcore.PendingOp, error) argument
79 func (dpw *diagnosticsProviderWrapper) Ping(opts gocbcore.PingOptions) (pOut *gocbcore.PingResult, …
H A Dcluster_ping_test.go98 opts := args.Get(0).(gocbcore.PingOptions)
182 opts := args.Get(0).(gocbcore.PingOptions)
204 report, err := c.Ping(&PingOptions{
/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-pingscanner/
H A Dpingscanner.go53 PingOptions []string member
72 go ping(pingChan, pongChan, d.PingOptions...)
/dports/net-mgmt/mrtg-ping-probe/mrtg-ping-probe-2.2.0/
H A Dmrtg-ping-probe43 $PingOptions = defined($opt_o) ? $opt_o : "";
203 $ping{$Config{'osname'}} =~ s/ / $PingOptions / if $PingOptions;
/dports/security/keepass/KeePass-2.49-Source/KeePass/Ecas/
H A DEcasDefaultConditionProvider.cs149 PingOptions options = new PingOptions(64, true); in IsHostReachable()
/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-pingscanner/example/
H A Dmain.go13 PingOptions: []string{
/dports/lang/mono/mono-5.10.1.57/mcs/class/Facades/System.Net.Ping/
H A DTypeForwarders.cs26 …ntime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.PingOptions))]

123