Searched refs:bear_cookie (Results 1 – 1 of 1) sorted by relevance
1732 struct sctp_cookie *bear_cookie; in sctp_unpack_cookie() local1761 bear_cookie = &cookie->c; in sctp_unpack_cookie()1763 ch = (struct sctp_chunkhdr *)(bear_cookie + 1); in sctp_unpack_cookie()1771 hmac_sha256(&ep->cookie_auth_key, (const u8 *)bear_cookie, in sctp_unpack_cookie()1787 if (ntohl(chunk->sctp_hdr->vtag) != bear_cookie->my_vtag) { in sctp_unpack_cookie()1792 if (chunk->sctp_hdr->source != bear_cookie->peer_addr.v4.sin_port || in sctp_unpack_cookie()1793 ntohs(chunk->sctp_hdr->dest) != bear_cookie->my_port) { in sctp_unpack_cookie()1811 if (!asoc && ktime_before(bear_cookie->expiration, kt)) { in sctp_unpack_cookie()1812 suseconds_t usecs = ktime_to_us(ktime_sub(kt, bear_cookie->expiration)); in sctp_unpack_cookie()1846 memcpy(&retval->c, bear_cookie, sizeof(*bear_cookie)); in sctp_unpack_cookie()[all …]