Home
last modified time | relevance | path

Searched refs:chunk_type (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/sys/netinet/
H A Dsctp_input.c1002 switch (chunk_type) { in sctp_process_unrecog_chunk()
1014 chunk_type, chunk_type); in sctp_process_unrecog_chunk()
3055 switch (desc->chunk_type) { in process_chunk_drop()
4000 ch->chunk_type = SCTP_STREAM_RESET; in sctp_handle_stream_reset()
4172 desc.chunk_type = chk_hdr->chunk_type; in sctp_handle_packet_dropped()
4179 if (desc.chunk_type == SCTP_DATA) { in sctp_handle_packet_dropped()
4520 ch->chunk_type, chk_length); in sctp_process_control()
4533 switch (ch->chunk_type) { in sctp_process_control()
4577 switch (ch->chunk_type) { in sctp_process_control()
5186 if ((ch->chunk_type & 0x40) && in sctp_process_control()
[all …]
H A Dsctp_constants.h381 #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 Dsctp.h58 uint8_t chunk_type; /* chunk type */ member
H A Dsctp_indata.c2720 (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 Dsctp_header.h400 uint8_t chunk_type; member
H A Dsctp_output.c7624 dchkh->ch.chunk_type = SCTP_DATA; in sctp_move_to_outqueue()
9080 hdr->chunk_type = SCTP_COOKIE_ECHO; in sctp_send_cookie_echo()
9198 hdr->chunk_type = SCTP_COOKIE_ACK; in sctp_send_cookie_ack()
10910 sack->ch.chunk_type = type; in sctp_send_sack()
10924 nr_sack->ch.chunk_type = type; in sctp_send_sack()
11272 ch->chunk_type = type; in sctp_send_resp_msg()
11591 switch (ch->chunk_type) { in sctp_send_packet_dropped()
11745 cwr->ch.chunk_type = SCTP_ECN_CWR; in sctp_send_cwr()
11973 ch->chunk_type = SCTP_STREAM_RESET; in sctp_send_deferred_reset_response()
12126 ch->chunk_type = SCTP_STREAM_RESET; in sctp_send_stream_reset_out_if_possible()
[all …]
H A Dsctputil.c4570 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()
7291 if ((ch->ch.chunk_type != SCTP_INITIATION) || in sctp_recv_icmp_tunneled_packet()
7417 uint8_t chunk_type; in sctp_recv_icmp6_tunneled_packet() local
7424 (caddr_t)&chunk_type); in sctp_recv_icmp6_tunneled_packet()
7432 if ((chunk_type != SCTP_INITIATION) || in sctp_recv_icmp6_tunneled_packet()
H A Dip_icmp.c315 if (ch->chunk_type == SCTP_INITIATION) { in icmp_error()
H A Dsctp_asconf.c679 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 Dsctp_pcb.c2111 if ((ch->chunk_type == SCTP_INITIATION) || in sctp_findassociation_addr()
2112 (ch->chunk_type == SCTP_INITIATION_ACK)) { in sctp_findassociation_addr()
H A Dsctp_usrreq.c321 if ((ch->ch.chunk_type != SCTP_INITIATION) || in sctp_ctlinput()
/freebsd-14.2/sys/netinet6/
H A Dsctp6_usrreq.c321 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-14.2/usr.sbin/traceroute6/
H A Dtraceroute6.c1178 init->ch.chunk_type = SCTP_INITIATION; in send_probe()
1206 chk->chunk_type = SCTP_SHUTDOWN_ACK; in send_probe()
1213 chk->chunk_type = SCTP_PAD_CHUNK; in send_probe()
/freebsd-14.2/contrib/traceroute/
H A Dtraceroute.c1621 init->ch.chunk_type = SCTP_INITIATION; in sctp_prep()
1650 chk->chunk_type = SCTP_SHUTDOWN_ACK; in sctp_prep()
1658 chk->chunk_type = SCTP_PAD_CHUNK; in sctp_prep()
/freebsd-14.2/sys/netinet/libalias/
H A Dalias_sctp.c965 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-14.2/sys/netpfil/pf/
H A Dpf_norm.c2074 switch (ch.chunk_type) { in pf_scan_sctp()
2100 if (ch.chunk_type == SCTP_INITIATION && in pf_scan_sctp()
2106 if (ch.chunk_type == SCTP_INITIATION) in pf_scan_sctp()
H A Dpf.c3349 chunk->chunk_type = SCTP_ABORT_ASSOCIATION; in pf_send_sctp_abort()
/freebsd-14.2/sys/netpfil/ipfw/
H A Dip_fw2.c605 chunk->chunk_type = SCTP_ABORT_ASSOCIATION; in ipfw_send_abort()
922 switch (chunk->chunk_type) { in send_reject6()
1049 switch (chunk->chunk_type) { in send_reject()