DRCL J-Sim API

drcl.diffserv
Interface DFConstants

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

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 AF1x, AF2x, AF3x, 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.

See Also:
Constant Field Values

OUT_PROFILE

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

See Also:
Constant Field Values

GREEN

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

See Also:
Constant Field Values

YELLOW

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

See Also:
Constant Field Values

RED

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

See Also:
Constant Field Values

SINGLE_RATE

public static final java.lang.String SINGLE_RATE
See Also:
Constant Field Values

TWO_RATE

public static final java.lang.String TWO_RATE
See Also:
Constant Field Values

MODES

public static final java.lang.String[] MODES

_SINGLE_RATE

public static final int _SINGLE_RATE
See Also:
Constant Field Values

_TWO_RATE

public static final int _TWO_RATE
See Also:
Constant Field Values

AF11

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

See Also:
Constant Field Values

AF12

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

See Also:
Constant Field Values

AF13

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

See Also:
Constant Field Values

AF21

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

See Also:
Constant Field Values

AF22

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

See Also:
Constant Field Values

AF23

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

See Also:
Constant Field Values

AF31

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

See Also:
Constant Field Values

AF32

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

See Also:
Constant Field Values

AF33

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

See Also:
Constant Field Values

EF

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

See Also:
Constant Field Values

BE

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

See Also:
Constant Field Values

AF1x

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

See Also:
Constant Field Values

AF2x

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

See Also:
Constant Field Values

AF3x

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

See Also:
Constant Field Values

_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

See Also:
Constant Field Values

DSCPMask

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

See Also:
Constant Field Values

AF11_TOS

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

See Also:
Constant Field Values

AF12_TOS

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

See Also:
Constant Field Values

AF13_TOS

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

See Also:
Constant Field Values

AF21_TOS

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

See Also:
Constant Field Values

AF22_TOS

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

See Also:
Constant Field Values

AF23_TOS

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

See Also:
Constant Field Values

AF31_TOS

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

See Also:
Constant Field Values

AF32_TOS

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

See Also:
Constant Field Values

AF33_TOS

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

See Also:
Constant Field Values

EF_TOS

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

See Also:
Constant Field Values

BE_TOS

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

See Also:
Constant Field Values

DFCLASS_MASK

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

See Also:
Constant Field Values

AF1x_TOS

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

See Also:
Constant Field Values

AF2x_TOS

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

See Also:
Constant Field Values

AF3x_TOS

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

See Also:
Constant Field Values

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~