Home
last modified time | relevance | path

Searched refs:op_err (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/netinet/
H A Dsctp_input.c91 struct mbuf *op_err; in sctp_handle_init() local
107 op_err = sctp_generate_cause(SCTP_CAUSE_INVALID_PARAM, ""); in sctp_handle_init()
108 sctp_send_abort(m, iphlen, src, dst, sh, init->initiate_tag, op_err, in sctp_handle_init()
116 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_handle_init()
118 sctp_send_abort(m, iphlen, src, dst, sh, init->initiate_tag, op_err, in sctp_handle_init()
141 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_handle_init()
143 sctp_send_abort(m, iphlen, src, dst, sh, 0, op_err, in sctp_handle_init()
397 struct mbuf *op_err; in sctp_process_init_ack() local
406 op_err = sctp_arethere_unrecognized_parameters(m, in sctp_process_init_ack()
413 src, dst, sh, op_err, in sctp_process_init_ack()
[all …]
H A Dsctp_indata.c503 struct mbuf *op_err; in sctp_queue_data_to_stream() local
531 op_err = sctp_generate_cause(SCTP_CAUSE_PROTOCOL_VIOLATION, msg); in sctp_queue_data_to_stream()
533 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, false, SCTP_SO_NOT_LOCKED); in sctp_queue_data_to_stream()
621 op_err = sctp_generate_cause(SCTP_CAUSE_PROTOCOL_VIOLATION, msg); in sctp_queue_data_to_stream()
623 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, false, SCTP_SO_NOT_LOCKED); in sctp_queue_data_to_stream()
1689 struct mbuf *op_err; in sctp_process_a_data_chunk() local
1733 op_err = sctp_generate_no_user_data_cause(tsn); in sctp_process_a_data_chunk()
1735 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, false, SCTP_SO_NOT_LOCKED); in sctp_process_a_data_chunk()
1800 op_err = sctp_generate_cause(SCTP_CAUSE_OUT_OF_RESC, ""); in sctp_process_a_data_chunk()
1801 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, false, SCTP_SO_NOT_LOCKED); in sctp_process_a_data_chunk()
[all …]
H A Dsctp_output.c4940 struct mbuf *mat, *m_tmp, *op_err, *op_err_last; in sctp_arethere_unrecognized_parameters() local
4954 op_err = NULL; in sctp_arethere_unrecognized_parameters()
5105 sctp_m_freem(op_err); in sctp_arethere_unrecognized_parameters()
5106 op_err = NULL; in sctp_arethere_unrecognized_parameters()
5115 op_err = sctp_get_mbuf_for_msg(l_len, 0, M_NOWAIT, 1, MT_DATA); in sctp_arethere_unrecognized_parameters()
5116 if (op_err != NULL) { in sctp_arethere_unrecognized_parameters()
5122 SCTP_BUF_RESV_UF(op_err, sizeof(struct ip6_hdr)); in sctp_arethere_unrecognized_parameters()
5124 SCTP_BUF_RESV_UF(op_err, sizeof(struct ip)); in sctp_arethere_unrecognized_parameters()
5126 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctphdr)); in sctp_arethere_unrecognized_parameters()
5127 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctp_chunkhdr)); in sctp_arethere_unrecognized_parameters()
[all …]
H A Dsctp_timer.c149 struct mbuf *op_err; in sctp_threshold_management() local
151 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_threshold_management()
154 sctp_abort_an_association(inp, stcb, op_err, true, SCTP_SO_NOT_LOCKED); in sctp_threshold_management()
1065 struct mbuf *op_err; in sctp_cookie_timer() local
1067 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_cookie_timer()
1070 sctp_abort_an_association(inp, stcb, op_err, false, SCTP_SO_NOT_LOCKED); in sctp_cookie_timer()
H A Dsctp_auth.c1615 struct mbuf *op_err; in sctp_handle_auth() local
1626 op_err = sctp_get_mbuf_for_msg(sizeof(struct sctp_error_auth_invalid_hmac), in sctp_handle_auth()
1628 if (op_err != NULL) { in sctp_handle_auth()
1630 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctp_chunkhdr)); in sctp_handle_auth()
1632 cause = mtod(op_err, struct sctp_error_auth_invalid_hmac *); in sctp_handle_auth()
1636 SCTP_BUF_LEN(op_err) = sizeof(struct sctp_error_auth_invalid_hmac); in sctp_handle_auth()
1638 sctp_queue_op_err(stcb, op_err); in sctp_handle_auth()
H A Dsctp_pcb.c3284 struct mbuf *op_err; in sctp_inpcb_free() local
3286 op_err = sctp_generate_cause(SCTP_CAUSE_USER_INITIATED_ABT, ""); in sctp_inpcb_free()
3288 sctp_send_abort_tcb(stcb, op_err, SCTP_SO_LOCKED); in sctp_inpcb_free()
3339 struct mbuf *op_err; in sctp_inpcb_free() local
3342 op_err = sctp_generate_cause(SCTP_CAUSE_USER_INITIATED_ABT, ""); in sctp_inpcb_free()
3344 sctp_send_abort_tcb(stcb, op_err, SCTP_SO_LOCKED); in sctp_inpcb_free()
3409 struct mbuf *op_err; in sctp_inpcb_free() local
3411 op_err = sctp_generate_cause(SCTP_CAUSE_USER_INITIATED_ABT, ""); in sctp_inpcb_free()
3413 sctp_send_abort_tcb(stcb, op_err, SCTP_SO_LOCKED); in sctp_inpcb_free()
6060 struct mbuf *op_err; in sctp_load_addresses_from_init() local
[all …]
H A Dsctp_usrreq.c686 struct mbuf *op_err; in sctp_disconnect() local
688 op_err = sctp_generate_cause(SCTP_CAUSE_USER_INITIATED_ABT, ""); in sctp_disconnect()
689 sctp_send_abort_tcb(stcb, op_err, SCTP_SO_LOCKED); in sctp_disconnect()
750 struct mbuf *op_err; in sctp_disconnect() local
753 op_err = sctp_generate_cause(SCTP_CAUSE_USER_INITIATED_ABT, ""); in sctp_disconnect()
755 sctp_send_abort_tcb(stcb, op_err, SCTP_SO_LOCKED); in sctp_disconnect()
786 struct mbuf *m, *op_err; in sctp_shutdown() local
858 op_err = sctp_generate_cause(SCTP_CAUSE_OUT_OF_RESC, in sctp_shutdown()
861 sctp_abort_an_association(inp, stcb, op_err, false, in sctp_shutdown()
946 struct mbuf *op_err; in sctp_shutdown() local
[all …]
H A Dsctputil.c1726 struct mbuf *op_err; in sctp_timeout_handler() local
2007 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_timeout_handler()
2009 sctp_abort_an_association(inp, stcb, op_err, true, SCTP_SO_NOT_LOCKED); in sctp_timeout_handler()
4398 struct sctphdr *sh, struct mbuf *op_err, in sctp_abort_association() argument
4409 if (op_err != NULL) { in sctp_abort_association()
4411 cause = mtod(op_err, struct sctp_gen_error_cause *); in sctp_abort_association()
4419 sctp_send_abort(m, iphlen, src, dst, sh, vtag, op_err, in sctp_abort_association()
4500 struct mbuf *op_err, bool timedout, int so_locked) in sctp_abort_an_association() argument
4515 if (op_err != NULL) { in sctp_abort_an_association()
4517 cause = mtod(op_err, struct sctp_gen_error_cause *); in sctp_abort_an_association()
[all …]
H A Dsctp_asconf.c1698 struct mbuf *op_err; in sctp_handle_asconf_ack() local
1703 op_err = sctp_generate_cause(SCTP_CAUSE_PROTOCOL_VIOLATION, msg); in sctp_handle_asconf_ack()
1704 sctp_abort_an_association(stcb->sctp_ep, stcb, op_err, false, SCTP_SO_NOT_LOCKED); in sctp_handle_asconf_ack()