Lines Matching refs:sctp_addto_chunk

157 	chunk->subh.err_hdr = sctp_addto_chunk(chunk, sizeof(err), &err);  in sctp_init_cause()
324 sctp_addto_chunk(retval, sizeof(init), &init); in sctp_make_init()
326 sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init()
337 sctp_addto_chunk(retval, sizeof(sat), &sat); in sctp_make_init()
338 sctp_addto_chunk(retval, num_types * sizeof(__u16), &types); in sctp_make_init()
341 sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); in sctp_make_init()
349 sctp_addto_chunk(retval, sizeof(ext_param), &ext_param); in sctp_make_init()
354 sctp_addto_chunk(retval, sizeof(prsctp_param), &prsctp_param); in sctp_make_init()
360 sctp_addto_chunk(retval, sizeof(aiparam), &aiparam); in sctp_make_init()
365 sctp_addto_chunk(retval, sizeof(asoc->c.auth_random), in sctp_make_init()
368 sctp_addto_chunk(retval, ntohs(auth_hmacs->length), in sctp_make_init()
371 sctp_addto_chunk(retval, ntohs(auth_chunks->length), in sctp_make_init()
491 sctp_addto_chunk(retval, sizeof(initack), &initack); in sctp_make_init_ack()
492 retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init_ack()
493 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack()
495 sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); in sctp_make_init_ack()
499 sctp_addto_chunk(retval, sizeof(ext_param), &ext_param); in sctp_make_init_ack()
503 sctp_addto_chunk(retval, sizeof(prsctp_param), &prsctp_param); in sctp_make_init_ack()
509 sctp_addto_chunk(retval, sizeof(aiparam), &aiparam); in sctp_make_init_ack()
513 sctp_addto_chunk(retval, ntohs(auth_random->length), in sctp_make_init_ack()
516 sctp_addto_chunk(retval, ntohs(auth_hmacs->length), in sctp_make_init_ack()
519 sctp_addto_chunk(retval, ntohs(auth_chunks->length), in sctp_make_init_ack()
583 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo()
681 sctp_addto_chunk(retval, sizeof(cwr), &cwr); in sctp_make_cwr()
713 sctp_addto_chunk(retval, sizeof(ecne), &ecne); in sctp_make_ecne()
744 retval->subh.data_hdr = sctp_addto_chunk(retval, sizeof(dp), &dp); in sctp_make_datafrag_empty()
822 sctp_addto_chunk(retval, sizeof(sack), &sack); in sctp_make_sack()
826 sctp_addto_chunk(retval, sizeof(__u32) * num_gabs, in sctp_make_sack()
832 sctp_addto_chunk(retval, sizeof(__u32) * num_dup_tsns, in sctp_make_sack()
870 sctp_addto_chunk(retval, sizeof(shut), &shut); in sctp_make_shutdown()
989 sctp_addto_chunk(retval, sizeof(payload), (const void *)&payload); in sctp_make_abort_no_data()
1033 sctp_addto_chunk(retval, paylen, payload); in sctp_make_abort_user()
1092 sctp_addto_chunk(retval, paylen, payload); in sctp_make_abort_violation()
1115 sctp_addto_chunk(retval, sizeof(error), error); in sctp_make_violation_paramlen()
1135 sctp_addto_chunk(retval, sizeof(error), error); in sctp_make_violation_max_retrans()
1155 sctp_addto_chunk(retval, sizeof(nep), &nep); in sctp_make_new_encap_port()
1186 retval->subh.hbs_hdr = sctp_addto_chunk(retval, sizeof(hbinfo), in sctp_make_heartbeat()
1206 retval->subh.hbs_hdr = sctp_addto_chunk(retval, paylen, payload); in sctp_make_heartbeat_ack()
1318 sctp_addto_chunk(retval, paylen, payload); in sctp_make_op_error()
1347 retval->subh.auth_hdr = sctp_addto_chunk(retval, sizeof(auth_hdr), in sctp_make_auth()
1536 void *sctp_addto_chunk(struct sctp_chunk *chunk, int len, const void *data) in sctp_addto_chunk() function
1944 sctp_addto_chunk(*errp, sizeof(report), &report); in sctp_process_missing_param()
2145 sctp_addto_chunk(*errp, ntohs(param.p->length), in sctp_process_unk_param()
2830 sctp_addto_chunk(retval, sizeof(asconf), &asconf); in sctp_make_asconf()
2832 sctp_addto_chunk(retval, addrlen, &addrparam); in sctp_make_asconf()
2915 sctp_addto_chunk(retval, paramlen, &param); in sctp_make_asconf_update_ip()
2916 sctp_addto_chunk(retval, addr_param_len, &addr_param); in sctp_make_asconf_update_ip()
2928 sctp_addto_chunk(retval, paramlen, &param); in sctp_make_asconf_update_ip()
2929 sctp_addto_chunk(retval, addr_param_len, &addr_param); in sctp_make_asconf_update_ip()
2972 sctp_addto_chunk(retval, sizeof(param), &param); in sctp_make_asconf_set_prim()
2973 sctp_addto_chunk(retval, addrlen, &addrparam); in sctp_make_asconf_set_prim()
3013 sctp_addto_chunk(retval, sizeof(asconf), &asconf); in sctp_make_asconf_ack()
3045 sctp_addto_chunk(chunk, sizeof(ack_param), &ack_param); in sctp_add_asconf_response()
3053 sctp_addto_chunk(chunk, err_param_len, &err_param); in sctp_add_asconf_response()
3057 sctp_addto_chunk(chunk, asconf_param_len, asconf_param); in sctp_add_asconf_response()
3585 sctp_addto_chunk(retval, sizeof(ftsn_hdr), &ftsn_hdr); in sctp_make_fwdtsn()
3590 sctp_addto_chunk(retval, sizeof(skip), &skip); in sctp_make_fwdtsn()
3613 sctp_addto_chunk(retval, sizeof(ftsn_hdr), &ftsn_hdr); in sctp_make_ifwdtsn()
3615 sctp_addto_chunk(retval, nstreams * sizeof(skiplist[0]), skiplist); in sctp_make_ifwdtsn()
3711 sctp_addto_chunk(retval, sizeof(outreq), &outreq); in sctp_make_strreset_req()
3714 sctp_addto_chunk(retval, stream_len, stream_list); in sctp_make_strreset_req()
3722 sctp_addto_chunk(retval, sizeof(inreq), &inreq); in sctp_make_strreset_req()
3725 sctp_addto_chunk(retval, stream_len, stream_list); in sctp_make_strreset_req()
3755 sctp_addto_chunk(retval, sizeof(tsnreq), &tsnreq); in sctp_make_strreset_tsnreq()
3790 sctp_addto_chunk(retval, size, &addstrm); in sctp_make_strreset_addstrm()
3800 sctp_addto_chunk(retval, size, &addstrm); in sctp_make_strreset_addstrm()
3833 sctp_addto_chunk(retval, sizeof(resp), &resp); in sctp_make_strreset_resp()
3874 sctp_addto_chunk(retval, sizeof(tsnresp), &tsnresp); in sctp_make_strreset_tsnresp()