Constant Field Values


Contents
net.clackrouter.*

net.clackrouter.actions.AbstractActionFile
public static final boolean COMPRESS_FILES true

net.clackrouter.actions.AbstractActionList
public static final java.lang.String ITEM_KEY "itemKey"

net.clackrouter.actions.AbstractActionListCell
public static final java.lang.String IDENTIFIER_RESET " X"
public static final java.lang.String IDENTIFIER_SELECT "..."

net.clackrouter.application.TCPSocket
public static final int NUM_PORTS 2
public static final int PORT_NET_IN 1
public static final int PORT_NET_OUT 0

net.clackrouter.component.base.ClackComponent
public static final int SIGNAL_ERROR_LEN_MSEC 300

net.clackrouter.component.extension.NAPT
public static final int DEST_PORT 1
public static final int NUM_PORTS 2
public static final int PORT_IN 0
public static final int PORT_OUT 1
public static final int SRC_PORT 2

net.clackrouter.component.extension.REDQueue
public static final int NUM_PORTS 2
public static final int PORT_HEAD 0
public static final int PORT_TAIL 1

net.clackrouter.component.extension.SIPRedirector
public static final int NUM_PORTS 2
public static final int PORT_FROM_NET 0
public static final int PORT_TO_NET 1
public static final int STUN_CLACKSHARE_PORT 9999
public static final java.lang.String STUN_SERVER_NAME "gs5025.sp.cs.cmu.edu"

net.clackrouter.component.extension.UDP
public static final int NUM_PORTS 3
public static final int PORT_FROM_NET 0
public static final int PORT_TO_NET 1
public static final int PORT_UNREACH 2

net.clackrouter.component.tcp.ProcessSegment
public static final int NUM_PORTS 3
public static final int PORT_ACK_OUT 0
public static final int PORT_APP_OUT 2
public static final int PORT_NEWDATA_IN 1

net.clackrouter.component.tcp.SendWindowCheck
public static final int NUM_PORTS 2
public static final int PORT_APP_IN 1
public static final int PORT_NET_OUT 0

net.clackrouter.component.tcp.TCB
public static final long CLOSE_WAIT_MILLIS 20000L
public static final int MAX_PAYLOAD 536
public static final int MAX_WINDOW 3072
public static final int RTO_MSECS 2000
public static final int STATE_CLOSE_WAIT 7
public static final int STATE_CLOSED 0
public static final int STATE_CLOSING 8
public static final int STATE_ESTABLISHED 4
public static final int STATE_FIN_WAIT1 5
public static final int STATE_FIN_WAIT2 6
public static final int STATE_LAST_ACK 9
public static final int STATE_LISTEN 1
public static final int STATE_SYN_RECEIVED 3
public static final int STATE_SYN_SENT 2
public static final int STATE_TIME_WAIT 10
public static final int STATE_UNKNOWN 11
public static final int TOTAL_RETRANS_ATTEMPTS 5

net.clackrouter.component.tcp.TCPChecksum
public static final int CHECKSUM_OFFSET 16

net.clackrouter.error.ErrorReportServer
public static final int ERROR_PORT 5999

net.clackrouter.ethereal.TableSorter
public static final int ASCENDING 1
public static final int DESCENDING -1
public static final int NOT_SORTED 0

net.clackrouter.gui.ClackBarFactory
public static final java.lang.String GRAPH_POPUP "GraphPopup"
public static final java.lang.String MENUBAR "Menubar"
public static final java.lang.String TOOLBARS "Toolbars"

net.clackrouter.gui.ClackFramework
public static final java.lang.String PARAM_STRING "parameters"

net.clackrouter.gui.ClackFrameworkHelper
public static final java.lang.String DEBUG "debug"
public static final java.lang.String LOAD_FILE "loadfile"
public static final java.lang.String LOAD_URL "loadurl"
public static final java.lang.String LOGO "clack-small.png"
public static final java.lang.String SHOW_CONSOLE "showconsole"
public static final java.lang.String SIMPLE_GRAPH "simplegraph"
public static final java.lang.String TUTORIAL "tutorial"
public static final java.lang.String VERSION "Clack (v1.5)"

