Lines Matching defs:errp
1699 int *error, struct sctp_chunk **errp)
1803 *errp = sctp_make_op_error(asoc, chunk,
1806 if (*errp)
1881 struct sctp_chunk **errp)
1891 if (!*errp)
1892 *errp = sctp_make_op_error_space(asoc, chunk, len);
1894 if (*errp) {
1897 sctp_init_cause(*errp, SCTP_ERROR_MISS_PARAM,
1899 sctp_addto_chunk(*errp, sizeof(report), &report);
1909 struct sctp_chunk **errp)
1913 if (!*errp)
1914 *errp = sctp_make_op_error_space(asoc, chunk, 0);
1916 if (*errp)
1917 sctp_init_cause(*errp, SCTP_ERROR_INV_PARAM, 0);
1926 struct sctp_chunk **errp)
1931 if (*errp)
1932 sctp_chunk_free(*errp);
1935 *errp = sctp_make_violation_paramlen(asoc, chunk, param);
1947 struct sctp_chunk **errp)
1956 if (*errp)
1957 sctp_chunk_free(*errp);
1959 *errp = sctp_make_op_error(asoc, chunk, SCTP_ERROR_DNS_FAILED,
2068 struct sctp_chunk **errp)
2085 if (!*errp) {
2086 *errp = sctp_make_op_error_limited(asoc, chunk);
2087 if (!*errp) {
2098 if (!sctp_init_cause(*errp, SCTP_ERROR_UNKNOWN_PARAM,
2100 sctp_addto_chunk(*errp, ntohs(param.p->length),
2248 struct sctp_chunk *chunk, struct sctp_chunk **errp)
2262 return sctp_process_inv_mandatory(asoc, chunk, errp);
2277 return sctp_process_inv_paramlength(asoc, param.p, chunk, errp);
2284 chunk, errp);
2289 chunk, errp);
3160 struct sctp_paramhdr **errp)
3170 *errp = param.p;
3199 sizeof(**errp))
3835 struct sctp_paramhdr **errp)
3846 *errp = param.p;