// String returns a minimal encoding of the TcpHdr struct.
String returns a minimal encoding of the TcpHdr struct.
// String returns a minimal encoding of the TcpHdr struct .
func (h *TcpHdr) String() string {
	return fmt.Sprintf("%d->%d %d %d %#x",
		h.Source,
		h.Dest,
		h.Seq,
		h.AckSeq,
		h.Flags)
}
func ( h * TcpHdr ) String ( ) string { return fmt . Sprintf ( " " , h . Source , h . Dest , h . Seq , h . AckSeq , h . Flags ) }
String returns a minimal encoding of the TcpHdr struct.
String returns a minimal encoding of the TcpHdr struct .