| 759 | } |
| 760 | |
| 761 | static int |
| 762 | sctp_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 */ |
| 778 | static int |
no test coverage detected