Searched refs:SCTP_SIZE32 (Results 1 – 9 of 9) sorted by relevance
715 offset += SCTP_SIZE32(ntohs(p_addr->ph.param_length)); in sctp_handle_asconf()804 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf()1831 if (ack_length > SCTP_SIZE32(param_length)) { in sctp_handle_asconf_ack()1832 ack_length -= SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()1836 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()2456 offset += SCTP_SIZE32(param_length); in sctp_is_addr_pending()2660 p_length = SCTP_SIZE32(aa->ap.aph.ph.param_length); in sctp_compose_asconf()2695 lookup->ph.param_length = htons(SCTP_SIZE32(p_size)); in sctp_compose_asconf()2697 SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size); in sctp_compose_asconf()2712 SCTP_BUF_LEN(m_asconf) += SCTP_SIZE32(p_length); in sctp_compose_asconf()[all …]
5220 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5238 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5256 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5274 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;5414 limit -= SCTP_SIZE32(plen);5422 padded_size = SCTP_SIZE32(plen);5654 at += SCTP_SIZE32(plen);5907 offset += SCTP_SIZE32(plen);6495 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;6518 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;[all …]
1398 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()1654 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_existing()2202 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length));3816 len = SCTP_SIZE32(ntohs(r->ph.param_length));4429 SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size);4528 offset += SCTP_SIZE32(param_len);4529 if (remaining_length >= SCTP_SIZE32(param_len)) {4530 remaining_length -= SCTP_SIZE32(param_len);4667 offset += SCTP_SIZE32(chk_len);4808 *offset += SCTP_SIZE32(auth_len);[all …]
836 return (SCTP_SIZE32(size));1478 offset += SCTP_SIZE32(plen);1545 memset(auth->hmac, 0, SCTP_SIZE32(digestlen));1729 sctp_zero_m(m, offset + sizeof(*auth), SCTP_SIZE32(digestlen));1924 offset += SCTP_SIZE32(plen);
391 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro
871 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
2825 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data()2936 *offset += SCTP_SIZE32(chk_length); in sctp_process_data()
2480 offset += SCTP_SIZE32(plen);7566 offset += SCTP_SIZE32(plen);
4844 offset += SCTP_SIZE32(chk_length);4894 offset += SCTP_SIZE32(chk_length);