Logo Search packages:      
Sourcecode: paris-traceroute version File versions  Download package

void TCPHeader::setFINFlag ( bool  flag  ) 

Set the FIN flag (byte 13, bit 0).

Definition at line 186 of file TCPHeader.cc.

                                {
  if (flag) header[13] |= 0x01;
  else header[13] &= 0xfe;
}


Generated by  Doxygen 1.6.0   Back to index