Searched refs:COOKIE_MASK (Results 1 – 1 of 1) sorted by relevance
26 #define COOKIE_MASK (((__u32)1 << COOKIE_BITS) - 1) macro347 ctx->attrs.rcv_tsecr &= ~COOKIE_MASK; in tcp_prepare_cookie()348 ctx->attrs.rcv_tsecr |= hash & COOKIE_MASK; in tcp_prepare_cookie()351 hash &= ~COOKIE_MASK; in tcp_prepare_cookie()482 hash -= ctx->attrs.rcv_tsecr & COOKIE_MASK; in tcp_validate_cookie()484 hash &= ~COOKIE_MASK; in tcp_validate_cookie()486 hash -= cookie & ~COOKIE_MASK; in tcp_validate_cookie()