net.clackrouter.gui.ClackMarqueeHandler
public static final int CELL_EDGE_DEFAULT 6
public static final int CELL_PORT_DEFAULT 5
public static final int CELL_VERTEX_DEFAULT 2
public static final int CELL_VERTEX_ELLIPSE 1
public static final int CELL_VERTEX_IMAGE 3
public static final int CELL_VERTEX_TEXT 4

net.clackrouter.gui.ClackTab
public static final int TAB_HEIGHT 650
public static final int TAB_WIDTH 1000

net.clackrouter.gui.tcp.TCPDashboard
public static final int BUF_HEIGHT 30
public static final int BUF_WIDTH 20
public static final int BUF_X 4
public static final int BUF_Y 15
public static final int NUM_BUF_SECTIONS 10

net.clackrouter.gui.util.VTextIcon
public static final int ROTATE_DEFAULT 0
public static final int ROTATE_LEFT 2
public static final int ROTATE_NONE 1
public static final int ROTATE_RIGHT 4

net.clackrouter.jgraph.pad.GPExplorer.StatefulGraphLayoutCache
public static final boolean showNewGroups false

net.clackrouter.jgraph.pad.GPSelectProvider
public static final int OPTION_CANCEL 1
public static final int OPTION_OK 0

net.clackrouter.jgraph.pad.Rule
public static final int HORIZONTAL 0
public static final int INCH 72
public static final int SIZE 15
public static final int VERTICAL 1

net.clackrouter.jgraph.pad.resources.TranslatorConstants
public static final java.lang.String PREFIX_COMPONENT "Component."
public static final java.lang.String PREFIX_MESSAGE_ERROR "Message.Error."
public static final java.lang.String PREFIX_MESSAGE_INFORMATION "Message.Information."
public static final java.lang.String PREFIX_MESSAGE_WARING "Message.Warning."
public static final java.lang.String SUFFIX_ACCELERATOR ".Accelerator"
public static final java.lang.String SUFFIX_ACTION ".Action"
public static final java.lang.String SUFFIX_ICON ".Icon"
public static final java.lang.String SUFFIX_IMAGE ".Image"
public static final java.lang.String SUFFIX_LABEL ".Label"
public static final java.lang.String SUFFIX_MENU ".Menu"
public static final java.lang.String SUFFIX_MNEMONIC ".Mnemonic"
public static final java.lang.String SUFFIX_TEXT ".Text"
public static final java.lang.String SUFFIX_TITLE ".Title"
public static final java.lang.String SUFFIX_TOOL_TIP_TEXT ".ToolTipText"

net.clackrouter.jgraph.utils.gui.LocaleChangeAdapter
public static final java.lang.String DONT_SET_MNEMONIC "DontSetMnemonic"
public static final java.lang.String DONT_SET_TOOL_TIP_TEXT "DontSetToolTipText"
public static final java.lang.String SET_TEXT_IF_ICON_NOT_AVAILABLE "SetTextIfIconNotAvailable"

net.clackrouter.jgraph.utils.gui.PositionManager
protected static final java.lang.String DIVIDER_LOCATION ".DividerLocation"
protected static final java.lang.String FRAME_HEIGHT ".FrameHeight"
protected static final java.lang.String FRAME_STATE ".FrameState"
protected static final java.lang.String FRAME_WIDTH ".FrameWidth"
protected static final java.lang.String FRAME_X ".FrameX"
protected static final java.lang.String FRAME_Y ".FrameY"

net.clackrouter.jpcap.TcpdumpWriter
public static final int BIG_ENDIAN 0
public static final int CODE_ETHERNET 1
public static final int LITTLE_ENDIAN 1
public static final int MAJOR_VERSION 2
public static final int MINOR_VERSION 4

net.clackrouter.packets.DNSPacket
public static final int CLASS_INET 1
public static final int DNS_PORT 53
public static final int FLAGS_QUERY_RESPONSE_NO_ERROR 33152
public static final int FLAGS_QUERY_STANDARD 256
public static final short HEADER_SIZE 12
public static final int TYPE_A 1
public static final int TYPE_CNAME 5
public static final int TYPE_MX 15
public static final int TYPE_NS 2

