Searched refs:chunk_type (Results 1 – 19 of 19) sorted by relevance
1000 sctp_process_unrecog_chunk(struct sctp_tcb *stcb, uint8_t chunk_type) in sctp_process_unrecog_chunk() argument1002 switch (chunk_type) { in sctp_process_unrecog_chunk()1014 chunk_type, chunk_type); in sctp_process_unrecog_chunk()1187 sctp_process_unrecog_chunk(stcb, unrec_chunk->ch.chunk_type); in sctp_handle_error()1411 if (init_cp->ch.chunk_type != SCTP_INITIATION) { in sctp_process_cookie_existing()1428 if (initack_cp->ch.chunk_type != SCTP_INITIATION_ACK) { in sctp_process_cookie_existing()1988 if (init_cp->ch.chunk_type != SCTP_INITIATION) { in sctp_process_cookie_new()2005 if (initack_cp->ch.chunk_type != SCTP_INITIATION_ACK) { in sctp_process_cookie_new()3055 switch (desc->chunk_type) { in process_chunk_drop()3548 fwdtsn.ch.chunk_type = SCTP_FORWARD_CUM_TSN; in sctp_handle_stream_reset_response()[all …]
381 #define IS_SCTP_CONTROL(a) (((a)->chunk_type != SCTP_DATA) && ((a)->chunk_type != SCTP_IDATA))382 #define IS_SCTP_DATA(a) (((a)->chunk_type == SCTP_DATA) || ((a)->chunk_type == SCTP_IDATA))
57 uint8_t chunk_type; /* chunk type */ member
2720 (ch->chunk_type == SCTP_DATA)) { in sctp_process_data()2731 (ch->chunk_type == SCTP_IDATA)) { in sctp_process_data()2741 if ((ch->chunk_type == SCTP_DATA) || in sctp_process_data()2742 (ch->chunk_type == SCTP_IDATA)) { in sctp_process_data()2745 if (ch->chunk_type == SCTP_DATA) { in sctp_process_data()2759 ch->chunk_type == SCTP_DATA ? "DATA" : "I-DATA", in sctp_process_data()2776 last_chunk, ch->chunk_type)) { in sctp_process_data()2792 switch (ch->chunk_type) { in sctp_process_data()2830 ch->chunk_type); in sctp_process_data()2854 if (ch->chunk_type & 0x40) { in sctp_process_data()[all …]
400 uint8_t chunk_type; member
4677 init->ch.chunk_type = SCTP_INITIATION; in sctp_send_initiate()5846 initack->ch.chunk_type = SCTP_INITIATION_ACK; in sctp_send_initiate_ack()7622 dchkh->ch.chunk_type = SCTP_DATA; in sctp_move_to_outqueue()7630 ndchkh->ch.chunk_type = SCTP_IDATA; in sctp_move_to_outqueue()9008 hdr->chunk_type = SCTP_OPERATION_ERROR; in sctp_queue_op_err()9078 hdr->chunk_type = SCTP_COOKIE_ECHO; in sctp_send_cookie_echo()9132 chdr->chunk_type = SCTP_HEARTBEAT_ACK; in sctp_send_heartbeat_ack()9196 hdr->chunk_type = SCTP_COOKIE_ACK; in sctp_send_cookie_ack()9239 ack_cp->ch.chunk_type = SCTP_SHUTDOWN_ACK; in sctp_send_shutdown_ack()9293 shutdown_cp->ch.chunk_type = SCTP_SHUTDOWN; in sctp_send_shutdown()[all …]
4570 switch (ch->chunk_type) { in sctp_handle_ootb()4629 if (ch->chunk_type == SCTP_ABORT_ASSOCIATION) { in sctp_is_there_an_abort_here()4633 if ((ch->chunk_type == SCTP_INITIATION) || in sctp_is_there_an_abort_here()4634 (ch->chunk_type == SCTP_INITIATION_ACK)) { in sctp_is_there_an_abort_here()7289 if ((ch->ch.chunk_type != SCTP_INITIATION) || in sctp_recv_icmp_tunneled_packet()7415 uint8_t chunk_type; in sctp_recv_icmp6_tunneled_packet() local7422 (caddr_t)&chunk_type); in sctp_recv_icmp6_tunneled_packet()7430 if ((chunk_type != SCTP_INITIATION) || in sctp_recv_icmp6_tunneled_packet()
312 if (ch->chunk_type == SCTP_INITIATION) { in icmp_error()
679 ack_cp->ch.chunk_type = SCTP_ASCONF_ACK; in sctp_handle_asconf()2617 acp->ch.chunk_type = SCTP_ASCONF; in sctp_compose_asconf()
2126 if ((ch->chunk_type == SCTP_INITIATION) || in sctp_findassociation_addr()2127 (ch->chunk_type == SCTP_INITIATION_ACK)) { in sctp_findassociation_addr()
321 if ((ch->ch.chunk_type != SCTP_INITIATION) || in sctp_ctlinput()
248 enum diff_chunk_type chunk_type = diff_chunk_type(c); in diff_output_trailing_newline_msg() local256 if (chunk_type == CHUNK_MINUS || chunk_type == CHUNK_SAME) { in diff_output_trailing_newline_msg()259 } else if (chunk_type == CHUNK_PLUS) { in diff_output_trailing_newline_msg()
325 uint8_t chunk_type; in sctp6_ctlinput() local331 (caddr_t)&chunk_type); in sctp6_ctlinput()338 if ((chunk_type != SCTP_INITIATION) || in sctp6_ctlinput()
1170 init->ch.chunk_type = SCTP_INITIATION; in send_probe()1198 chk->chunk_type = SCTP_SHUTDOWN_ACK; in send_probe()1205 chk->chunk_type = SCTP_PAD_CHUNK; in send_probe()
1544 init->ch.chunk_type = SCTP_INITIATION; in sctp_prep()1573 chk->chunk_type = SCTP_SHUTDOWN_ACK; in sctp_prep()1581 chk->chunk_type = SCTP_PAD_CHUNK; in sctp_prep()
965 chunk_hdr->chunk_type = (sndrply & SN_TX_ABORT) ? SCTP_ABORT_ASSOCIATION : SCTP_OPERATION_ERROR; in TxAbortErrorM()1104 ((chunk_hdr->chunk_type == SCTP_ABORT_ASSOCIATION) || in sctp_PktParser()1105 (chunk_hdr->chunk_type == SCTP_SHUTDOWN_COMPLETE))) { in sctp_PktParser()1122 switch (chunk_hdr->chunk_type) { in sctp_PktParser()
2035 switch (ch.chunk_type) { in pf_scan_sctp()2061 if (ch.chunk_type == SCTP_INITIATION && in pf_scan_sctp()2067 if (ch.chunk_type == SCTP_INITIATION) in pf_scan_sctp()
4681 chunk->chunk_type = SCTP_ABORT_ASSOCIATION; in pf_send_sctp_abort()
608 chunk->chunk_type = SCTP_ABORT_ASSOCIATION; in ipfw_send_abort()926 switch (chunk->chunk_type) { in send_reject6()1044 switch (chunk->chunk_type) { in send_reject()