Home
last modified time | relevance | path

Searched refs:SCTP_SIZE32 (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_asconf.c780 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 …]
Dsctp_output.c5196 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 …]
Dsctp_input.c1309 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 …]
Dsctp_auth.c836 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);
Dsctp_constants.h388 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro
Dsctp_bsd_addr.c981 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
Dsctp_indata.c2436 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()
Dsctp_pcb.c2484 offset += SCTP_SIZE32(plen);
7617 offset += SCTP_SIZE32(plen);
Dsctputil.c4283 offset += SCTP_SIZE32(chk_length);
4333 offset += SCTP_SIZE32(chk_length);