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

Function sctp_process_unrecog_chunk

freebsd/netinet/sctp_input.c:1038–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036}
1037
1038static void
1039sctp_process_unrecog_chunk(struct sctp_tcb *stcb, uint8_t chunk_type)
1040{
1041 switch (chunk_type) {
1042 case SCTP_ASCONF_ACK:
1043 case SCTP_ASCONF:
1044 sctp_asconf_cleanup(stcb);
1045 break;
1046 case SCTP_IFORWARD_CUM_TSN:
1047 case SCTP_FORWARD_CUM_TSN:
1048 stcb->asoc.prsctp_supported = 0;
1049 break;
1050 default:
1051 SCTPDBG(SCTP_DEBUG_INPUT2,
1052 "Peer does not support chunk type %d (0x%x).\n",
1053 chunk_type, chunk_type);
1054 break;
1055 }
1056}
1057
1058/*
1059 * Skip past the param header and then we will find the param that caused the

Callers 1

sctp_handle_errorFunction · 0.85

Calls 1

sctp_asconf_cleanupFunction · 0.85

Tested by

no test coverage detected