/[PAMELA software]/chewbacca/PamOffLineSW/PacketSemanticAnalyzer.cpp
ViewVC logotype

Diff of /chewbacca/PamOffLineSW/PacketSemanticAnalyzer.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mocchiut, Thu Dec 18 12:58:37 2008 UTC revision 1.4 by mocchiut, Fri Jul 24 13:53:37 2009 UTC
# Line 1  Line 1 
1  //============================================================================  //============================================================================
2  // $Id: PacketSemanticAnalyzer.cpp,v 1.44 2008-09-05 14:33:48 messineo Exp $  // $Id: PacketSemanticAnalyzer.cpp,v 1.3 2008/12/18 12:58:37 mocchiut Exp $
3  // Description :  // Description :
4  //============================================================================  //============================================================================
5  #include "PacketSemanticAnalyzer.h"  #include "PacketSemanticAnalyzer.h"
# Line 123  bool PacketSemanticAnalyzer::analysePKT( Line 123  bool PacketSemanticAnalyzer::analysePKT(
123          delta_pc = pkt_number-last_pkt_number;            delta_pc = pkt_number-last_pkt_number;  
124    
125          if((step_pkt_number==0)||          if((step_pkt_number==0)||
126                  ((delta_pc>0)&&(delta_pc<=step_pkt_number)) ||                  ((delta_pc>0)&&(delta_pc<=step_pkt_number)) ||
127                  ((delta_pc<0)&&(-delta_pc>=(max_pkt_number-step_pkt_number)))//delta_pc < 0 et pkt_number small and last_pkt_number big                  ((delta_pc<0)&&(-delta_pc>=(max_pkt_number-step_pkt_number)))//delta_pc < 0 et pkt_number small and last_pkt_number big
128          )                                )                      
129          {          {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23