ns-allinone-2.35/ns-2.35/diffserv/dsPolicy.cc
void SFDPolicy::printFlowTable() {
  struct flow_entry *p;
  printf("Flow table:\n");

  p = flow_table.head;
  while (p) {
    printf("flow id: %d [%d %d], bytesSent: %d, last_update: %f\n", 
	   p->fid, p->src_id, p->dst_id, p->bytes_sent, p->last_update);
    p = p-> next;
  }
  p = NULL;
  printf("\n");
}
//    Prints the flowTable, one entry per line.
Prints the flowTable, one entry per line.
Prints the flowTable one entry per line .
void SFDPolicy::printFlowTable() {
  struct flow_entry *p;
  printf("Flow table:\n");
  p = flow_table.head;
  while (p) {
    printf("flow id: %d [%d %d], bytesSent: %d, last_update: %f\n", 
	   p->fid, p->src_id, p->dst_id, p->bytes_sent, p->last_update);
    p = p-> next;
  }
  p = NULL;
  printf("\n");
}
void SFDPolicy :: printFlowTable ( ) { struct flow_entry * p ; printf ( " \n " ) ; p = flow_table . head ; while ( p ) { printf ( " \n " , p -> fid , p -> src_id , p -> dst_id , p -> bytes_sent , p -> last_update ) ; p = p -> next ; } p = NULL ; printf ( " \n " ) ; }
Prints the flowTable, one entry per line.
Prints the flowTable one entry per line .