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

void TCPHeader::setURGFlag ( bool  flag  ) 

Set the URG flag (byte 13, bit 5).

Definition at line 101 of file TCPHeader.cc.

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


Generated by  Doxygen 1.6.0   Back to index