forked from dotpcap/packetnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IpPort.cs
76 lines (72 loc) · 1.97 KB
/
IpPort.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
This file is part of PacketDotNet
PacketDotNet is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PacketDotNet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with PacketDotNet. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Copyright 2009 Chris Morgan <[email protected]>
*/
namespace PacketDotNet
{
/// <summary> Code constants for ip ports. </summary>
public enum IpPort : ushort
{
#pragma warning disable 1591
Echo = 7,
DayTime = 13,
FtpData = 20,
Ftp = 21,
/// <summary>
/// Secure shell
/// </summary>
Ssh = 22,
/// <summary>
/// Terminal protocol
/// </summary>
Telnet = 23,
/// <summary>
/// Simple mail transport protocol
/// </summary>
Smtp = 25,
Time = 37,
Whois = 63,
Tftp = 69,
Gopher = 70,
Finger = 79,
/// <summary>
/// Hyper text transfer protocol
/// </summary>
Http = 80,
/// <summary>
/// Same as Http
/// </summary>
Www = 80,
Kerberos = 88,
Pop3 = 110,
Ident = 113,
Auth = 113,
/// <summary>
/// Secure ftp
/// </summary>
Sftp = 115,
/// <summary>
/// Network time protocol
/// </summary>
Ntp = 123,
Imap = 143,
/// <summary>
/// Simple network management protocol
/// </summary>
Snmp = 161,
PrivilegedPortLimit = 1024
#pragma warning restore 1591
}
}