Lines Matching refs:cookie_len
73 int *cookie_len,
392 int cookie_len; in sctp_make_init_ack() local
416 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack()
425 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
486 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack()
567 int cookie_len; in sctp_make_cookie_echo() local
570 cookie_len = asoc->peer.cookie_len; in sctp_make_cookie_echo()
573 retval = sctp_make_control(asoc, SCTP_CID_COOKIE_ECHO, 0, cookie_len); in sctp_make_cookie_echo()
577 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo()
1604 int *cookie_len, in sctp_pack_cookie() argument
1627 *cookie_len = headersize + bodysize; in sctp_pack_cookie()
1632 retval = kzalloc(*cookie_len, GFP_ATOMIC); in sctp_pack_cookie()
1640 retval->p.length = htons(*cookie_len); in sctp_pack_cookie()
1684 *cookie_len = 0; in sctp_pack_cookie()
2406 asoc->peer.cookie = kmemdup(cookie, asoc->peer.cookie_len, gfp); in sctp_process_init()
2584 asoc->peer.cookie_len = in sctp_process_param()