Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/rose/
Drose_subr.c284 facilities->rand = ((p[1] << 8) & 0xFF00) + ((p[2] << 0) & 0x00FF); in rose_parse_national()
433 if (rose->rand != 0 || rose->source_ndigis == 1 || rose->dest_ndigis == 1) { in rose_create_facilities()
437 if (rose->rand != 0) { in rose_create_facilities()
439 *p++ = (rose->rand >> 8) & 0xFF; in rose_create_facilities()
440 *p++ = (rose->rand >> 0) & 0xFF; in rose_create_facilities()
Drose_route.c918 if (rose_route->rand == facilities.rand && in rose_route_frame()
947 rose_route->rand = facilities.rand; in rose_route_frame()
Daf_rose.c796 sk->protinfo.rose->rand = ((int)sk->protinfo.rose & 0xFFFF) + sk->protinfo.rose->lci; in rose_connect()
/linux-2.4.37.9/net/irda/
Dirlap.c661 static int rand; in irlap_generate_rand_time_slot() local
666 rand += jiffies; in irlap_generate_rand_time_slot()
667 rand ^= (rand << 12); in irlap_generate_rand_time_slot()
668 rand ^= (rand >> 20); in irlap_generate_rand_time_slot()
670 slot = s + rand % (S-s); in irlap_generate_rand_time_slot()
/linux-2.4.37.9/include/net/
Drose.h114 unsigned int rand; member
125 unsigned int lci, rand; member
/linux-2.4.37.9/include/linux/
Drose.h82 unsigned int rand; member
/linux-2.4.37.9/drivers/net/hamradio/
Ddmascc.c298 static unsigned long rand; variable
361 rand = rand * 1664525L + 1013904223L; in random()
362 return (unsigned char) (rand >> 24); in random()
377 rand = jiffies; in dmascc_init()