Lines Matching refs:cookie_len
76 int *cookie_len,
271 int cookie_len; in sctp_make_init_ack() local
289 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack()
297 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
321 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack()
394 int cookie_len; in sctp_make_cookie_echo() local
397 cookie_len = asoc->peer.cookie_len; in sctp_make_cookie_echo()
400 retval = sctp_make_chunk(asoc, SCTP_CID_COOKIE_ECHO, 0, cookie_len); in sctp_make_cookie_echo()
404 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo()
1247 int *cookie_len, in sctp_pack_cookie() argument
1267 *cookie_len = headersize + bodysize; in sctp_pack_cookie()
1269 retval = (sctp_cookie_param_t *)kmalloc(*cookie_len, GFP_ATOMIC); in sctp_pack_cookie()
1272 *cookie_len = 0; in sctp_pack_cookie()
1279 memset(retval, 0x00, *cookie_len); in sctp_pack_cookie()
1284 retval->p.length = htons(*cookie_len); in sctp_pack_cookie()
1860 asoc->peer.cookie = kmalloc(asoc->peer.cookie_len, gfp); in sctp_process_init()
1863 memcpy(asoc->peer.cookie, cookie, asoc->peer.cookie_len); in sctp_process_init()
2014 asoc->peer.cookie_len = in sctp_process_param()