Lines Matching refs:chunksize

222 	size_t chunksize;  in sctp_make_init()  local
245 chunksize = sizeof(init) + addrs_len; in sctp_make_init()
246 chunksize += SCTP_PAD4(SCTP_SAT_LEN(num_types)); in sctp_make_init()
249 chunksize += sizeof(ecap_param); in sctp_make_init()
252 chunksize += sizeof(prsctp_param); in sctp_make_init()
271 chunksize += sizeof(aiparam); in sctp_make_init()
278 chunksize += vparam_len; in sctp_make_init()
283 chunksize += sizeof(asoc->c.auth_random); in sctp_make_init()
288 chunksize += SCTP_PAD4(ntohs(auth_hmacs->length)); in sctp_make_init()
295 chunksize += SCTP_PAD4(ntohs(auth_chunks->length)); in sctp_make_init()
305 chunksize += SCTP_PAD4(sizeof(ext_param) + num_ext); in sctp_make_init()
319 retval = sctp_make_control(asoc, SCTP_CID_INIT, 0, chunksize, gfp); in sctp_make_init()
394 size_t chunksize; in sctp_make_init_ack() local
420 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
424 chunksize += sizeof(ecap_param); in sctp_make_init_ack()
427 chunksize += sizeof(prsctp_param); in sctp_make_init_ack()
441 chunksize += sizeof(aiparam); in sctp_make_init_ack()
450 chunksize += ntohs(auth_random->length); in sctp_make_init_ack()
454 chunksize += SCTP_PAD4(ntohs(auth_hmacs->length)); in sctp_make_init_ack()
460 chunksize += SCTP_PAD4(ntohs(auth_chunks->length)); in sctp_make_init_ack()
469 chunksize += SCTP_PAD4(sizeof(ext_param) + num_ext); in sctp_make_init_ack()
472 retval = sctp_make_control(asoc, SCTP_CID_INIT_ACK, 0, chunksize, gfp); in sctp_make_init_ack()