Home
last modified time | relevance | path

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

/external/libnl/lib/
Dsocket.c70 static uint16_t idx_state = 0; in generate_local_port() local
75 if (idx_state == 0) { in generate_local_port()
80 idx_state = t ^ (t >> 16) ^ 0x3047; in generate_local_port()
82 idx_state = idx_state + 20011; /* add prime number */ in generate_local_port()
84 i = idx_state >> 5; in generate_local_port()
85 n = idx_state; in generate_local_port()