Lines Matching defs:errp
1744 int *error, struct sctp_chunk **errp)
1848 *errp = sctp_make_op_error(asoc, chunk,
1851 if (*errp)
1926 struct sctp_chunk **errp)
1936 if (!*errp)
1937 *errp = sctp_make_op_error_space(asoc, chunk, len);
1939 if (*errp) {
1942 sctp_init_cause(*errp, SCTP_ERROR_MISS_PARAM,
1944 sctp_addto_chunk(*errp, sizeof(report), &report);
1954 struct sctp_chunk **errp)
1958 if (!*errp)
1959 *errp = sctp_make_op_error_space(asoc, chunk, 0);
1961 if (*errp)
1962 sctp_init_cause(*errp, SCTP_ERROR_INV_PARAM, 0);
1971 struct sctp_chunk **errp)
1976 if (*errp)
1977 sctp_chunk_free(*errp);
1980 *errp = sctp_make_violation_paramlen(asoc, chunk, param);
1992 struct sctp_chunk **errp)
2001 if (*errp)
2002 sctp_chunk_free(*errp);
2004 *errp = sctp_make_op_error(asoc, chunk, SCTP_ERROR_DNS_FAILED,
2113 struct sctp_chunk **errp)
2130 if (!*errp) {
2131 *errp = sctp_make_op_error_limited(asoc, chunk);
2132 if (!*errp) {
2143 if (!sctp_init_cause(*errp, SCTP_ERROR_UNKNOWN_PARAM,
2145 sctp_addto_chunk(*errp, ntohs(param.p->length),
2293 struct sctp_chunk *chunk, struct sctp_chunk **errp)
2307 return sctp_process_inv_mandatory(asoc, chunk, errp);
2322 return sctp_process_inv_paramlength(asoc, param.p, chunk, errp);
2329 chunk, errp);
2334 chunk, errp);
3198 struct sctp_paramhdr **errp)
3208 *errp = param.p;
3237 sizeof(**errp))
3873 struct sctp_paramhdr **errp)
3884 *errp = param.p;