Home
last modified time | relevance | path

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

/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c300 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()
Dns-traffic.h229 int rand_within(int first, int last);
Dns-common.c201 int rand_within(int first, int last) in rand_within() function