Searched refs:SCTP_SIZE32 (Results 1 – 9 of 9) sorted by relevance
780 SCTP_BUF_LEN(m_result) = SCTP_SIZE32(SCTP_BUF_LEN(m_result)); in sctp_handle_asconf()785 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf()1784 ack_length -= SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()1789 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()2443 offset += SCTP_SIZE32(param_length); in sctp_is_addr_pending()2647 p_length = SCTP_SIZE32(aa->ap.aph.ph.param_length); in sctp_compose_asconf()2682 lookup->ph.param_length = htons(SCTP_SIZE32(p_size)); in sctp_compose_asconf()2684 SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size); in sctp_compose_asconf()2699 SCTP_BUF_LEN(m_asconf) += SCTP_SIZE32(p_length); in sctp_compose_asconf()2700 ptr += SCTP_SIZE32(p_length); in sctp_compose_asconf()[all …]
5196 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5214 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5232 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5250 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5378 limit -= SCTP_SIZE32(plen);5386 padded_size = SCTP_SIZE32(plen);5618 at += SCTP_SIZE32(plen);5823 offset += SCTP_SIZE32(plen);6377 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;6400 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;[all …]
1309 adjust = SCTP_SIZE32(error_len); in sctp_handle_error()1560 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_existing()2102 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length));3662 len = SCTP_SIZE32(ntohs(r->ph.param_length));4232 SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size);4306 offset += SCTP_SIZE32(param_len);4307 chk_length -= SCTP_SIZE32(param_len);4417 if (SCTP_SIZE32(at) > chlen) {4420 chlen -= SCTP_SIZE32(at);4425 ch = (struct sctp_chunkhdr *)((caddr_t)ch + SCTP_SIZE32(at));[all …]
836 return (SCTP_SIZE32(size));1511 offset += SCTP_SIZE32(plen);1576 bzero(auth->hmac, SCTP_SIZE32(digestlen));1756 sctp_bzero_m(m, offset + sizeof(*auth), SCTP_SIZE32(digestlen));1946 offset += SCTP_SIZE32(plen);
388 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro
981 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
2436 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data()2530 … if (sctp_pad_lastmbuf(SCTP_BUF_NEXT(merr), SCTP_SIZE32(chk_length) - chk_length, NULL) == NULL) { in sctp_process_data()2548 *offset += SCTP_SIZE32(chk_length); in sctp_process_data()
2484 offset += SCTP_SIZE32(plen);7617 offset += SCTP_SIZE32(plen);
4283 offset += SCTP_SIZE32(chk_length);4333 offset += SCTP_SIZE32(chk_length);