Lines Matching refs:sctp_init_cause
143 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause_code, in sctp_init_cause() function
988 sctp_init_cause(retval, SCTP_ERROR_NO_DATA, sizeof(payload)); in sctp_make_abort_no_data()
1032 sctp_init_cause(retval, SCTP_ERROR_USER_ABORT, paylen); in sctp_make_abort_user()
1087 sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, paylen + in sctp_make_abort_violation()
1113 sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, in sctp_make_violation_paramlen()
1134 sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, sizeof(error)); in sctp_make_violation_max_retrans()
1152 sctp_init_cause(retval, SCTP_ERROR_NEW_ENCAP_PORT, sizeof(nep)); in sctp_make_new_encap_port()
1317 sctp_init_cause(retval, cause_code, paylen + reserve_tail); in sctp_make_op_error()
1942 sctp_init_cause(*errp, SCTP_ERROR_MISS_PARAM, in sctp_process_missing_param()
1962 sctp_init_cause(*errp, SCTP_ERROR_INV_PARAM, 0); in sctp_process_inv_mandatory()
2143 if (!sctp_init_cause(*errp, SCTP_ERROR_UNKNOWN_PARAM, in sctp_process_unk_param()