MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sctp_send_abort

Function sctp_send_abort

freebsd/netinet/sctp_output.c:12250–12266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12248}
12249
12250void
12251sctp_send_abort(struct mbuf *m, int iphlen, struct sockaddr *src, struct sockaddr *dst,
12252 struct sctphdr *sh, uint32_t vtag, struct mbuf *cause,
12253 uint8_t mflowtype, uint32_t mflowid, uint16_t fibnum,
12254 uint32_t vrf_id, uint16_t port)
12255{
12256 /* Don't respond to an ABORT with an ABORT. */
12257 if (sctp_is_there_an_abort_here(m, iphlen, &vtag)) {
12258 if (cause)
12259 sctp_m_freem(cause);
12260 return;
12261 }
12262 sctp_send_resp_msg(src, dst, sh, vtag, SCTP_ABORT_ASSOCIATION, cause,
12263 mflowtype, mflowid, fibnum,
12264 vrf_id, port);
12265 return;
12266}
12267
12268void
12269sctp_send_operr_to(struct sockaddr *src, struct sockaddr *dst,

Callers 6

sctp_send_initiate_ackFunction · 0.85
sctp_handle_initFunction · 0.85
sctp_abort_associationFunction · 0.85
sctp_handle_ootbFunction · 0.85

Calls 3

sctp_m_freemFunction · 0.85
sctp_send_resp_msgFunction · 0.85

Tested by

no test coverage detected