/freebsd/sys/netinet/ |
H A D | sctp_input.c | 1000 sctp_process_unrecog_chunk(struct sctp_tcb *stcb, uint8_t chunk_type) in sctp_process_unrecog_chunk() argument 1002 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 …]
|
H A D | sctp_constants.h | 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))
|
H A D | sctp.h | 57 uint8_t chunk_type; /* chunk type */ member
|
H A D | sctp_indata.c | 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 …]
|
H A D | sctp_output.c | 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 …]
|
H A D | sctp_header.h | 400 uint8_t chunk_type; member
|
H A D | sctputil.c | 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() local 7422 (caddr_t)&chunk_type); in sctp_recv_icmp6_tunneled_packet() 7430 if ((chunk_type != SCTP_INITIATION) || in sctp_recv_icmp6_tunneled_packet()
|
H A D | ip_icmp.c | 313 if (ch->chunk_type == SCTP_INITIATION) { in icmp_error()
|
H A D | sctp_asconf.c | 679 ack_cp->ch.chunk_type = SCTP_ASCONF_ACK; in sctp_handle_asconf() 2617 acp->ch.chunk_type = SCTP_ASCONF; in sctp_compose_asconf()
|
H A D | sctp_pcb.c | 2111 if ((ch->chunk_type == SCTP_INITIATION) || in sctp_findassociation_addr() 2112 (ch->chunk_type == SCTP_INITIATION_ACK)) { in sctp_findassociation_addr()
|
H A D | sctp_usrreq.c | 321 if ((ch->ch.chunk_type != SCTP_INITIATION) || in sctp_ctlinput()
|
/freebsd/contrib/libdiff/lib/ |
H A D | diff_output.c | 248 enum diff_chunk_type chunk_type = diff_chunk_type(c); in diff_output_trailing_newline_msg() local 256 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()
|
/freebsd/sys/netinet6/ |
H A D | sctp6_usrreq.c | 321 uint8_t chunk_type; in sctp6_ctlinput() local 327 (caddr_t)&chunk_type); in sctp6_ctlinput() 334 if ((chunk_type != SCTP_INITIATION) || in sctp6_ctlinput()
|
/freebsd/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1164 init->ch.chunk_type = SCTP_INITIATION; in send_probe() 1192 chk->chunk_type = SCTP_SHUTDOWN_ACK; in send_probe() 1199 chk->chunk_type = SCTP_PAD_CHUNK; in send_probe()
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 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()
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_sctp.c | 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()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_norm.c | 2008 switch (ch.chunk_type) { in pf_scan_sctp() 2034 if (ch.chunk_type == SCTP_INITIATION && in pf_scan_sctp() 2040 if (ch.chunk_type == SCTP_INITIATION) in pf_scan_sctp()
|
H A D | pf.c | 4191 chunk->chunk_type = SCTP_ABORT_ASSOCIATION; in pf_send_sctp_abort()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 607 chunk->chunk_type = SCTP_ABORT_ASSOCIATION; in ipfw_send_abort() 925 switch (chunk->chunk_type) { in send_reject6() 1043 switch (chunk->chunk_type) { in send_reject()
|