Beispiel #1
0
 internal PingOptions(IPOptions options)
 {
     this.ttl          = options.ttl;
     this.dontFragment = ((options.flags & DontFragmentFlag) > 0 ? true : false);
 }
Beispiel #2
0
 internal extern static uint IcmpSendEcho2(SafeCloseIcmpHandle icmpHandle, IntPtr Event, IntPtr apcRoutine, IntPtr apcContext,
                                           uint ipAddress, [In] SafeLocalAllocHandle data, ushort dataSize, ref IPOptions options, SafeLocalAllocHandle replyBuffer, uint replySize, uint timeout);
Beispiel #3
0
 internal static partial uint Icmp6SendEcho2(SafeCloseIcmpHandle icmpHandle, SafeWaitHandle Event, IntPtr apcRoutine, IntPtr apcContext,
                                             byte[] sourceSocketAddress, byte[] destSocketAddress, SafeLocalAllocHandle data, ushort dataSize, ref IPOptions options, SafeLocalAllocHandle replyBuffer, uint replySize, uint timeout);
 internal PingOptions (IPOptions options) {
     this.ttl = options.ttl;
     this.dontFragment = ((options.flags & DontFragmentFlag) > 0 ? true : false);
 }