SCTP_SIZE32
chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length));
chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
param_size = SCTP_SIZE32(ntohs(param->param_length));
#define SN_SCTP_NEXTCHUNK(chunkhead) (struct sctp_chunkhdr *)(((char *)chunkhead) + SCTP_SIZE32(ntohs(chunkhead->chunk_length)))
#define SN_SCTP_NEXTPARAM(param) (struct sctp_paramhdr *)(((char *)param) + SCTP_SIZE32(ntohs(param->param_length)))
if (ack_length > SCTP_SIZE32(param_length)) {
ack_length -= SCTP_SIZE32(param_length);
offset += SCTP_SIZE32(param_length);
offset += SCTP_SIZE32(param_length);
p_length = SCTP_SIZE32(aa->ap.aph.ph.param_length);
lookup->ph.param_length = htons(SCTP_SIZE32(p_size));
SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size);
SCTP_BUF_LEN(m_asconf) += SCTP_SIZE32(p_length);
ptr += SCTP_SIZE32(p_length);
lookup->ph.param_length = htons(SCTP_SIZE32(p_size));
SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size);
if (SCTP_SIZE32(plen) == 0) {
offset += SCTP_SIZE32(plen);
offset += SCTP_SIZE32(plen);
offset += SCTP_SIZE32(ntohs(p_addr->ph.param_length));
offset += SCTP_SIZE32(param_length);
offset += SCTP_SIZE32(plen);
memset(auth->hmac, 0, SCTP_SIZE32(digestlen));
sctp_zero_m(m, offset + sizeof(*auth), SCTP_SIZE32(digestlen));
offset += SCTP_SIZE32(plen);
return (SCTP_SIZE32(size));
total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
if (SCTP_SIZE32(chk_length) == (length - *offset)) {
*offset += SCTP_SIZE32(chk_length);
adjust = SCTP_SIZE32(cause_length);
initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length));
initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length));
len = SCTP_SIZE32(ntohs(r->ph.param_length));
SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size);
offset += SCTP_SIZE32(param_len);
if (remaining_length >= SCTP_SIZE32(param_len)) {
remaining_length -= SCTP_SIZE32(param_len);
offset += SCTP_SIZE32(chk_len);
*offset += SCTP_SIZE32(auth_len);
asconf_offset += SCTP_SIZE32(asconf_len);
(length - *offset > (int)SCTP_SIZE32(chk_length))) {
(length - *offset > (int)SCTP_SIZE32(chk_length))) {
(length - *offset > (int)SCTP_SIZE32(chk_length))) {
len = min(SCTP_SIZE32(chk_length), (uint32_t)(length - *offset));
*offset += SCTP_SIZE32(chk_length);
padding_len = SCTP_SIZE32(chunk_len) - chunk_len;
offset += SCTP_SIZE32(chk_length);
chk->book_size = SCTP_SIZE32((chk->send_size + sizeof(struct sctp_pktdrop_chunk) +
old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
if (SCTP_SIZE32(len) > len) {
chk->send_size = SCTP_SIZE32(chk->book_size);
old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
if (SCTP_SIZE32(len) > len) {
chk->send_size = SCTP_SIZE32(chk->book_size);
old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
chk->book_size = SCTP_SIZE32(chk->send_size);
SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size);
old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
chk->send_size = SCTP_SIZE32(chk->book_size);
chk->send_size = SCTP_SIZE32(chk->book_size);
old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
chk->send_size = SCTP_SIZE32(chk->book_size);
old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
chk->book_size = SCTP_SIZE32(chk->send_size);
SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size);
old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
chk->book_size = SCTP_SIZE32(chk->send_size);
SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size);
chk->send_size = SCTP_SIZE32(chk->book_size);
chk->send_size = SCTP_SIZE32(chk->book_size);
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
limit -= SCTP_SIZE32(plen);
padded_size = SCTP_SIZE32(plen);
at += SCTP_SIZE32(plen);
offset += SCTP_SIZE32(plen);
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
padding_len = SCTP_SIZE32(parameter_len) - parameter_len;
if (chk->send_size < SCTP_SIZE32(chk->book_size)) {
pads = SCTP_SIZE32(chk->book_size) - chk->send_size;
at += SCTP_SIZE32(plen);
chk->send_size = SCTP_SIZE32(plen);
offset += SCTP_SIZE32(plen);
offset += SCTP_SIZE32(plen);
offset += SCTP_SIZE32(chk_length);
offset += SCTP_SIZE32(chk_length);