Home
last modified time | relevance | path

Searched refs:cfg_random_seed (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/net/lib/
H A Dcsum.c111 static unsigned int cfg_random_seed; variable
301 if (cfg_random_seed) { in build_packet()
829 cfg_random_seed = strtol(optarg, NULL, 0); in parse_args()
887 if (cfg_zero_sum && cfg_random_seed) in parse_args()
908 if (cfg_do_tx && cfg_random_seed) { in parse_args()
910 if (cfg_random_seed == 1) in parse_args()
911 cfg_random_seed = (unsigned int)gettimeofday_ms(); in parse_args()
912 srand(cfg_random_seed); in parse_args()
913 fprintf(stderr, "randomization seed: %u\n", cfg_random_seed); in parse_args()
939 if (cfg_random_seed) { in do_tx()