Home » Source Code » » IPPorts.cs

IPPorts.cs ( File view )

From:
  • By 2010-08-21
  • View(s):38
  • Download(s):2
  • Point(s): 1
			/// <summary>************************************************************************
/// Copyright (C) 2001, Patrick Charles and Jonas Lehmann                   *
/// Distributed under the Mozilla Public License                            *
/// http://www.mozilla.org/NPL/MPL-1.1.txt                                *
/// *************************************************************************
/// </summary>
namespace SharpPcap.Packets
{

    /// <summary> Code constants for ip ports.
    /// 
    /// </summary>
    public class IPPorts
    {

        public readonly static int NONE = - 1; // dummy value for protocols that don't use ports
        public readonly static int RESERVED_0 = 0;
        public readonly static int TCPMUX = 1;
        public readonly static int COMPRESSNET2 = 2;
        public readonly static int COMPRESSNET = 3;
        public readonly static int RJE = 5;
        public readonly static int ECHO = 7;
        public readonly static int DISCARD = 9;
        public readonly static int SYSTAT = 11;
        public readonly static int DAYTIME = 13;
        public readonly static int QOTD = 17;
        public readonly static int MSP = 18;
        public readonly static int CHARGEN = 19;
        public readonly static int FTP_DATA = 20;
        public readonly static int FTP = 21;
        public readonly static int SSH = 22;
        public readonly static int TELNET = 23;
        public readonly static int PRIV_MAIL = 24;
        public readonly static int SMTP = 25;
        public readonly static int NSW_FE = 27;
        public readonly static int MSG_ICP = 29;
        public readonly static int MSG_AUTH = 31;
        public readonly static int DSP = 33;
        public readonly static int PRIV_PRINT = 35;
        public readonly static int TIME = 37;
        public readonly static int RAP = 38;
        public readonly static int RLP = 39;
        public readonly static int GRAPHICS = 41;
        public readonly static int NAME = 42;
        public readonly static int NAMESERVER = 42;
        public readonly static int NICNAME = 43;
        public readonly static int MPM_FLAGS = 44;
        public readonly static int MPM = 45;
        public readonly static int MPM_SND = 46;
        public readonly static int NI_FTP = 47;
        public readonly static int AUDITD = 48;
        public readonly static int TACACS = 49;
        public readonly static int RE_MAIL_CK = 50;
        public readonly static int LA_MAINT = 51;
        public readonly static int XNS_TIME = 52;
        public readonly static int DOMAIN = 53;
        public readonly static int XNS_CH = 54;
        public readonly static int ISI_GL = 55;
        public readonly static int XNS_AUTH = 56;
        public readonly static int PRIV_TERMINAL = 57;
        public readonly static int XNS_MAIL = 58;
        public readonly static int PRIV_FILE = 59;
        public readonly static int NI_MAIL = 61;
        public readonly static int ACAS = 62;
        public readonly static int WHOIS = 63;
        public readonly static int COVIA = 64;
        public readonly static int TACACS_DS = 65;
        public readonly static int SQLSNET = 66;
        public readonly static int BOOTPS = 67;
        public readonly static int BOOTPC = 68;
        public readonly static int TFTP = 69;
        public readonly static int GOPHER = 70;
        public readonly static int NETRJS_1 = 71;
        public readonly static int NETRJS_2 = 72;
        public readonly static int NETRJS_3 = 73;
        public readonly static int NETRJS_4 = 74;
        public readonly static int PRIV_DIALOUT = 75;
        public readonly static int DEOS = 76;
        public readonly static int PRIV_RJE = 77;
        public readonly static int VETTCP = 78;
        public readonly static int FINGER = 79;
        public readonly static int HTTP = 80;
        public readonly static int WWW = 80;
        public readonly static int HOSTS2_NS = 81;
        public readonly static int XFER = 82;
        public readonly static int MIT_ML_DEV = 83;
        public readonly static int CTF = 84;
        public readonly static int MIT_ML_DEV2 = 85;
        public readonly static int MFCOBOL = 86;
        public readonly static int PRIV_TERMLINK = 87;
        public readonly static int KERBEROS = 88;
        public readonly static int SU_MIT_TG = 89;
        public readonly static int DNSIX = 90;
        public readonly static int MIT_DOV = 91;
        public readonly static int NPP = 92;
        public readonly static int DCP = 93;
        public readonly static int OBJCALL = 94;
        public readonly static int SUPDUP = 95;
        public readonly static int DIXIE = 96;
        public readonly static int SWIFT_RVF = 97;
        public readonly static int TACNEWS = 98;
        public readonly static int METAGRAM = 99;
        public readonly static int NEWACCT = 100;
        public readonly static int HOSTNAME = 101;
        public readonly static int ISO_TSAP = 102;
        public readonly static int GPPITNP = 103;
        public readonly static int ACR_NEMA = 104;
        public readonly static int CSO = 105;
        public readonly static int CSNET_NS = 105;
        public readonly static int TSMUX_3COM = 106;
        public readonly static int RTELNET = 107;
        public readonly static int SNAGAS = 108;
        public readonly static int POP2 = 109;
        public readonly static int POP3 = 110;
        public readonly static int SUNRPC = 111;
        public readonly static int MCIDAS = 112;
        public readonly static int IDENT = 113;
        public readonly static int AUTH = 113;
        public readonly static int AUDIONEWS = 114;
        public readonly static int SFTP = 115;
        public readonly static int ANSANOTIFY = 116;
        public readonly static int UUCP_PATH = 117;
        public readonly static int SQLSERV = 118;
        public readonly static int NNTP = 119;
        public readonly static int CFDPTKT = 120;
        public readonly static int ERPC = 121;
        public readonly static int SMAKYNET = 122;
        public readonly static int NTP = 123;
        public readonly static int ANSATRADER = 124;
        public readonly static int LOCUS_MAP = 125;
        public readonly static int NXEDIT = 126;
        public readonly static int LOCUS_CON = 127;
        public readonly static int GSS_XLICEN = 128;
        public readonly static int PWDGEN = 129;
        public readonly static int CISCO_FNA = 130;
        public readonly static int CISCO_TNA = 131;
        public readonly static int CISCO_SYS = 132;
        public readonly static int STATSRV = 133;
        public readonly static int INGRES_NET = 134;
        public readonly static int EPMAP = 135;
        public readonly static int PROFILE = 136;
        public readonly static int NETBIOS_NS = 137;
        public readonly static int NETBIOS_DGM = 138;
        public readonly static int NETBIOS_SSN = 139;
        public readonly static int EMFIS_DATA = 140;
        public readonly static int EMFIS_CNTL = 141;
        public readonly static int BL_IDM = 142;
        public readonly static int IMAP = 143;
        public readonly static int UMA = 144;
        public readonly static int UAAC = 145;
        public readonly static int ISO_TP0 = 146;
        public readonly static int ISO_IP = 147;
        public readonly static int JARGON = 148;
        public readonly static int AED_512 = 149;
        public readonly static int SQL_NET = 150;
        public readonly static int HEMS = 151;
        public readonly static int BFTP = 152;
        public readonly static int SGMP = 153;
        public readonly static int NETSC_PROD = 154;
        public readonly static int NETSC_DEV = 155;
        public readonly static int SQLSRV = 156;
        public readonly static int KNET_CMP = 157;
        public readonly static int PCMAIL_SRV = 158;
        public readonly static int NSS_ROUTING = 159;
        public readonly static int SGMP_TRAPS = 160;
        public readonly static int SNMP = 161;
        public readonly static int SNMPTRAP = 162;
        public readonly static int CMIP_MAN = 163;
        public readonly static int CMIP_AGENT = 164;
        public readonly static int XNS_COURIER = 165;
        public readonly static int S_NET = 166;
        public readonly static int NAMP = 167;
        public readonly static int RSVD = 168;
        public readonly static int SEND = 169;
        public readonly static int PRINT_SRV = 170;
        public readonly static int MULTIPLEX = 171;
        public readonly static int CL1 = 172;
        public readonly static int XYPLEX_MUX = 173;
        public readonly static int MAILQ = 174;
        public readonly static int VMNET = 175;
        public readonly static int GENRAD_MUX = 176;
        public readonly static int XDMCP = 177;
        public readonly static int NEXTSTEP = 178;
        public readonly static int BGP = 179;
        public readonly static int RIS = 180;
        public readonly static int UNIFY = 181;
        public readonly static int AUDIT = 182;
        public readonly static int OCBINDER = 183;
        public readonly static int OCSERVER = 184;
        public readonly static int REMOTE_KIS = 185;
        public readonly static int KIS = 186;
        public readonly static int ACI = 187;
        public readonly static int MUMPS = 188;
        public readonly static int QFT = 189;
        public readonly static int GACP = 190;
        public readonly static int PROSPERO = 191;
        public readonly static int OSU_NMS = 192;
        public readonly static int SRMP = 193;
        public readonly static int IRC = 194;
        public readonly static int DN6_NLM_AUD = 195;
        public readonly static int DN6_SMM_RED = 196;
        public readonly static int DLS = 197;
        public readonly static int DLS_MON = 198;
        public readonly static int SMUX = 199;
        public readonly static int SRC = 200;
        public readonly static int AT_RTMP = 201;
        public readonly static int AT_NBP = 202;
        public readonly static int AT_3 = 203;
        public readonly static int AT_ECHO = 204;
        public readonly static int AT_5 = 205;
        public readonly static int AT_ZIS = 206;
    
...
...
(Not finished, please download and read the complete file)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
Changelog16.90 kB10-08-09|02:39
010.00 B
010.00 B
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example01.IfList.csproj3.96 kB10-08-09|02:39
Example1.IfList.cs1.27 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example10.SendQueue.csproj4.49 kB10-08-09|02:39
Example10.SendQueues.cs4.61 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example11.Statistics.cs4.35 kB10-08-09|02:39
Example11.Statistics.csproj4.00 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example12.PacketManipulation.cs5.36 kB10-08-09|02:39
Example12.PacketManipulation.csproj4.02 kB10-08-09|02:39
010.00 B
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example02.ArpResolve.csproj4.31 kB10-08-09|02:39
Example2.ArpResolve.cs3.67 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example03.BasicCap.csproj3.99 kB10-08-09|02:39
Example3.BasicCap.cs2.87 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example04.BasicCapNoCallback.csproj4.02 kB10-08-09|02:39
Example4.BasicCapNoCallback.cs2.65 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example05.PcapFilter.csproj4.00 kB10-08-09|02:39
Example5.PcapFilter.cs3.13 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example06.DumpTCP.csproj3.99 kB10-08-09|02:39
Example6.DumpTCP.cs3.70 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example07.DumpToFile.csproj4.00 kB10-08-09|02:39
Example7.DumpToFile.cs3.18 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example08.ReadFile.csproj3.99 kB10-08-09|02:39
Example8.ReadFile.cs2.54 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.32 kB10-08-09|02:39
Example09.SendPacket.csproj4.00 kB10-08-09|02:39
Example9.SendPacket.cs2.92 kB10-08-09|02:39
LICENSE7.46 kB10-08-09|02:39
ReleaseProcess2.10 kB10-08-09|02:39
SharpPcap.sln8.49 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
AssemblyInfo.cs2.39 kB10-08-09|02:39
010.00 B
ARPFields.cs4.55 kB10-08-09|02:39
ARPPacket.cs10.30 kB10-08-09|02:39
EthernetFields.cs2.06 kB10-08-09|02:39
EthernetPacket.cs14.43 kB10-08-09|02:39
ICMPFields.cs2.13 kB10-08-09|02:39
ICMPMessage.cs4.84 kB10-08-09|02:39
ICMPMessages.cs4.43 kB10-08-09|02:39
ICMPPacket.cs7.85 kB10-08-09|02:39
IGMPFields.cs2.53 kB10-08-09|02:39
IGMPMessage.cs2.24 kB10-08-09|02:39
IGMPMessages.cs1.26 kB10-08-09|02:39
IGMPPacket.cs5.94 kB10-08-09|02:39
IPPacket.cs18.98 kB10-08-09|02:39
IPPort.cs99.14 kB10-08-09|02:39
IPPorts.cs34.59 kB10-08-09|02:39
IPProtocol.cs7.89 kB10-08-09|02:39
IPv4Fields.cs3.97 kB10-08-09|02:39
IPv4Packet.cs22.01 kB10-08-09|02:39
IPv6Fields.cs3.35 kB10-08-09|02:39
IPv6Packet.cs12.96 kB10-08-09|02:39
LinkLayer.cs7.54 kB10-08-09|02:39
LinkLayers.cs3.23 kB10-08-09|02:39
Packet.cs2.62 kB10-08-09|02:39
PacketEncoding.cs5.01 kB10-08-09|02:39
PacketFactory.cs3.21 kB10-08-09|02:39
RawPacket.cs3.58 kB10-08-09|02:39
TCPFields.cs3.67 kB10-08-09|02:39
TCPPacket.cs23.19 kB10-08-09|02:39
UDPFields.cs2.23 kB10-08-09|02:39
UDPPacket.cs10.09 kB10-08-09|02:39
010.00 B
AnsiEscapeSequences.cs5.99 kB10-08-09|02:39
ArrayHelper.cs6.92 kB10-08-09|02:39
ChecksumUtils.cs2.93 kB10-08-09|02:39
HexHelper.cs3.80 kB10-08-09|02:39
Timeval.cs1.97 kB10-08-09|02:39
makefile579.00 B10-08-09|02:39
makefile-test0.00 B10-08-09|02:39
util.csproj4.32 kB10-08-09|02:39
package.html1.07 kB10-08-09|02:39
Pcap.cs5.39 kB10-08-09|02:39
PcapAddress.cs2.15 kB10-08-09|02:39
PcapDevice.cs24.12 kB10-08-09|02:39
PcapDeviceCaptureLoop.cs5.21 kB10-08-09|02:39
PcapDeviceList.cs3.96 kB10-08-09|02:39
PcapEventArgs.cs1.69 kB10-08-09|02:39
PcapException.cs1.45 kB10-08-09|02:39
PcapHeader.cs5.91 kB10-08-09|02:39
PcapInterface.cs5.18 kB10-08-09|02:39
PcapOfflineDevice.cs3.96 kB10-08-09|02:39
PcapSendQueue.cs6.61 kB10-08-09|02:39
PcapStatistics.cs3.16 kB10-08-09|02:39
PcapUnmanagedStructures.cs8.85 kB10-08-09|02:39
010.00 B
ARP.cs7.52 kB10-08-09|02:39
Readme.Mono725.00 B10-08-09|02:39
SafeNativeMethods.cs11.41 kB10-08-09|02:39
SharpPcap.csproj8.54 kB10-08-09|02:39
SharpPcap.dll.config492.00 B10-08-09|02:39
Sockaddr.cs4.72 kB10-08-09|02:39
010.00 B
Convert.cs3.49 kB10-08-09|02:39
IPAddressRange.cs4.04 kB10-08-09|02:39
IPSubnet.cs2.41 kB10-08-09|02:39
IPUtil.cs8.93 kB10-08-09|02:39
Int64Range.cs1.77 kB10-08-09|02:39
NumberRange.cs5.54 kB10-08-09|02:39
Random.cs2.53 kB10-08-09|02:39
Version.cs1.43 kB10-08-09|02:39
010.00 B
SharpPcap.html31.81 kB10-08-09|02:39
010.00 B
SharpPcap.png15.47 kB10-08-09|02:39
010.00 B
App.ico1.05 kB10-08-09|02:39
ArpPacketTest.cs2.62 kB10-08-09|02:39
AssemblyInfo.cs2.28 kB10-08-09|02:39
CheckFilterTest.cs528.00 B10-08-09|02:39
EthernetPacketTest.cs7.32 kB10-08-09|02:39
Form1.cs2.91 kB10-08-09|02:39
Form1.resx6.83 kB10-08-09|02:39
IPAddressRangeTest.cs3.42 kB10-08-09|02:39
IPSubnetTest.cs599.00 B10-08-09|02:39
IPv6PacketTest.cs4.07 kB10-08-09|02:39
Int64RangeTest.cs3.41 kB10-08-09|02:39
InvalidPacketTest.cs1.25 kB10-08-09|02:39
IpUtilTest.cs2.12 kB10-08-09|02:39
PacketsTest.cs1.09 kB10-08-09|02:39
PcapGetAllDevices.cs781.00 B10-08-09|02:39
PcapTest.cs313.00 B10-08-09|02:39
SendTcpSynExample.cs6.63 kB10-08-09|02:39
SetFilterTest.cs646.00 B10-08-09|02:39
TCPPacketTest.cs3.24 kB10-08-09|02:39
Test.csproj6.20 kB10-08-09|02:39
UDPPacketTest.cs1.04 kB10-08-09|02:39
UdpTest.cs2.13 kB10-08-09|02:39
010.00 B
README827.00 B10-08-09|02:39
arp_request_response.pcap158.00 B10-08-09|02:39
ip_packet_bogus_length.pcap1.53 kB10-08-09|02:39
ipv6_http.pcap3.37 kB10-08-09|02:39
ipv6_icmpv6_packet.pcap110.00 B10-08-09|02:39
tcp.pcap106.00 B10-08-09|02:39
tcp_with_extra_bytes.pcap100.00 B10-08-09|02:39
test_stream.pcap613.00 B10-08-09|02:39
udp_dns_request_response.pcap521.00 B10-08-09|02:39
010.00 B
nunit.framework.dll44.00 kB10-08-09|02:39
make_bin_release1.31 kB10-08-09|02:39
make_src_release888.00 B10-08-09|02:39
...
Sponsored links

IPPorts.cs (241.84 kB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D