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

void TCPHeader::setACKFlag ( bool  flag  ) 

Set the ACK flag (byte 13, bit 4).

Definition at line 118 of file TCPHeader.cc.

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


Generated by  Doxygen 1.6.0   Back to index