Lines Matching refs:param_hdr
325 retval->param_hdr.v = in sctp_make_init()
335 sat.param_hdr.type = SCTP_PARAM_SUPPORTED_ADDRESS_TYPES; in sctp_make_init()
336 sat.param_hdr.length = htons(SCTP_SAT_LEN(num_types)); in sctp_make_init()
347 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init()
348 ext_param.param_hdr.length = htons(sizeof(ext_param) + num_ext); in sctp_make_init()
357 aiparam.param_hdr.type = SCTP_PARAM_ADAPTATION_LAYER_IND; in sctp_make_init()
358 aiparam.param_hdr.length = htons(sizeof(aiparam)); in sctp_make_init()
492 retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init_ack()
497 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init_ack()
498 ext_param.param_hdr.length = htons(sizeof(ext_param) + num_ext); in sctp_make_init_ack()
506 aiparam.param_hdr.type = SCTP_PARAM_ADAPTATION_LAYER_IND; in sctp_make_init_ack()
507 aiparam.param_hdr.length = htons(sizeof(aiparam)); in sctp_make_init_ack()
1158 hbinfo.param_hdr.type = SCTP_PARAM_HEARTBEAT_INFO; in sctp_make_heartbeat()
1159 hbinfo.param_hdr.length = htons(sizeof(hbinfo)); in sctp_make_heartbeat()
2785 retval->param_hdr.v = in sctp_make_asconf()
2865 param.param_hdr.type = flags; in sctp_make_asconf_update_ip()
2866 param.param_hdr.length = htons(paramlen + addr_param_len); in sctp_make_asconf_update_ip()
2878 param.param_hdr.type = SCTP_PARAM_DEL_IP; in sctp_make_asconf_update_ip()
2879 param.param_hdr.length = htons(paramlen + addr_param_len); in sctp_make_asconf_update_ip()
2922 param.param_hdr.type = SCTP_PARAM_SET_PRIMARY; in sctp_make_asconf_set_prim()
2923 param.param_hdr.length = htons(len); in sctp_make_asconf_set_prim()
2990 ntohs(asconf_param->param_hdr.length); in sctp_add_asconf_response()
2994 ack_param.param_hdr.type = response_type; in sctp_add_asconf_response()
2995 ack_param.param_hdr.length = htons(sizeof(ack_param) + in sctp_add_asconf_response()
3026 if (asconf_param->param_hdr.type != SCTP_PARAM_ADD_IP && in sctp_process_asconf_param()
3027 asconf_param->param_hdr.type != SCTP_PARAM_DEL_IP && in sctp_process_asconf_param()
3028 asconf_param->param_hdr.type != SCTP_PARAM_SET_PRIMARY) in sctp_process_asconf_param()
3059 switch (asconf_param->param_hdr.type) { in sctp_process_asconf_param()
3197 length = ntohs(param.addip->param_hdr.length); in sctp_verify_asconf()
3329 switch (asconf_param->param_hdr.type) { in sctp_asconf_param_success()
3401 switch (asconf_ack_param->param_hdr.type) { in sctp_get_asconf_response()
3418 length = ntohs(asconf_ack_param->param_hdr.length); in sctp_get_asconf_response()
3488 asconf_param->param_hdr.type; in sctp_process_asconf_ack()
3501 length = ntohs(asconf_param->param_hdr.length); in sctp_process_asconf_ack()
3601 retval->param_hdr.v = reconf->params; in sctp_make_reconf()
3659 outreq.param_hdr.type = SCTP_PARAM_RESET_OUT_REQUEST; in sctp_make_strreset_req()
3660 outreq.param_hdr.length = htons(outlen); in sctp_make_strreset_req()
3672 inreq.param_hdr.type = SCTP_PARAM_RESET_IN_REQUEST; in sctp_make_strreset_req()
3673 inreq.param_hdr.length = htons(inlen); in sctp_make_strreset_req()
3705 tsnreq.param_hdr.type = SCTP_PARAM_RESET_TSN_REQUEST; in sctp_make_strreset_tsnreq()
3706 tsnreq.param_hdr.length = htons(length); in sctp_make_strreset_tsnreq()
3738 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_OUT_STREAMS; in sctp_make_strreset_addstrm()
3739 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
3748 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_IN_STREAMS; in sctp_make_strreset_addstrm()
3749 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
3782 resp.param_hdr.type = SCTP_PARAM_RESET_RESPONSE; in sctp_make_strreset_resp()
3783 resp.param_hdr.length = htons(length); in sctp_make_strreset_resp()
3820 tsnresp.param_hdr.type = SCTP_PARAM_RESET_RESPONSE; in sctp_make_strreset_tsnresp()
3821 tsnresp.param_hdr.length = htons(length); in sctp_make_strreset_tsnresp()