Home
last modified time | relevance | path

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

/external/libnl/lib/
Dsocket.c66 static uint16_t idx_state = 0; in generate_local_port() local
71 if (idx_state == 0) { in generate_local_port()
76 idx_state = t ^ (t >> 16) ^ 0x3047; in generate_local_port()
78 idx_state = idx_state + 20011; /* add prime number */ in generate_local_port()
80 i = idx_state >> 5; in generate_local_port()
81 n = idx_state; in generate_local_port()