Home
last modified time | relevance | path

Searched refs:chunk_length (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/sys/netinet/libalias/
H A Dalias_sctp.c1029 int chunk_length; in sctp_PktParser() local
1068 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); in sctp_PktParser()
1099 sm->chunk_length = chunk_length; in sctp_PktParser()
1121 sm->chunk_length = chunk_length; in sctp_PktParser()
1125 sm->chunk_length = chunk_length; in sctp_PktParser()
1132 sm->chunk_length = chunk_length; in sctp_PktParser()
1138 sm->chunk_length = chunk_length; in sctp_PktParser()
1188 sm->chunk_length = chunk_length - sizeof(struct sctp_asconf_ack_chunk); in sctp_PktParser()
1200 bytes_left-= chunk_length; in sctp_PktParser()
1213 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); in sctp_PktParser()
[all …]
H A Dalias_sctp.h180 int chunk_length; /**< length of chunk of interest */ member
/freebsd-12.1/sys/netinet/
H A Dsctp_asconf.c628 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_chunk)) { in sctp_handle_asconf()
631 ntohs(cp->ch.chunk_length)); in sctp_handle_asconf()
652 asconf_limit = offset + ntohs(cp->ch.chunk_length); in sctp_handle_asconf()
690 ack_cp->ch.chunk_length = sizeof(struct sctp_asconf_ack_chunk); in sctp_handle_asconf()
788 ack_cp->ch.chunk_length += SCTP_BUF_LEN(m_result); in sctp_handle_asconf()
810 ack_cp->ch.chunk_length = htons(ack_cp->ch.chunk_length); in sctp_handle_asconf()
1686 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_ack_chunk)) { in sctp_handle_asconf_ack()
1689 ntohs(cp->ch.chunk_length)); in sctp_handle_asconf_ack()
1733 ack_length = ntohs(cp->ch.chunk_length) - in sctp_handle_asconf_ack()
2374 asconf_limit = ntohs(acp->ch.chunk_length); in sctp_is_addr_pending()
[all …]
H A Dsctp_input.c156 offset + ntohs(cp->ch.chunk_length))) { in sctp_handle_init()
796 len = ntohs(abort->ch.chunk_length); in sctp_handle_abort()
2485 cookie_len = ntohs(cp->ch.chunk_length); in sctp_handle_cookie_echo()
3075 len = ntohs(cp->ch.chunk_length); in sctp_handle_ecn_echo()
4247 ch->chunk_length = htons(chk->send_size); in sctp_handle_stream_reset()
4383 chlen = ntohs(cp->ch.chunk_length); in sctp_handle_packet_dropped()
4405 at = ntohs(ch->chunk_length); in sctp_handle_packet_dropped()
4575 ntohs(ch->chunk_length)); in sctp_process_control()
4586 ntohs(ch->chunk_length), vtag_in); in sctp_process_control()
4607 auth_len = ntohs(ch->chunk_length); in sctp_process_control()
[all …]
H A Dsctp_output.c4747 init->ch.chunk_length = 0; in sctp_send_initiate()
4944 init->ch.chunk_length = htons(chunk_len); in sctp_send_initiate()
5852 initack->ch.chunk_length = 0; in sctp_send_initiate_ack()
8963 uint32_t chunk_length; in sctp_queue_op_err() local
8972 chunk_length = 0; in sctp_queue_op_err()
8974 chunk_length += SCTP_BUF_LEN(mat); in sctp_queue_op_err()
8983 padding_length = chunk_length % 4; in sctp_queue_op_err()
9003 chk->send_size = (uint16_t)chunk_length; in sctp_queue_op_err()
11571 chk_length = ntohs(ch->chunk_length); in sctp_send_packet_dropped()
11803 ch->chunk_length = htons(len + old_len); in sctp_add_stream_reset_out()
[all …]
H A Dsctp.h64 uint16_t chunk_length; /* chunk length */ member
H A Dsctputil.c2722 abort_len = ntohs(abort->ch.chunk_length); in sctp_notify_assoc_change()
2999 chk_len = ntohs(chkhdr->chunk_length); in sctp_notify_send_failed()
3640 chunk_len = ntohs(chunk->ch.chunk_length); in sctp_notify_remote_error()
4201 chk_length = ntohs(ch->chunk_length); in sctp_handle_ootb()
4259 chk_length = ntohs(ch->chunk_length); in sctp_is_there_an_abort_here()
H A Dsctp_auth.c1614 chunklen = ntohs(auth->ch.chunk_length); in sctp_handle_auth()
H A Dsctp_indata.c2756 chk_length = ntohs(ch->chunk_length); in sctp_process_data()
5586 if ((fwd_sz = ntohs(fwd->ch.chunk_length)) < sizeof(struct sctp_forward_tsn_chunk)) { in sctp_handle_forward_tsn()
/freebsd-12.1/usr.sbin/traceroute6/
H A Dtraceroute6.c1103 init->ch.chunk_length = htons((u_int16_t)(datalen - in send_probe()
1131 chk->chunk_length = htons(4); in send_probe()
1138 chk->chunk_length = htons((u_int16_t)(datalen - in send_probe()
/freebsd-12.1/contrib/traceroute/
H A Dtraceroute.c1598 init->ch.chunk_length = htons((u_int16_t)(protlen - in sctp_prep()
1627 chk->chunk_length = htons(4); in sctp_prep()
1635 chk->chunk_length = htons(protlen - in sctp_prep()
/freebsd-12.1/sys/netpfil/ipfw/
H A Dip_fw2.c596 chunk->chunk_length = htons(sizeof(struct sctp_chunkhdr)); in ipfw_send_abort()
920 ntohs(chunk->chunk_length) + 3) { in send_reject6()
1039 ntohs(chunk->chunk_length) + 3) { in send_reject()