missing commit for last rev.
[senf.git] / Packets / DefaultBundle / RTPPacket.cc
index a09a89f..e69a298 100644 (file)
@@ -1,9 +1,9 @@
-// $Id: main.test.cc 206 2008-08-06 14:20:52Z pug $
+// $Id$
 //
-// Copyright (C) 2006
+// Copyright (C) 2008
 // Fraunhofer Institute for Open Communication Systems (FOKUS)
 // Competence Center NETwork research (NET), St. Augustin, GERMANY
-//     Stefan Bund <g0dil@berlios.de>
+//     Philipp Batroff <pug@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // Free Software Foundation, Inc.,
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-// Definition of non-inline non-template functions
+/** \file 
+    \brief RTPPacket non-inline non-template implementation */
 
-// Custom includes
 #include "RTPPacket.hh"
-#include "../../Packets/Packets.hh"
-#include "../../Scheduler/ClockService.hh"
-#include <boost/io/ios_state.hpp>
+//#include "UDPPacket.ih"
 
+// Custom includes
+#include <boost/io/ios_state.hpp>
 
 #define prefix_
 
@@ -64,16 +64,15 @@ prefix_ void senf::RTPPacketType::dump(packet p, std::ostream &os)
 {
     boost::io::ios_all_saver ias(os);
     os << "Real Time Protocol:\n"
-       << "  Version                            : " << p->version() << "\n"
-       << "  Padding                            : " << p->padding() << "\n"
-       << "  Extension                          : " << p->extension() << "\n"
-       << "  Contributing Source Count(CC)      : " << p->csrcCount() << "\n"
-       << "  Marker                             : " << p->marker() << "\n"
-       << "  Payload Type                       : " << p->payloadType() << " "<< ptName(p->payloadType() ) <<"\n"
-       << "  Sequence number                    : " << p->seqNumber() << "\n"
-       << "  Timestamp                          : " << p->timeStamp() << "\n"
-       << "  Synchronisation Source Identifier  : " << p->synSourceId() << "\n";
-
+       <<     "  version                 : " << p->version() << "\n"
+       <<     "  padding                 : " << p->padding() << "\n"
+       <<     "  extension               : " << p->extension() << "\n"
+       <<     "  contributing source cnt : " << p->csrcCount() << "\n"
+       <<     "  marker                  : " << p->marker() << "\n"
+       <<     "  payload type            : " << p->payloadType() << " "<< ptName(p->payloadType() ) <<"\n"
+       <<     "  sequence number         : " << p->seqNumber() << "\n"
+       <<     "  timestamp               : " << p->timeStamp() << "\n"
+       <<     "  sync source id          : " << p->synSourceId() << "\n";
 }
 
 #undef prefix_