gov.nist.antd.diffserv
Class DiffServCTFlow

java.lang.Object
  |
  +--gov.nist.antd.diffserv.DiffServCTFlow

public class DiffServCTFlow
extends java.lang.Object

Each DiffServFlow object contains at least one DiffServCTFlow entry in the DiffServCTFlowTable(Vector).

The DiffServCTFlow contains the DiffServ packet flow mapping informations, such as source/destination address range, protocol number, source/destination port range, and ToS. a.DiffServCTFlow - srcIPAddressList, srcIDList - destIPAddressList, destIDList - ProtocolNum - ToS (Type of Service) - SrcPortMin, SrcPortMax: source port range - DestPortMin, DestPortMax: destination port range - class-type - DiffServPrfFlowProfile DSFProfile

 This class was developed at the National Institute of Standards and
 Technology by employees of the Federal Government in the course of
 their official duties. Pursuant to title 17 Section 105 of the United
 States Code this software is not subject to copyright protection and
 is in the public domain.
 NIST assumes no responsibility whatsoever for its use by other parties,
 and makes no guarantees, expressed or implied, about its quality,
 reliability, or any other characteristic.
 
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.

Author:
Young-Tak Kim
, Eun-Hyuk Lim , borchert

Field Summary
 int ClassType
          Field ClassType - XXX
 java.lang.String ClassTypeString
          Field ClassTypeString - XXX
 boolean debug
          Field debug - XXX
 java.util.Vector destIDList
          Field destIDList - XXX
 java.util.Vector destIPAddrList
          Field destIPAddrList - XXX
 int DestPortMax
          Field DestPortMax - XXX
 int DestPortMin
          Field DestPortMin - XXX
 int DiffServFlowID
          Field DiffServFlowID - XXX
 DiffServPrfFlowProfile DSFProfile
          Field DSFProfile - XXX
 DiffServTrafficConditioner DSTConditioner
          Field DSTConditioner - XXX
 java.lang.String ID
          Field ID - XXX
 Net net
          Field net - XXX
 int ProtocolNum
          Field ProtocolNum - XXX
 java.util.Vector srcIDList
          Field srcIDList - XXX
 java.util.Vector srcIPAddrList
          Field srcIPAddrList - XXX
 int SrcPortMax
          Field SrcPortMax - XXX
 int SrcPortMin
          Field SrcPortMin - XXX
 int ToS
          Field ToS - XXX
 
Constructor Summary
DiffServCTFlow(DiffServTrafficConditioner dstc)
          Constructor DiffServCTFlow
 
Method Summary
 void addDSFProfile(DiffServPrfFlowProfile dsfp)
          Method addDSFProfile XXX
 boolean DiffServCTClassify(int clientip, int serverip, int serverport, int protocolnum)
          Method DiffServCTClassify XXX
 boolean DiffServCTClassify(ProtocolMessage message)
          Method DiffServCTClassify XXX
 boolean findIPAddr(int ipaddr, java.util.Vector v)
          Method findIPAddr XXX
 void getIPAddressList(com.renesys.raceway.DML.Configuration cfg, java.util.Vector iplist, java.util.Vector idlist)
          Method getIPAddressList XXX
 void init(int id, int classtype, java.lang.String classtypestring, com.renesys.raceway.DML.Configuration cfg)
          Method init XXX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DSTConditioner

public DiffServTrafficConditioner DSTConditioner
Field DSTConditioner - XXX


debug

public boolean debug
Field debug - XXX


ID

public java.lang.String ID
Field ID - XXX


net

public Net net
Field net - XXX


srcIPAddrList

public java.util.Vector srcIPAddrList
Field srcIPAddrList - XXX


srcIDList

public java.util.Vector srcIDList
Field srcIDList - XXX


destIPAddrList

public java.util.Vector destIPAddrList
Field destIPAddrList - XXX


destIDList

public java.util.Vector destIDList
Field destIDList - XXX


ProtocolNum

public int ProtocolNum
Field ProtocolNum - XXX


ToS

public int ToS
Field ToS - XXX


SrcPortMin

public int SrcPortMin
Field SrcPortMin - XXX


SrcPortMax

public int SrcPortMax
Field SrcPortMax - XXX


DestPortMin

public int DestPortMin
Field DestPortMin - XXX


DestPortMax

public int DestPortMax
Field DestPortMax - XXX


DiffServFlowID

public int DiffServFlowID
Field DiffServFlowID - XXX


ClassType

public int ClassType
Field ClassType - XXX


ClassTypeString

public java.lang.String ClassTypeString
Field ClassTypeString - XXX


DSFProfile

public DiffServPrfFlowProfile DSFProfile
Field DSFProfile - XXX

Constructor Detail

DiffServCTFlow

public DiffServCTFlow(DiffServTrafficConditioner dstc)
Constructor DiffServCTFlow

Parameters:
dstc - - XXX
Method Detail

init

public void init(int id,
                 int classtype,
                 java.lang.String classtypestring,
                 com.renesys.raceway.DML.Configuration cfg)
Method init XXX

Parameters:
id - - XXX
classtype - - XXX
classtypestring - - XXX
cfg - - XXX

getIPAddressList

public void getIPAddressList(com.renesys.raceway.DML.Configuration cfg,
                             java.util.Vector iplist,
                             java.util.Vector idlist)
Method getIPAddressList XXX

Parameters:
cfg - - XXX
iplist - - XXX
idlist - - XXX

DiffServCTClassify

public boolean DiffServCTClassify(ProtocolMessage message)
Method DiffServCTClassify XXX

Parameters:
message - - XXX
Returns:
boolean - XXX

DiffServCTClassify

public boolean DiffServCTClassify(int clientip,
                                  int serverip,
                                  int serverport,
                                  int protocolnum)
Method DiffServCTClassify XXX

Parameters:
clientip - - XXX
serverip - - XXX
serverport - - XXX
protocolnum - - XXX
Returns:
boolean - XXX

findIPAddr

public boolean findIPAddr(int ipaddr,
                          java.util.Vector v)
Method findIPAddr XXX

Parameters:
ipaddr - - XXX
v - - XXX
Returns:
boolean - XXX

addDSFProfile

public void addDSFProfile(DiffServPrfFlowProfile dsfp)
Method addDSFProfile XXX

Parameters:
dsfp - - XXX