DRCL JavaSim API

drcl.diffserv
Interface DFConstants

All Known Implementing Classes:
DFUtil, TC_meter, TSW_meter, TB_meter, Marker, ColorQueue

public interface DFConstants

A collection of constants that are used in the Diffserv architecture.


Field Summary
static java.lang.String[] _AF_CLASSES
          Name array for AFxx, usage: _AF_CLASSES[dscp - 010].
static int _SINGLE_RATE
           
static int _TWO_RATE
           
static int AF11
          The DSCP of the AF11 class.
static long AF11_TOS
          The INET TOS of the AF11 class.
static int AF12
          The DSCP of the AF12 class.
static long AF12_TOS
          The INET TOS of the AF12 class.
static int AF13
          The DSCP of the AF13 class.
static long AF13_TOS
          The INET TOS of the AF13 class.
static int AF1x
          The DSCP of the AF1x class.
static long AF1x_TOS
          The INET TOS of the AF1x class.
static int AF21
          The DSCP of the AF21 class.
static long AF21_TOS
          The INET TOS of the AF21 class.
static int AF22
          The DSCP of the AF22 class.
static long AF22_TOS
          The INET TOS of the AF22 class.
static int AF23
          The DSCP of the AF23 class.
static long AF23_TOS
          The INET TOS of the AF23 class.
static int AF2x
          The DSCP of the AF2x class.
static long AF2x_TOS
          The INET TOS of the AF2x class.
static int AF31
          The DSCP of the AF31 class.
static long AF31_TOS
          The INET TOS of the AF31 class.
static int AF32
          The DSCP of the AF32 class.
static long AF32_TOS
          The INET TOS of the AF32 class.
static int AF33
          The DSCP of the AF33 class.
static long AF33_TOS
          The INET TOS of the AF33 class.
static int AF3x
          The DSCP of the AF3x class.
static long AF3x_TOS
          The INET TOS of the AF3x class.
static int BE
          The DSCP of the BE class.
static long BE_TOS
          The INET TOS of the BE class.
static long DFCLASS_MASK
          The INET TOS mask to distinguish AF, EF and BE packets.
static long DSCPMask
          Mask for masking out DSCP in INET ToS
static int DSCPShift
          Bit shift of DSCP in INET ToS
static int EF
          The DSCP of the EF class.
static long EF_TOS
          The INET TOS of the EF class.
static int GREEN
          The GREEN value of the three-label AF class.
static int IN_PROFILE
          The IN_PROFILE value of the two-label AF class.
static java.lang.String[] MODES
           
static int OUT_PROFILE
          The OUT_PROFILE value of the two-label AF class.
static int RED
          The RED value of the three-label AF class.
static java.lang.String SINGLE_RATE
           
static java.lang.String TWO_RATE
           
static int YELLOW
          The YELLOW value of the three-label AF class.
 

Field Detail

IN_PROFILE

public static final int IN_PROFILE
The IN_PROFILE value of the two-label AF class.

OUT_PROFILE

public static final int OUT_PROFILE
The OUT_PROFILE value of the two-label AF class.

GREEN

public static final int GREEN
The GREEN value of the three-label AF class.

YELLOW

public static final int YELLOW
The YELLOW value of the three-label AF class.

RED

public static final int RED
The RED value of the three-label AF class.

SINGLE_RATE

public static final java.lang.String SINGLE_RATE

TWO_RATE

public static final java.lang.String TWO_RATE

MODES

public static final java.lang.String[] MODES

_SINGLE_RATE

public static final int _SINGLE_RATE

_TWO_RATE

public static final int _TWO_RATE

AF11

public static final int AF11
The DSCP of the AF11 class.

AF12

public static final int AF12
The DSCP of the AF12 class.

AF13

public static final int AF13
The DSCP of the AF13 class.

AF21

public static final int AF21
The DSCP of the AF21 class.

AF22

public static final int AF22
The DSCP of the AF22 class.

AF23

public static final int AF23
The DSCP of the AF23 class.

AF31

public static final int AF31
The DSCP of the AF31 class.

AF32

public static final int AF32
The DSCP of the AF32 class.

AF33

public static final int AF33
The DSCP of the AF33 class.

EF

public static final int EF
The DSCP of the EF class.

BE

public static final int BE
The DSCP of the BE class.

AF1x

public static final int AF1x
The DSCP of the AF1x class.

AF2x

public static final int AF2x
The DSCP of the AF2x class.

AF3x

public static final int AF3x
The DSCP of the AF3x class.

_AF_CLASSES

public static final java.lang.String[] _AF_CLASSES
Name array for AFxx, usage: _AF_CLASSES[dscp - 010].

DSCPShift

public static final int DSCPShift
Bit shift of DSCP in INET ToS

DSCPMask

public static final long DSCPMask
Mask for masking out DSCP in INET ToS

AF11_TOS

public static final long AF11_TOS
The INET TOS of the AF11 class.

AF12_TOS

public static final long AF12_TOS
The INET TOS of the AF12 class.

AF13_TOS

public static final long AF13_TOS
The INET TOS of the AF13 class.

AF21_TOS

public static final long AF21_TOS
The INET TOS of the AF21 class.

AF22_TOS

public static final long AF22_TOS
The INET TOS of the AF22 class.

AF23_TOS

public static final long AF23_TOS
The INET TOS of the AF23 class.

AF31_TOS

public static final long AF31_TOS
The INET TOS of the AF31 class.

AF32_TOS

public static final long AF32_TOS
The INET TOS of the AF32 class.

AF33_TOS

public static final long AF33_TOS
The INET TOS of the AF33 class.

EF_TOS

public static final long EF_TOS
The INET TOS of the EF class.

BE_TOS

public static final long BE_TOS
The INET TOS of the BE class.

DFCLASS_MASK

public static final long DFCLASS_MASK
The INET TOS mask to distinguish AF, EF and BE packets.

AF1x_TOS

public static final long AF1x_TOS
The INET TOS of the AF1x class.

AF2x_TOS

public static final long AF2x_TOS
The INET TOS of the AF2x class.

AF3x_TOS

public static final long AF3x_TOS
The INET TOS of the AF3x class.

DRCL JavaSim API

Copyright © 2001 - DRCL, OSU     ~ Back to JavaSim Home ~