Next:
Introduction
Up:
Traffic Control - Next
Previous:
Traffic Control - Next
Contents
Introduction
What is tcng ?
System overview
Traffic control compiler
Traffic control simulator
Installing tcng
Using all of tcng in six easy steps
The tcng language
Quick start
Basic syntax
Interfaces
Queuing disciplines
Classes
The drop construct
The if construct
Data access
Fields
Expressions
Numbers
Units
Strings
Operators
Functions
Variables
Variable basics
Variable scoping
Forward references
Parameters
Parameter syntax
Parameter propagation
Class selection paths
Processing directives
Naming conventions
Include files
TCP/IP header fields
Idiomatic constructs
Values used in TCP/IP headers
Ports
Meters
Under the hood
Field roots
Buckets
Metering primitives
Implementation limitations
Policing primitives
Advanced variables: structures
Advanced variables: compound expressions
The precond function
Hierarchical structure
Queuing disciplines without classes
Class selection path internals
Tags
Pragmas
Historical constructs
Interfaces revisited
Queuing discipline numbers
Filters
Filter elements
Limitations
Redefining fields
Tunnels
Policing
Old-style meters assignment
Traffic control compiler
Invocation
Usage
Phases underneath tcc
Targets
The ``tc'' target
The ``C'' target
The external target
File formats
Location map
Variable use list
Adding new traffic control elements to tcc
Adding new queuing disciplines
Adding new filters
Adding new meters
Traffic control simulator
Invocation
Usage
Phases underneath tcsim
Configuration
System definition
System configuration
Timing
Termination
Packet enqueuing
Packet dequeuing
Debugging
Configuration file format
Variables
Numeric variables
Common idioms
Command variables
Using multiple interfaces
Configuration
Example
Include files
Packet construction
Related include files
Simulation output
Raw tcsim output
Pretty-printing traces
Output filtering
Graphical output
Adding new traffic control elements
Adding elements to tcsim
Including modules
Restrictions
The external interface
Program invocation
Configuration query
Capability probe
Build run
Configuration data format
Pragma
Buckets
Offsets
Blocks
Queues
Classes
Actions
Rules
Barriers
Data returned
Configuration query
Capability probe
Build run
Diagnostic message translation
C API
Parameter reference
General parameters
Queuing discipline parameters
Differences from tc for fifo
Differences from tc for htb
Class parameters
Differences from tc for gred
Differences from tc for htb
Filter parameters
Filter element parameters
Tunnel parameters
Policer and bucket parameters
Bibliography
About this document ...
Martin A. Brown 2003-11-06