Searched refs:args (Results 1 – 5 of 5) sorted by relevance
/babblesim_ext_2G4_phy_v1-3.4.0/src/ |
D | p2G4_args.c | 30 static inline void allocate_modems_params(p2G4_args_t *args){ in allocate_modems_params() argument 31 args->modem_name = (char **)bs_calloc(args->n_devs, sizeof(char*)); in allocate_modems_params() 32 args->modem_argc = (uint *)bs_calloc(args->n_devs, sizeof(uint)); in allocate_modems_params() 33 args->modem_argv = (char ***)bs_calloc(args->n_devs, sizeof(char**)); in allocate_modems_params() 66 void p2G4_argsparse(int argc, char *argv[], p2G4_args_t *args) in p2G4_argsparse() argument 69 args_g = args; in p2G4_argsparse() 72 …{ false, false , false, "p_id", "phy_id", 's', (void*)&args->p_id, phy_id_found, "… in p2G4_argsparse() 74 …{ true, true , false, "D", "number_devices", 'u', (void*)&args->n_devs, NULL, "… in p2G4_argsparse() 81 …{ false, false , true, "nodump", "no_dump", 'b', (void*)&args->dont_dump, NULL, … in p2G4_argsparse() 82 …{ false, false , true, "dump_imm", "dump_imm", 'b', (void*)&args->dump_imm, NULL, … in p2G4_argsparse() [all …]
|
D | p2G4_main.c | 30 static p2G4_args_t args; variable 156 for (int rx_d = 0 ; rx_d < args.n_devs; rx_d++) { in find_and_activate_rx() 583 if (!args.crcerr_data) { in f_rx_payload() 1001 p2G4_clear_args_struct(&args); in p2G4_main_clean_up() 1016 p2G4_argsparse(argc, argv, &args); in main() 1018 channel_and_modem_init(args.channel_argc, args.channel_argv, args.channel_name, in main() 1019 args.modem_argc, args.modem_argv, args.modem_name, args.n_devs); in main() 1022 p2G4_phy_initcom(args.s_id, args.p_id, args.n_devs); in main() 1024 fq_init(args.n_devs); in main() 1040 bs_random_init(args.rseed); in main() [all …]
|
D | p2G4_args.h | 41 void p2G4_argsparse(int argc, char *argv[], p2G4_args_t *args); 43 void p2G4_clear_args_struct(p2G4_args_t *args);
|
/babblesim_ext_2G4_phy_v1-3.4.0/dump_post_process/ |
D | csv2pcap | 159 args = parse_args() variable 160 basetime = int(min([ p[0] for p in args.inputs ]) * 1000000) 161 write(args.output, *[ p[1] for p in args.inputs ], basetime=basetime)
|
D | csv2pcap_15.4.py | 164 args = parse_args() variable 166 write(args.output, *[ p[1] for p in args.inputs ], basetime=0)
|