Searched refs:bodysize (Results 1 – 1 of 1) sorted by relevance
1662 int headersize, bodysize; in sctp_pack_cookie() local1670 bodysize = sizeof(struct sctp_cookie) in sctp_pack_cookie()1676 if (bodysize % SCTP_COOKIE_MULTIPLE) in sctp_pack_cookie()1677 bodysize += SCTP_COOKIE_MULTIPLE in sctp_pack_cookie()1678 - (bodysize % SCTP_COOKIE_MULTIPLE); in sctp_pack_cookie()1679 *cookie_len = headersize + bodysize; in sctp_pack_cookie()1724 crypto_shash_tfm_digest(tfm, (u8 *)&cookie->c, bodysize, in sctp_pack_cookie()1747 int headersize, bodysize, fixed_size; in sctp_unpack_cookie() local1762 bodysize = ntohs(chunk->chunk_hdr->length) - headersize; in sctp_unpack_cookie()1774 if (bodysize % SCTP_COOKIE_MULTIPLE) in sctp_unpack_cookie()[all …]