net.clackrouter.packets.IPPacket
public static final byte PPROTO_ENCAP 4
public static final byte PPROTO_HELLO 63
public static final byte PROTO_AH 51
public static final byte PROTO_CLACK_OSPF 120
public static final byte PROTO_CLACK_RIP 119
public static final byte PROTO_DSTOPTS 60
public static final byte PROTO_EGP 8
public static final byte PROTO_EON 80
public static final byte PROTO_ESP 50
public static final byte PROTO_FRAGMENT 44
public static final byte PROTO_GGP 3
public static final byte PROTO_HOPOPTS 0
public static final byte PROTO_ICMP 1
public static final byte PROTO_ICMPV6 58
public static final byte PROTO_IDP 22
public static final byte PROTO_IGMP 2
public static final byte PROTO_IP 0
public static final byte PROTO_IPV6 41
public static final byte PROTO_ND 77
public static final byte PROTO_NONE 59
public static final byte PROTO_PIM 103
public static final byte PROTO_PUP 12
public static final byte PROTO_ROUTING 43
public static final byte PROTO_RSVP 46
public static final byte PROTO_TCP 6
public static final byte PROTO_UDP 17

net.clackrouter.packets.IPPacket.Header
public static final int ADDR_LEN 4
public static final int CHECKSUM_LEN 2
public static final int FLAGS_AND_FRAG_OFFSET_LEN 2
public static final int FLAGS_BIT_LEN 3
public static final int FRAG_OFFSET_BIT_LEN 13
public static final int ID_LEN 2
public static final int IHL_BIT_LEN 4
public static final int PROTOCOL_LEN 1
public static final int TOS_LEN 1
public static final int TOTAL_LENGTH_LEN 2
public static final int TTL_LEN 1
public static final int VERSION_AND_IHL_LEN 1
public static final int VERSION_BIT_LEN 4

net.clackrouter.packets.SSHPacket
public static final int MSG_CODE_NONE -1
public static final int MSG_CODE_PUBLIC_KEY 2
public static final int MSG_CODE_SESSION_KEY 3
public static final int SSH_PORT 22

net.clackrouter.packets.VNSARPPacket
public static final int HLEN_LEN 1
public static final int HW_ADDR_LEN 6
public static final short HW_TYPE_ETHERNET 1
public static final int HW_TYPE_LEN 2
public static final int OPERATION_LEN 2
public static final short OPERATION_REPLY 2
public static final short OPERATION_REQUEST 1
public static final short OPERATION_REVERSE_REPLY 4
public static final short OPERATION_REVERSE_REQUEST 3
public static final int PLEN_LEN 1
public static final int PROTOCOL_ADDR_LEN 4
public static final short PROTOCOL_TYPE_IP 2048
public static final int PROTOCOL_TYPE_LEN 2
public static final int TOTAL_LEN 28

net.clackrouter.packets.VNSEthernetPacket
public static final int ADDR_LEN 6
public static final int BODY_LEN 1500
public static final int MAX_LEN 1514
public static final short TYPE_ARP 2054
public static final short TYPE_IP 2048
public static final int TYPE_LEN 2

net.clackrouter.packets.VNSICMPCode
public static final byte NONE 0
public static final byte PARAMETER_PROBLEM_OP_TABLE_SENT 1
public static final byte REDIRECT_HOST 1
public static final byte REDIRECT_NET 0
public static final byte REDIRECT_TOS_HOST 3
public static final byte REDIRECT_TOS_NET 2
public static final byte TIME_EXCEEDED_IN_TRANSIT 0
public static final byte TIME_EXCEEDED_REASSEMBLY 1
public static final byte UNREACH_FILTER_PROHIBITED 13
public static final byte UNREACH_HOST 1
public static final byte UNREACH_HOST_PRECEDENCE 14
public static final byte UNREACH_HOST_PROHIBITED 10
public static final byte UNREACH_HOST_UNKNOWN 7
public static final byte UNREACH_ISOLATED 8
public static final byte UNREACH_NEED_FRAG 4
public static final byte UNREACH_NET 0
public static final byte UNREACH_NET_PROHIBITED 9
public static final byte UNREACH_NET_UNKNOWN 6
public static final byte UNREACH_PORT 3
public static final byte UNREACH_PRECEDENCE_CUTOFF 15
public static final byte UNREACH_PROTOCOL 2
public static final byte UNREACH_SOURCE_FAILED 5
public static final byte UNREACH_TOS_HOST 12
public static final byte UNREACH_TOS_NET 11

