This briefly documents the syntax of the numeric specifications used by
Network Expect.

Numbers
-------

-z telnet (fixed): the generated value will always be 23, telnet's port
number.

-z 23 (fixed): the generated value will always be 23.

-z telnet/75 (fixed): the generated value will be 23 25% of the time,
and a random number 75% of the time.

-z 23/75 (fixed): the generated value will be 23 25% of the time, and a
random number 75% of the time.

-z 23+ (increment): the generated value will be 23 initially, and will
be incremented by one with each successive packet. Rollover will occur
when the highest number is reached.

-z 23- (increment): the generated value will be 23 initially, and will
be decremented by one with each successive packet. Rollover will occur
when the lowest number is reached. Using a well-known port name is not
allowed here.

-z 23+5 (decrement): the generated value will be 23 initially, and will
be incremented by 5 with each successive packet. Using a well-known port
name is not allowed here.

-z 23-5 (decrement): the generated value will be 23 initially, and will
be decremented by 5 with each successive packet. Using a well-known port
name is not allowed here.

-z 23:25 (range): the generated value will start with 23, will be
incremented by one until it reaches 25, and then will go back to 23.
Using a well-known port name is not allowed here.

-z 25:23 (range): the generated value will start with 25, will be
decremented by one until it reaches 23, and then will go back to 25.
Using a well-known port name is not allowed here.

-z 23:25+5 (range): the generated value will start with 23, will be
incremented by five until it reaches (or exceeds) 25, and then will go
back to 23. Using a well-known port name is not allowed here.

-z 25:23-5 (range): the generated value will start with 25, will be
decremented by one until it reaches (or falls below) 23, and then will
go back to 25.

-z random: the generated value will be a random number in each
successive packet.

-z random,10:50: the generated value will be a random number between
10 and 50 in each successive packet.

-z 1,5,8-10,telnet (list): generated values will be 1, 5, 8, 9, 10,
and 23 (the range does *not* permit the use of well-known port names)

IPv4 Addresses
--------------

-z www.cisco.com (fixed)
-z 1.2.3.4 (fixed)

-z www.cisco.com/24 (range)
-z 1.2.3.4/24 (range)
-z 1.2.3.4:1.2.3.10 (range)

-z random (random)
-z random,1.2.3.4/24 (random) - random within a range
-z random,1.2.3.4:1.2.3.10 (random) - random within a range

-z www.cisco.com,www.google.com,1.2.3.4,2.2.2.0/24 (list)
