| 1 |
//============================================================================ |
//============================================================================ |
| 2 |
// $Id: PacketSemanticAnalyzer.cpp,v 1.43 2008-04-01 13:24:06 messineo Exp $ |
// $Id: PacketSemanticAnalyzer.cpp,v 1.44 2008-09-05 14:33:48 messineo Exp $ |
| 3 |
// Description : |
// Description : |
| 4 |
//============================================================================ |
//============================================================================ |
| 5 |
#include "PacketSemanticAnalyzer.h" |
#include "PacketSemanticAnalyzer.h" |
| 9 |
|
|
| 10 |
extern unsigned long int step_pkt_number; |
extern unsigned long int step_pkt_number; |
| 11 |
extern unsigned long int step_pkt_obt; |
extern unsigned long int step_pkt_obt; |
| 12 |
extern long max_pkt_number; |
extern unsigned long int max_pkt_number; |
| 13 |
extern long max_pkt_obt; |
extern unsigned long int max_pkt_obt; |
| 14 |
extern bool is_new_route; |
extern bool is_new_route; |
| 15 |
extern bool do_cont_check; |
extern bool do_cont_check; |
| 16 |
|
|
| 117 |
long int delta_pt; |
long int delta_pt; |
| 118 |
bool cons=true; |
bool cons=true; |
| 119 |
|
|
| 120 |
//TODO check here ... MARCO |
//TODO check here ... |
| 121 |
//USE ONLY PKT_NUMBER and not the OBT ... |
//USE ONLY PKT_NUMBER and not the OBT ... |
| 122 |
//correct value is step_pkt_number = 5 and step_pkt_obt =0 |
//correct value is step_pkt_number = 5 and step_pkt_obt =0 |
| 123 |
delta_pc = pkt_number-last_pkt_number; |
delta_pc = pkt_number-last_pkt_number; |