net.clackrouter.packets.VNSICMPPacket
public static final byte PARAM_PROBLEM_CHECKSUM 10
public static final byte PARAM_PROBLEM_ID 4
public static final byte PARAM_PROBLEM_PROTOCOL 9
public static final byte PARAM_PROBLEM_TOS 1
public static final byte PARAM_PROBLEM_TOTAL_LEN 2
public static final byte PARAM_PROBLEM_TTL 8
public static final byte PARAM_PROBLEM_VER_AND_IHL 0

net.clackrouter.packets.VNSICMPType
public static final byte ECHO_REPLY 0
public static final byte ECHO_REQUEST 8
public static final byte INFO_REQUEST 15
public static final byte INFO_REQUEST_REPLY 16
public static final byte MASK_REQUEST 17
public static final byte MASK_REQUEST_REPLY 18
public static final byte PARAMETER_PROBLEM 12
public static final byte REDIRECT 5
public static final byte ROUTER_ADVERT 9
public static final byte ROUTER_SOLICIT 10
public static final byte SOURCE_QUENCH 4
public static final byte TIME_EXCEEDED 11
public static final byte TIME_STAMP 13
public static final byte TIME_STAMP_REPLY 14
public static final byte UNREACH 3

net.clackrouter.packets.VNSTCPPacket
public static final int DEFAULT_HEADER_LEN 20
public static final int TH_ACK 16
public static final int TH_FIN 1
public static final int TH_PSH 8
public static final int TH_RST 4
public static final int TH_SYN 2
public static final int TH_URG 32

net.clackrouter.protocol.commands.VNSBannerProtocolCommand
public static final int MAX_LEN 256

net.clackrouter.protocol.commands.VNSCloseProtocolCommand
public static final int MAX_LEN 256

net.clackrouter.protocol.commands.VNSOpenProtocolCommand
public static final int MAX_LEN 100

net.clackrouter.protocol.commands.VNSPacketProtocolCommand
public static final int MAX_LEN 1530

net.clackrouter.protocol.commands.VNSProtocolCommand
public static final int LENGTH_LEN 4
public static final int TYPE_AUTHREPLY 256
public static final int TYPE_AUTHREQUEST 128
public static final int TYPE_AUTHSTATUS 512
public static final int TYPE_BANNER 8
public static final int TYPE_CLOSE 2
public static final int TYPE_HWINFO 16
public static final int TYPE_INVALID 0
public static final int TYPE_LEN 4
public static final int TYPE_OPEN 1
public static final int TYPE_OPENTEMPLATE 64
public static final int TYPE_PACKET 4
public static final int TYPE_RTABLE 32

net.clackrouter.protocol.data.VNSHWInfo
public static final int KEY_ETHERNET 32
public static final int KEY_FIXED_IP 16
public static final int KEY_IN_USE 8
public static final int KEY_INTERFACE 1
public static final int KEY_IP 64
public static final int KEY_LEN 4
public static final int KEY_MASK 128
public static final int KEY_SPEED 2
public static final int KEY_SUBNET 4
public static final int VALUE_LEN 32

net.clackrouter.router.core.Router
public static final int DEFAULT_ROUTE_METRIC 1

net.clackrouter.topology.core.HostSelector
public static final java.lang.String ACTION_RESERVE_HOST "Reserve Host"
public static final java.lang.String ACTION_VIEW_TOPO "View Topology"

net.clackrouter.topology.core.TopologyModel
public static final int ALERTER_LENGTH_MSEC 100

net.clackrouter.topology.create.TopologyCreator
public static final java.lang.String ADD_HOST "Add Host"
public static final java.lang.String ADD_LINK "Add Link"
public static final java.lang.String SAVE "Save Config"
public static final java.lang.String SUBMIT "Submit Topology"