Searched refs:COOKIEBITS (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/ipv6/
H A Dsyncookies.c24 #define COOKIEBITS 24 /* Upper bits store count */ macro
25 #define COOKIEMASK (((__u32)1 << COOKIEBITS) - 1)
95 sseq + (count << COOKIEBITS) + secure_tcp_syn_cookie()
108 diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS); check_tcp_syn_cookie()
/linux-4.1.27/net/ipv4/
H A Dsyncookies.c26 #define COOKIEBITS 24 /* Upper bits store count */ macro
27 #define COOKIEMASK (((__u32)1 << COOKIEBITS) - 1)
123 sseq + (count << COOKIEBITS) + secure_tcp_syn_cookie()
146 diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS); check_tcp_syn_cookie()

Completed in 86 milliseconds