19 references to IP
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
89
socket.SetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.HeaderIncluded, 1);
System.Net.Sockets (18)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
70
case SocketOptionLevel.
IP
:
System\Net\Sockets\Socket.cs (10)
617
return (short)(int)GetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.IpTimeToLive)!;
637
SetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.IpTimeToLive, value);
659
return (int)GetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.DontFragment)! != 0 ? true : false;
673
SetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.DontFragment, value ? 1 : 0);
692
return (int)GetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.MulticastLoopback)! != 0 ? true : false;
709
SetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.MulticastLoopback, value ? 1 : 0);
2133
else if (optionLevel == SocketOptionLevel.
IP
&& (optionName == SocketOptionName.AddMembership || optionName == SocketOptionName.DropMembership))
2191
else if (optionLevel == SocketOptionLevel.
IP
&& (optionName == SocketOptionName.AddMembership || optionName == SocketOptionName.DropMembership))
2320
SocketPal.SetIPProtectionLevel(this, SocketOptionLevel.
IP
, (int)level);
3574
SetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.PacketInformation, true);
System\Net\Sockets\SocketPal.Unix.cs (3)
1450
else if (optionLevel == SocketOptionLevel.
IP
)
1552
return GetErrorAndTrackSetting(handle, SocketOptionLevel.
IP
, optionName, err);
1589
socket.SetSocketOption(SocketOptionLevel.
IP
, SocketOptionName.PacketInformation, true);
System\Net\Sockets\UDPClient.cs (4)
408
SocketOptionLevel.
IP
,
431
SocketOptionLevel.
IP
,
472
(_family == AddressFamily.InterNetwork) ? SocketOptionLevel.
IP
: SocketOptionLevel.IPv6,
492
SocketOptionLevel.
IP
,