Searched refs:bear_cookie (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/sctp/ |
H A D | sm_make_chunk.c | 1705 struct sctp_cookie *bear_cookie; in sctp_unpack_cookie() local 1734 bear_cookie = &cookie->c; in sctp_unpack_cookie() 1746 crypto_shash_tfm_digest(tfm, (u8 *)bear_cookie, bodysize, in sctp_unpack_cookie() 1767 if (ntohl(chunk->sctp_hdr->vtag) != bear_cookie->my_vtag) { in sctp_unpack_cookie() 1772 if (chunk->sctp_hdr->source != bear_cookie->peer_addr.v4.sin_port || in sctp_unpack_cookie() 1773 ntohs(chunk->sctp_hdr->dest) != bear_cookie->my_port) { in sctp_unpack_cookie() 1791 if (!asoc && ktime_before(bear_cookie->expiration, kt)) { in sctp_unpack_cookie() 1792 suseconds_t usecs = ktime_to_us(ktime_sub(kt, bear_cookie->expiration)); in sctp_unpack_cookie() 1826 memcpy(&retval->c, bear_cookie, sizeof(*bear_cookie)); in sctp_unpack_cookie() [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | sm_make_chunk.c | 1750 struct sctp_cookie *bear_cookie; in sctp_unpack_cookie() local 1779 bear_cookie = &cookie->c; in sctp_unpack_cookie() 1791 crypto_shash_tfm_digest(tfm, (u8 *)bear_cookie, bodysize, in sctp_unpack_cookie() 1812 if (ntohl(chunk->sctp_hdr->vtag) != bear_cookie->my_vtag) { in sctp_unpack_cookie() 1817 if (chunk->sctp_hdr->source != bear_cookie->peer_addr.v4.sin_port || in sctp_unpack_cookie() 1818 ntohs(chunk->sctp_hdr->dest) != bear_cookie->my_port) { in sctp_unpack_cookie() 1836 if (!asoc && ktime_before(bear_cookie->expiration, kt)) { in sctp_unpack_cookie() 1837 suseconds_t usecs = ktime_to_us(ktime_sub(kt, bear_cookie->expiration)); in sctp_unpack_cookie() 1871 memcpy(&retval->c, bear_cookie, sizeof(*bear_cookie)); in sctp_unpack_cookie() [all...] |
Completed in 7 milliseconds