next up previous contents
Next: tcp_calc_cc_options() Up: CC Options Previous: CC Options

Handling the CC Variable

Two global variables are added to the TCP/IP suite, tcp_ccgen, which is used as the counter for the CC value, and tcp_do_rfc1644 which indicates whether to send CC options in the outgoing segments. These are declared as follows:

The macro CC_INC is defined to allow the tcp_ccgen variable to be incremented. If this variable is zero, it means undefined, the macro adds one if the variable is zero. This is defined as:



Mark Stacey
Thu Apr 30 12:26:11 IST 1998