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

void TCPHeader::setPSHFlag ( bool  flag  ) 

Set the PSH flag (byte 13, bit 3).

Definition at line 135 of file TCPHeader.cc.

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


Generated by  Doxygen 1.6.0   Back to index