Lines Matching refs:cookie_len
61 int *cookie_len,
396 int cookie_len; in sctp_make_init_ack() local
411 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack()
420 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
493 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack()
571 int cookie_len; in sctp_make_cookie_echo() local
575 cookie_len = asoc->peer.cookie_len; in sctp_make_cookie_echo()
579 cookie_len, GFP_ATOMIC); in sctp_make_cookie_echo()
583 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo()
1657 int *cookie_len, const __u8 *raw_addrs, in sctp_pack_cookie() argument
1679 *cookie_len = headersize + bodysize; in sctp_pack_cookie()
1684 retval = kzalloc(*cookie_len, GFP_ATOMIC); in sctp_pack_cookie()
1692 retval->p.length = htons(*cookie_len); in sctp_pack_cookie()
1735 *cookie_len = 0; in sctp_pack_cookie()
2638 asoc->peer.cookie_len = in sctp_process_param()
2641 asoc->peer.cookie = kmemdup(param.cookie->body, asoc->peer.cookie_len, gfp); in sctp_process_param()