src/devices/csma/csma-net-device.h
changeset 4264 9d2e96c4e6e4
parent 4263 fec2f830d015
child 4272 b40ce56e0247
equal deleted inserted replaced
4263:fec2f830d015 4264:9d2e96c4e6e4
   667    * \see class CallBackTraceSource
   667    * \see class CallBackTraceSource
   668    */
   668    */
   669   TracedCallback<Ptr<const Packet> > m_macRxTrace;
   669   TracedCallback<Ptr<const Packet> > m_macRxTrace;
   670 
   670 
   671   /**
   671   /**
   672    * The trace source fired when a packet starts the transmission process on
   672    * The trace source fired for packets successfully received by the device
       
   673    * but dropped before being forwarded up to higher layers (at the L2/L3 
       
   674    * transition).
       
   675    *
       
   676    * \see class CallBackTraceSource
       
   677    */
       
   678   TracedCallback<Ptr<const Packet> > m_macRxDropTrace;
       
   679 
       
   680   /**
       
   681    * The trace source fired when the mac layer is forced to begin the backoff
       
   682    * process for a packet.  This can happen a number of times as the backoff
       
   683    * sequence is repeated with increasing delays.
       
   684    *
       
   685    * \see class CallBackTraceSource
       
   686    */
       
   687   TracedCallback<Ptr<const Packet> > m_macTxBackoffTrace;
       
   688 
       
   689   /**
       
   690    * The trace source fired when a packet begins the transmission process on
   673    * the medium.
   691    * the medium.
   674    *
   692    *
   675    * \see class CallBackTraceSource
   693    * \see class CallBackTraceSource
   676    */
   694    */
   677   TracedCallback<Ptr<const Packet> > m_phyTxStartTrace;
   695   TracedCallback<Ptr<const Packet> > m_phyTxBeginTrace;
   678 
   696 
   679   /**
   697   /**
   680    * The trace source fired when a packet ends the transmission process on
   698    * The trace source fired when a packet ends the transmission process on
   681    * the medium.
   699    * the medium.
   682    *
   700    *
   683    * \see class CallBackTraceSource
   701    * \see class CallBackTraceSource
   684    */
   702    */
   685   TracedCallback<Ptr<const Packet> > m_phyTxTrace;
   703   TracedCallback<Ptr<const Packet> > m_phyTxEndTrace;
   686 
   704 
   687   /**
   705   /**
   688    * The trace source fired when the phy layer drops a packet as it tries
   706    * The trace source fired when the phy layer drops a packet as it tries
   689    * to transmit it.
   707    * to transmit it.
   690    *
   708    *
   691    * \see class CallBackTraceSource
   709    * \see class CallBackTraceSource
   692    */
   710    */
   693   TracedCallback<Ptr<const Packet> > m_phyTxDropTrace;
   711   TracedCallback<Ptr<const Packet> > m_phyTxDropTrace;
   694 
   712 
   695   /**
   713   /**
       
   714    * The trace source fired when a packet begins the reception process from
       
   715    * the medium.
       
   716    *
       
   717    * \see class CallBackTraceSource
       
   718    */
       
   719   TracedCallback<Ptr<const Packet> > m_phyRxBeginTrace;
       
   720 
       
   721   /**
   696    * The trace source fired when a packet ends the reception process from
   722    * The trace source fired when a packet ends the reception process from
   697    * the medium.
   723    * the medium.
   698    *
   724    *
   699    * \see class CallBackTraceSource
   725    * \see class CallBackTraceSource
   700    */
   726    */
   701   TracedCallback<Ptr<const Packet> > m_phyRxTrace;
   727   TracedCallback<Ptr<const Packet> > m_phyRxEndTrace;
   702 
       
   703   /**
       
   704    * The trace source fired when a packet ends the reception process from
       
   705    * the medium.
       
   706    *
       
   707    * \see class CallBackTraceSource
       
   708    */
       
   709   TracedCallback<Ptr<const Packet> > m_phyRxStartTrace;
       
   710 
   728 
   711   /**
   729   /**
   712    * The trace source fired when the phy layer drops a packet it has received.
   730    * The trace source fired when the phy layer drops a packet it has received.
   713    *
   731    *
   714    * \see class CallBackTraceSource
   732    * \see class CallBackTraceSource
   715    */
   733    */
   716   TracedCallback<Ptr<const Packet> > m_phyRxDropTrace;
   734   TracedCallback<Ptr<const Packet> > m_phyRxDropTrace;
   717 
       
   718   /**
       
   719    * The trace source fired when the phy layer is forced to begin the backoff
       
   720    * process for a packet.  This can happen a number of times as the backoff
       
   721    * sequence is repeated with increasing delays.
       
   722    *
       
   723    * \see class CallBackTraceSource
       
   724    */
       
   725   TracedCallback<Ptr<const Packet> > m_phyTxBackoffTrace;
       
   726 
   735 
   727   /**
   736   /**
   728    * A trace source that emulates a non-promiscuous protocol sniffer connected 
   737    * A trace source that emulates a non-promiscuous protocol sniffer connected 
   729    * to the device.  Unlike your average everyday sniffer, this trace source 
   738    * to the device.  Unlike your average everyday sniffer, this trace source 
   730    * will not fire on PACKET_OTHERHOST events.
   739    * will not fire on PACKET_OTHERHOST events.