• Main Page
  • Classes
  • Files
  • File List

/Users/yzchen/ns/ns-allinone-2.33/ns-2.33/indep-utils/dosdbell/flowlist.h

00001 #include<stdio.h>
00002 #define hop_limit 50
00003 
00004 struct flow_list{
00005 double time;
00006 double bw;
00007 struct flow_list *next;
00008 };
00009 
00010 struct flow_event{
00011   double delay;
00012   double deltaCBR;
00013   double NetCBR;
00014 };
00015 
00016 struct flow_list *create_new_flow_event(double time, double bw);
00017 
00018 void flow_list_insert(double time, double bw, struct flow_list **root);
00019 
00020 void dump_flow_list_to_file(FILE* file, struct flow_list *root);
00021 
00022 int get_no_events(struct flow_list *root);
00023 
00024 struct flow_event* get_all_events(struct flow_list *root);
00025 

Generated on Tue Aug 10 2010 16:16:07 for ns-2.33 by  doxygen 1.7.1