Lines Matching refs:chunksize
225 size_t chunksize; in sctp_make_init() local
258 chunksize = sizeof(init) + addrs_len; in sctp_make_init()
259 chunksize += WORD_ROUND(SCTP_SAT_LEN(num_types)); in sctp_make_init()
260 chunksize += sizeof(ecap_param); in sctp_make_init()
263 chunksize += sizeof(prsctp_param); in sctp_make_init()
277 chunksize += sizeof(aiparam); in sctp_make_init()
279 chunksize += vparam_len; in sctp_make_init()
284 chunksize += sizeof(asoc->c.auth_random); in sctp_make_init()
289 chunksize += WORD_ROUND(ntohs(auth_hmacs->length)); in sctp_make_init()
296 chunksize += WORD_ROUND(ntohs(auth_chunks->length)); in sctp_make_init()
306 chunksize += WORD_ROUND(sizeof(sctp_supported_ext_param_t) + in sctp_make_init()
321 retval = sctp_make_control(asoc, SCTP_CID_INIT, 0, chunksize); in sctp_make_init()
393 size_t chunksize; in sctp_make_init_ack() local
425 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack()
429 chunksize += sizeof(ecap_param); in sctp_make_init_ack()
432 chunksize += sizeof(prsctp_param); in sctp_make_init_ack()
441 chunksize += sizeof(aiparam); in sctp_make_init_ack()
445 chunksize += ntohs(auth_random->length); in sctp_make_init_ack()
449 chunksize += WORD_ROUND(ntohs(auth_hmacs->length)); in sctp_make_init_ack()
455 chunksize += WORD_ROUND(ntohs(auth_chunks->length)); in sctp_make_init_ack()
464 chunksize += WORD_ROUND(sizeof(sctp_supported_ext_param_t) + in sctp_make_init_ack()
468 retval = sctp_make_control(asoc, SCTP_CID_INIT_ACK, 0, chunksize); in sctp_make_init_ack()