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

Function sctp_handle_nat_missing_state

freebsd/netinet/sctp_input.c:761–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759}
760
761static int
762sctp_handle_nat_missing_state(struct sctp_tcb *stcb,
763 struct sctp_nets *net)
764{
765 /*
766 * return 0 means we want you to proceed with the abort non-zero
767 * means no abort processing
768 */
769 if (stcb->asoc.auth_supported == 0) {
770 SCTPDBG(SCTP_DEBUG_INPUT2, "sctp_handle_nat_missing_state: Peer does not support AUTH, cannot send an asconf\n");
771 return (0);
772 }
773 sctp_asconf_send_nat_state_update(stcb, net);
774 return (1);
775}
776
777/* Returns 1 if the stcb was aborted, 0 otherwise */
778static int

Callers 2

sctp_handle_abortFunction · 0.85
sctp_handle_errorFunction · 0.85

Calls 1

Tested by

no test coverage detected