adding accessor methods for the v4/v6FeedLists
[senf.git] / Packets / MPEGDVBBundle / TransportPacket.cc
index 7cb4c29..1e11957 100644 (file)
@@ -1,9 +1,9 @@
-// $Id:DatagramSection.cc 327 2007-07-20 10:03:44Z tho $
+// $Id$
 //
 // Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+//     Thorsten Horstmann <tho@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
@@ -20,7 +20,8 @@
 // Free Software Foundation, Inc.,
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-// Definition of non-inline non-template functions
+/** \file
+    \brief TransportPacket non-inline non-template implementation */
 
 #include "TransportPacket.hh"
 //#include "TransportPacket.ih"
@@ -35,7 +36,7 @@ prefix_ void senf::TransportPacketType::dump(packet p, std::ostream & os)
 {
     os << "TransportPacket:\n"
        << std::hex
-       << "  syncByte: 0x" << unsigned(p->syncByte()) << "\n"
+       << "  syncByte: 0x" << unsigned(p->sync_byte()) << "\n"
        << "  transport_error_indicator: 0x" << unsigned(p->transport_error_indicator()) << "\n"
        << "  payload_unit_start_indicator (pusi): 0x" << unsigned(p->pusi()) << "\n"
        << "  transport_priority: 0x" << unsigned(p->transport_priority()) << "\n"
@@ -45,6 +46,8 @@ prefix_ void senf::TransportPacketType::dump(packet p, std::ostream & os)
        << "  transport_scrambling_control: 0x" << unsigned(p->transport_scrmbl_ctrl()) << "\n"
        << "  adaptation_field_control: 0x" << unsigned(p->adaptation_field_ctrl()) << "\n"
        << "  continuity_counter: 0x" << unsigned(p->continuity_counter()) << "\n";
+//    if (p->pusi())
+//        os << "  payload_pointer: 0x" << unsigned(p->payload_pointer()) << "\n";
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////