Searched refs:rand_within (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 300 new_hd_addr[3] = rand_within(0, 254); in return_arp_reply() 301 new_hd_addr[4] = rand_within(0, 254); in return_arp_reply() 302 new_hd_addr[5] = rand_within(1, 254); in return_arp_reply() 313 new_nexthop[3] = rand_within(1, 254); in return_arp_reply() 490 new_hd_addr[3] = rand_within(0, 254); in return_neigh_adv() 491 new_hd_addr[4] = rand_within(0, 254); in return_neigh_adv() 492 new_hd_addr[5] = rand_within(1, 254); in return_neigh_adv() 505 new_nexthop.s6_addr[15] = rand_within(1, 254); in return_neigh_adv()
|
D | ns-traffic.h | 229 int rand_within(int first, int last);
|
D | ns-common.c | 201 int rand_within(int first, int last) in rand_within() function
|