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

void TCPHeader::setRSTFlag ( bool  flag  ) 

Set the RST flag (byte 13, bit 2).

Definition at line 152 of file TCPHeader.cc.

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


Generated by  Doxygen 1.6.0   Back to index