gov.nist.antd.ssf.os
Class IpHeader

java.lang.Object
  |
  +--SSF.OS.ProtocolMessage
        |
        +--SSF.OS.IpHeader
              |
              +--gov.nist.antd.ssf.os.IpHeader

public class IpHeader
extends IpHeader

The class add DiffServ information to the ipHeader.

 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:
borchert
, rouil

Field Summary
 int DiffServFlowID
          The DiffServ flow ID
 double EFt
          The Estimated Finish time.
 int Marking
          Indicates if this header has been marked.
 double TimeStamp
          TimeStamp to compute delays.
 
Fields inherited from class SSF.OS.IpHeader
DEFAULT_TIME_TO_LIVE, DELAY_BIT_MASK, DEST_IP, NEXT_HOP_IP, PROTOCOL_NO, SOURCE_IP, THROUGHPUT_BIT_MASK, TIME_TO_LIVE, TOS, VERSION
 
Fields inherited from class SSF.OS.ProtocolMessage
 
Constructor Summary
IpHeader(int prot_no, int src_ip, int dest_ip)
          IP header constructor with default TTL.
IpHeader(int prot_no, int src_ip, int dest_ip, int ttl)
          IP header constructor.
IpHeader(IpHeader header)
          Constructor that copy the information of the given parameter header The SSF.OS,IpHeader used to get informations
 
Methods inherited from class SSF.OS.IpHeader
bytecount, getMeasurementBucket, header_bytecount, setMeasurementBucket, toString
 
Methods inherited from class SSF.OS.ProtocolMessage
carryPayload, copy, dropHeader, dropPayload, frombytes, fromVersion, payload, previous, size, tobytes, version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Marking

public int Marking
Indicates if this header has been marked.


TimeStamp

public double TimeStamp
TimeStamp to compute delays.


DiffServFlowID

public int DiffServFlowID
The DiffServ flow ID


EFt

public double EFt
The Estimated Finish time.

Constructor Detail

IpHeader

public IpHeader(int prot_no,
                int src_ip,
                int dest_ip,
                int ttl)
IP header constructor.

Parameters:
prot_no - Protocol number
src_ip - IP address of packet source
dest_ip - IP address of packet destination
ttl - time to live, in hops.

IpHeader

public IpHeader(int prot_no,
                int src_ip,
                int dest_ip)
IP header constructor with default TTL.

Parameters:
prot_no - Protocol number
src_ip - IP address of packet source
dest_ip - IP address of packet destination

IpHeader

public IpHeader(IpHeader header)
Constructor that copy the information of the given parameter header The SSF.OS,IpHeader used to get informations