CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
protocol_type.h
1
2#pragma once
3
4#include <cstdint>
5
6namespace System {
7namespace Net {
8namespace Sockets {
9
11enum class ProtocolType
12{
14 IP = 0,
18 Icmp = 1,
20 Igmp = 2,
22 Ggp = 3,
24 IPv4 = 4,
26 Tcp = 6,
28 Pup = 12,
30 Udp = 17,
32 Idp = 22,
34 IPv6 = 41,
44 IcmpV6 = 58,
50 ND = 77,
52 Raw = 255,
54 Unspecified = 0,
56 Ipx = 1000,
58 Spx = 1256,
60 SpxII = 1257,
62 Unknown = static_cast<int32_t>(-1)
63};
64} // namespace Sockets
65} // namespace Net
66} // namespace System
@ Unspecified
The unspecified address family.
@ Pup
The address for the PUP protocols.
@ Ipx
The IPX or SPX address.
ProtocolType
Enumerates the protocol types.
Definition: protocol_type.h:12
@ IPv6RoutingHeader
The IPv6 Routing header.
@ Spx
The Sequenced Packet Exchange protocol.
@ IcmpV6
The Internet Control Message Protocol for IPv6.
@ SpxII
The Sequenced Packet Exchange version 2 protocol.
@ IPSecAuthenticationHeader
The IPv6 Authentication header.
@ Tcp
The Transmission Control Protocol.
@ IPv6HopByHopOptions
The IPv6 Hop by Hop Options header.
@ Icmp
The Internet Control Message Protocol.
@ IPv4
The Internet Protocol version 4.
@ Idp
The Internet Datagram Protocol.
@ IPSecEncapsulatingSecurityPayload
The IPv6 Encapsulating Security Payload header.
@ IPv6FragmentHeader
The IPv6 Fragment header.
@ Udp
The User Datagram Protocol.
@ ND
The Net Disk protocol.
@ IPv6DestinationOptions
The IPv6 Destination Options header.
@ Igmp
The Internet Group Management Protocol.
@ IP
The Internet Protocol.
@ IPv6NoNextHeader
The IPv6 No next header.
@ Ggp
The Gateway To Gateway Protocol.
@ IPv6
The Internet Protocol version 6.
@ Raw
The type that supports access to the underlying transport protocol.
Definition: db_command.h:9