oh dear
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.Sockets
|
||||
{
|
||||
/// <summary>Specifies the IO control codes supported by the <see cref="M:System.Net.Sockets.Socket.IOControl(System.Int32,System.Byte[],System.Byte[])" /> method.</summary>
|
||||
// Token: 0x020002D7 RID: 727
|
||||
[Token(Token = "0x20002D7")]
|
||||
public enum IOControlCode : long
|
||||
{
|
||||
/// <summary>Enable notification for when data is waiting to be received. This value is equal to the Winsock 2 FIOASYNC constant.</summary>
|
||||
// Token: 0x04000B98 RID: 2968
|
||||
[Token(Token = "0x4000B98")]
|
||||
AsyncIO = 2147772029L,
|
||||
/// <summary>Control the blocking behavior of the socket. If the argument specified with this control code is zero, the socket is placed in blocking mode. If the argument is nonzero, the socket is placed in nonblocking mode. This value is equal to the Winsock 2 FIONBIO constant.</summary>
|
||||
// Token: 0x04000B99 RID: 2969
|
||||
[Token(Token = "0x4000B99")]
|
||||
NonBlockingIO,
|
||||
/// <summary>Return the number of bytes available for reading. This value is equal to the Winsock 2 FIONREAD constant.</summary>
|
||||
// Token: 0x04000B9A RID: 2970
|
||||
[Token(Token = "0x4000B9A")]
|
||||
DataToRead = 1074030207L,
|
||||
/// <summary>Return information about out-of-band data waiting to be received. When using this control code on stream sockets, the return value indicates the number of bytes available.</summary>
|
||||
// Token: 0x04000B9B RID: 2971
|
||||
[Token(Token = "0x4000B9B")]
|
||||
OobDataRead = 1074033415L,
|
||||
/// <summary>Associate this socket with the specified handle of a companion interface. Refer to the appropriate protocol-specific annex in the Winsock 2 reference or documentation for the particular companion interface for additional details. It is recommended that the Component Object Model (COM) be used instead of this IOCTL to discover and track other interfaces that might be supported by a socket. This control code is present for backward compatibility with systems where COM is not available or cannot be used for some other reason. This value is equal to the Winsock 2 SIO_ASSOCIATE_HANDLE constant.</summary>
|
||||
// Token: 0x04000B9C RID: 2972
|
||||
[Token(Token = "0x4000B9C")]
|
||||
AssociateHandle = 2281701377L,
|
||||
/// <summary>Replace the oldest queued datagram with an incoming datagram when the incoming message queues are full. This value is equal to the Winsock 2 SIO_ENABLE_CIRCULAR_QUEUEING constant.</summary>
|
||||
// Token: 0x04000B9D RID: 2973
|
||||
[Token(Token = "0x4000B9D")]
|
||||
EnableCircularQueuing = 671088642L,
|
||||
/// <summary>Discard the contents of the sending queue. This value is equal to the Winsock 2 SIO_FLUSH constant.</summary>
|
||||
// Token: 0x04000B9E RID: 2974
|
||||
[Token(Token = "0x4000B9E")]
|
||||
Flush = 671088644L,
|
||||
/// <summary>Return a SOCKADDR structure that contains the broadcast address for the address family of the current socket. The returned address can be used with the <see cref="Overload:System.Net.Sockets.Socket.SendTo" /> method. This value is equal to the Winsock 2 SIO_GET_BROADCAST_ADDRESS constant. This value can be used on User Datagram Protocol (UDP) sockets only.</summary>
|
||||
// Token: 0x04000B9F RID: 2975
|
||||
[Token(Token = "0x4000B9F")]
|
||||
GetBroadcastAddress = 1207959557L,
|
||||
/// <summary>Obtain provider-specific functions that are not part of the Winsock specification. Functions are specified using their provider-assigned GUID. This value is equal to the Winsock 2 SIO_GET_EXTENSION_FUNCTION_POINTER constant.</summary>
|
||||
// Token: 0x04000BA0 RID: 2976
|
||||
[Token(Token = "0x4000BA0")]
|
||||
GetExtensionFunctionPointer = 3355443206L,
|
||||
/// <summary>Retrieve the QOS structure associated with the socket. This control is only supported on platforms that provide a QOS capable transport (Windows Me, Windows 2000, and later.) This value is equal to the Winsock 2 SIO_GET_QOS constant.</summary>
|
||||
// Token: 0x04000BA1 RID: 2977
|
||||
[Token(Token = "0x4000BA1")]
|
||||
GetQos,
|
||||
/// <summary>Return the Quality of Service (QOS) attributes for the socket group. This value is reserved for future use, and is equal to the Winsock 2 SIO_GET_GROUP_QOS constant.</summary>
|
||||
// Token: 0x04000BA2 RID: 2978
|
||||
[Token(Token = "0x4000BA2")]
|
||||
GetGroupQos,
|
||||
/// <summary>Control whether multicast data sent by the socket appears as incoming data in the sockets receive queue. This value is equal to the Winsock 2 SIO_MULTIPOINT_LOOPBACK constant.</summary>
|
||||
// Token: 0x04000BA3 RID: 2979
|
||||
[Token(Token = "0x4000BA3")]
|
||||
MultipointLoopback = 2281701385L,
|
||||
/// <summary>Control the number of times a multicast packet can be forwarded by a router, also known as the Time to Live (TTL), or hop count. This value is equal to the Winsock 2 SIO_MULTICAST_SCOPE constant.</summary>
|
||||
// Token: 0x04000BA4 RID: 2980
|
||||
[Token(Token = "0x4000BA4")]
|
||||
MulticastScope,
|
||||
/// <summary>Set the Quality of Service (QOS) attributes for the socket. QOS defines the bandwidth requirements for the socket. This control code is supported on Windows Me, Windows 2000, and later operating systems. This value is equal to the Winsock 2 SIO_SET_QOS constant.</summary>
|
||||
// Token: 0x04000BA5 RID: 2981
|
||||
[Token(Token = "0x4000BA5")]
|
||||
SetQos,
|
||||
/// <summary>Set the Quality of Service (QOS) attributes for the socket group. This value is reserved for future use and is equal to the Winsock 2 SIO_SET_GROUP_QOS constant.</summary>
|
||||
// Token: 0x04000BA6 RID: 2982
|
||||
[Token(Token = "0x4000BA6")]
|
||||
SetGroupQos,
|
||||
/// <summary>Return a handle for the socket that is valid in the context of a companion interface. This value is equal to the Winsock 2 SIO_TRANSLATE_HANDLE constant.</summary>
|
||||
// Token: 0x04000BA7 RID: 2983
|
||||
[Token(Token = "0x4000BA7")]
|
||||
TranslateHandle = 3355443213L,
|
||||
/// <summary>Return the interface addresses that can be used to connect to the specified remote address. This value is equal to the Winsock 2 SIO_ROUTING_INTERFACE_QUERY constant.</summary>
|
||||
// Token: 0x04000BA8 RID: 2984
|
||||
[Token(Token = "0x4000BA8")]
|
||||
RoutingInterfaceQuery = 3355443220L,
|
||||
/// <summary>Enable receiving notification when the local interface used to access a remote endpoint changes. This value is equal to the Winsock 2 SIO_ROUTING_INTERFACE_CHANGE constant.</summary>
|
||||
// Token: 0x04000BA9 RID: 2985
|
||||
[Token(Token = "0x4000BA9")]
|
||||
RoutingInterfaceChange = 2281701397L,
|
||||
/// <summary>Return the list of local interfaces that the socket can bind to. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_ADDRESS_LIST_QUERY constant.</summary>
|
||||
// Token: 0x04000BAA RID: 2986
|
||||
[Token(Token = "0x4000BAA")]
|
||||
AddressListQuery = 1207959574L,
|
||||
/// <summary>Enable receiving notification when the list of local interfaces for the socket's protocol family changes. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_ADDRESS_LIST_CHANGE constant.</summary>
|
||||
// Token: 0x04000BAB RID: 2987
|
||||
[Token(Token = "0x4000BAB")]
|
||||
AddressListChange = 671088663L,
|
||||
/// <summary>Retrieve the underlying provider's SOCKET handle. This handle can be used to receive plug-and-play event notification. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_QUERY_TARGET_PNP_HANDLE constant.</summary>
|
||||
// Token: 0x04000BAC RID: 2988
|
||||
[Token(Token = "0x4000BAC")]
|
||||
QueryTargetPnpHandle = 1207959576L,
|
||||
/// <summary>Control whether the socket receives notification when a namespace query becomes invalid. This control code is supported on Windows XP and later operating systems. This value is equal to the Winsock 2 SIO_NSP_NOTIFY_CHANGE constant.</summary>
|
||||
// Token: 0x04000BAD RID: 2989
|
||||
[Token(Token = "0x4000BAD")]
|
||||
NamespaceChange = 2281701401L,
|
||||
/// <summary>Sort the structure returned by the <see cref="F:System.Net.Sockets.IOControlCode.AddressListQuery" /> field and add scope ID information for IPv6 addresses. This control code is supported on Windows XP and later operating systems. This value is equal to the Winsock 2 SIO_ADDRESS_LIST_SORT constant.</summary>
|
||||
// Token: 0x04000BAE RID: 2990
|
||||
[Token(Token = "0x4000BAE")]
|
||||
AddressListSort = 3355443225L,
|
||||
/// <summary>Enable receiving all IPv4 packets on the network. The socket must have address family <see cref="F:System.Net.Sockets.AddressFamily.InterNetwork" />, the socket type must be <see cref="F:System.Net.Sockets.SocketType.Raw" />, and the protocol type must be <see cref="F:System.Net.Sockets.ProtocolType.IP" />. The current user must belong to the Administrators group on the local computer, and the socket must be bound to a specific port. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_RCVALL constant.</summary>
|
||||
// Token: 0x04000BAF RID: 2991
|
||||
[Token(Token = "0x4000BAF")]
|
||||
ReceiveAll = 2550136833L,
|
||||
/// <summary>Enable receiving all multicast IPv4 packets on the network. These are packets with destination addresses in the range 224.0.0.0 through 239.255.255.255. The socket must have address family <see cref="F:System.Net.Sockets.AddressFamily.InterNetwork" />, the socket type must be <see cref="F:System.Net.Sockets.SocketType.Raw" />, and the protocol type must be <see cref="F:System.Net.Sockets.ProtocolType.Udp" />. The current user must belong to the Administrators group on the local computer, and the socket must be bound to a specific port. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_RCVALL_MCAST constant.</summary>
|
||||
// Token: 0x04000BB0 RID: 2992
|
||||
[Token(Token = "0x4000BB0")]
|
||||
ReceiveAllMulticast,
|
||||
/// <summary>Enable receiving all Internet Group Management Protocol (IGMP) packets on the network. The socket must have address family <see cref="F:System.Net.Sockets.AddressFamily.InterNetwork" />, the socket type must be <see cref="F:System.Net.Sockets.SocketType.Raw" />, and the protocol type must be <see cref="F:System.Net.Sockets.ProtocolType.Igmp" />. The current user must belong to the Administrators group on the local computer, and the socket must be bound to a specific port. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_RCVALL_IGMPMCAST constant.</summary>
|
||||
// Token: 0x04000BB1 RID: 2993
|
||||
[Token(Token = "0x4000BB1")]
|
||||
ReceiveAllIgmpMulticast,
|
||||
/// <summary>Control sending TCP keep-alive packets and the interval at which they are sent. This control code is supported on Windows 2000 and later operating systems. For additional information, see RFC 1122 section 4.2.3.6. This value is equal to the Winsock 2 SIO_KEEPALIVE_VALS constant.</summary>
|
||||
// Token: 0x04000BB2 RID: 2994
|
||||
[Token(Token = "0x4000BB2")]
|
||||
KeepAliveValues,
|
||||
/// <summary>This value is equal to the Winsock 2 SIO_ABSORB_RTRALERT constant.</summary>
|
||||
// Token: 0x04000BB3 RID: 2995
|
||||
[Token(Token = "0x4000BB3")]
|
||||
AbsorbRouterAlert,
|
||||
/// <summary>Set the interface used for outgoing unicast packets. This value is equal to the Winsock 2 SIO_UCAST_IF constant.</summary>
|
||||
// Token: 0x04000BB4 RID: 2996
|
||||
[Token(Token = "0x4000BB4")]
|
||||
UnicastInterface,
|
||||
/// <summary>This value is equal to the Winsock 2 SIO_LIMIT_BROADCASTS constant.</summary>
|
||||
// Token: 0x04000BB5 RID: 2997
|
||||
[Token(Token = "0x4000BB5")]
|
||||
LimitBroadcasts,
|
||||
/// <summary>Bind the socket to a specified interface index. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_INDEX_BIND constant.</summary>
|
||||
// Token: 0x04000BB6 RID: 2998
|
||||
[Token(Token = "0x4000BB6")]
|
||||
BindToInterface,
|
||||
/// <summary>Set the interface used for outgoing multicast packets. The interface is identified by its index. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_INDEX_MCASTIF constant.</summary>
|
||||
// Token: 0x04000BB7 RID: 2999
|
||||
[Token(Token = "0x4000BB7")]
|
||||
MulticastInterface,
|
||||
/// <summary>Join a multicast group using an interface identified by its index. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_INDEX_ADD_MCAST constant.</summary>
|
||||
// Token: 0x04000BB8 RID: 3000
|
||||
[Token(Token = "0x4000BB8")]
|
||||
AddMulticastGroupOnInterface,
|
||||
/// <summary>Remove the socket from a multicast group. This control code is supported on Windows 2000 and later operating systems. This value is equal to the Winsock 2 SIO_INDEX_ADD_MCAST constant.</summary>
|
||||
// Token: 0x04000BB9 RID: 3001
|
||||
[Token(Token = "0x4000BB9")]
|
||||
DeleteMulticastGroupFromInterface
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user