Home
last modified time | relevance | path

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

/external/usrsctp/usrsctplib/netinet/
Dsctp_asconf.c719 offset += SCTP_SIZE32(ntohs(p_addr->ph.param_length)); in sctp_handle_asconf()
808 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf()
1835 if (ack_length > SCTP_SIZE32(param_length)) { in sctp_handle_asconf_ack()
1836 ack_length -= SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()
1840 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()
2460 offset += SCTP_SIZE32(param_length); in sctp_is_addr_pending()
2664 p_length = SCTP_SIZE32(aa->ap.aph.ph.param_length); in sctp_compose_asconf()
2699 lookup->ph.param_length = htons(SCTP_SIZE32(p_size)); in sctp_compose_asconf()
2701 SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size); in sctp_compose_asconf()
2716 SCTP_BUF_LEN(m_asconf) += SCTP_SIZE32(p_length); in sctp_compose_asconf()
[all …]
Dsctp_output.c5267 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
5285 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
5303 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
5321 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
5461 limit -= SCTP_SIZE32(plen);
5469 padded_size = SCTP_SIZE32(plen);
5702 at += SCTP_SIZE32(plen);
5955 offset += SCTP_SIZE32(plen);
6543 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
6566 padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
[all …]
Dsctp_input.c1407 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()
1663 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_existing()
2211 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length));
3820 len = SCTP_SIZE32(ntohs(r->ph.param_length));
4435 SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size);
4534 offset += SCTP_SIZE32(param_len);
4535 if (remaining_length >= SCTP_SIZE32(param_len)) {
4536 remaining_length -= SCTP_SIZE32(param_len);
4649 if (SCTP_SIZE32(at) > chlen) {
4652 chlen -= SCTP_SIZE32(at);
[all …]
Dsctp_auth.c840 return (SCTP_SIZE32(size));
1482 offset += SCTP_SIZE32(plen);
1549 memset(auth->hmac, 0, SCTP_SIZE32(digestlen));
1733 sctp_zero_m(m, offset + sizeof(*auth), SCTP_SIZE32(digestlen));
1932 offset += SCTP_SIZE32(plen);
Dsctp_constants.h391 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro
Dsctp_bsd_addr.c877 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
Dsctp_indata.c2806 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data()
2917 *offset += SCTP_SIZE32(chk_length); in sctp_process_data()
Dsctp_pcb.c2479 offset += SCTP_SIZE32(plen);
7646 offset += SCTP_SIZE32(plen);
Dsctputil.c4862 offset += SCTP_SIZE32(chk_length);
4912 offset += SCTP_SIZE32(chk_length);