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

uint16 TCPHeader::getSourcePort (  ) 

Get the 'Source port' field (bytes 0-1).

Definition at line 45 of file TCPHeader.cc.

References Util::readbe16().

Referenced by dump().

                          {
  return Util::readbe16(header, 0);
}


Generated by  Doxygen 1.6.0   Back to index