Home
last modified time | relevance | path

Searched refs:chk_length (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_input.c4746 uint32_t chk_length, contiguous; local
4968 chk_length = ntohs(ch->chunk_length);
4970 ch->chunk_type, chk_length);
4971 SCTP_LTRACE_CHK(inp, stcb, ch->chunk_type, chk_length);
4972 if (chk_length < sizeof(*ch) ||
4973 (*offset + (int)chk_length) > length) {
4991 contiguous = min(chk_length, sizeof(chunk_buf));
5035 (length - *offset > (int)SCTP_SIZE32(chk_length))) {
5044 if (chk_length > SCTP_LARGEST_INIT_ACCEPTED) {
5098 (length - *offset > (int)SCTP_SIZE32(chk_length))) {
[all …]
Dsctp_indata.c1714 struct mbuf **m, int offset, int chk_length, in sctp_process_a_data_chunk() argument
1765 if ((size_t)chk_length == clen) { in sctp_process_a_data_chunk()
2020 asoc->in_tsnlog[asoc->tsn_in_at].sz = chk_length; in sctp_process_a_data_chunk()
2062 the_len = (chk_length - sizeof(struct sctp_idata_chunk)); in sctp_process_a_data_chunk()
2064 the_len = (chk_length - sizeof(struct sctp_data_chunk)); in sctp_process_a_data_chunk()
2706 uint16_t chk_length; in sctp_process_data() local
2769 chk_length = ntohs(ch->chunk_length); in sctp_process_data()
2770 if (length - *offset < chk_length) { in sctp_process_data()
2806 if (chk_length < clen) { in sctp_process_data()
2816 chk_length); in sctp_process_data()
[all …]
Dsctputil.c4792 unsigned int chk_length; local
4813 chk_length = ntohs(ch->chunk_length);
4814 if (chk_length < sizeof(*ch)) {
4844 offset += SCTP_SIZE32(chk_length);
4869 unsigned int chk_length; local
4875 chk_length = ntohs(ch->chunk_length);
4876 if (chk_length < sizeof(*ch)) {
4894 offset += SCTP_SIZE32(chk_length);
Dsctp_output.c9626 int chk_length, argument
9640 outchain = SCTP_M_COPYM(m, offset, chk_length, M_NOWAIT);
9653 if (chk_length % 4 != 0) {
9654 sctp_pad_lastmbuf(outchain, 4 - (chk_length % 4), NULL);
9666 chk->send_size = chk_length;
12248 unsigned int chk_length; local
12279 chk_length = ntohs(ch->chunk_length);
12280 if (chk_length < sizeof(*ch)) {
12299 offset += SCTP_SIZE32(chk_length);