This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

QueueYankTest Element Documentation

NAME

QueueYankTest -- Click element; check packets against a specification

SYNOPSIS

QueueYankTest(QUEUE)

Ports: none
Package: test (core)

DESCRIPTION

QueueYankTest compares all received packets against a specification provided by keyword arguments. It prints error messages when incoming packets don't match the spec. Keyword arguments are as follows. Tests are performed for the keyword arguments you specify. If you don't want to run a test, don't supply the keyword. QueueYankTest(), with no keywords, accepts every packet.

DATA
String. The contents of the packet (starting DATA_OFFSET bytes in) must exactly match DATA.
DATA_OFFSET
Integer. Specifies the offset into the packet used for DATA matches. Default is 0.
LENGTH
Integer. The packet's length must equal LENGTH.
LENGTH_GE
Integer. The packet's length must be at least LENGTH_GE.
LENGTH_LE
Integer. The packet's length must be at most LENGTH_LE. Specify at most one of LENGTH, LENGTH_GE, and LENGTH_LE.
ALIGNMENT
Two space-separated integers, `MODULUS OFFSET'. The packet's data must be aligned OFFSET bytes off from a MODULUS-byte boundary.

SEE ALSO

PacketTest

Generated by 'click-elem2man' from '../elements/test/queueyanktest.hh' on 24/May/2007.

COMMENTS

 
elements/queueyanktest.txt · Last modified: 2007/05/24 00:16 (external edit)
 
Recent changes RSS feed Driven by DokuWiki