Lines Matching refs:htons
91 aph->ph.param_type = htons(SCTP_SUCCESS_REPORT);
94 aph->ph.param_length = htons(aph->ph.param_length);
121 aph->ph.param_type = htons(SCTP_ERROR_CAUSE_IND);
122 error->code = htons(cause);
139 error->length = htons(error->length);
140 aph->ph.param_length = htons(aph->ph.param_length);
799 ack_cp->ch.chunk_length = htons(ack_cp->ch.chunk_length);
1564 if (htons(eh->length) + sizeof(struct sctp_error_cause) >
1565 htons(aph->ph.param_length)) {
1571 if (htons(ph->param_length) + sizeof(struct sctp_paramhdr) >
1572 htons(eh->length)) {
2642 htons(aa->ap.addrp.ph.param_type);
2652 lookup->ph.param_length = htons(SCTP_SIZE32(p_size));
2664 aph->ph.param_type = htons(aph->ph.param_type);
2665 aph->ph.param_length = htons(aph->ph.param_length);
2666 aap->addrp.ph.param_type = htons(aap->addrp.ph.param_type);
2667 aap->addrp.ph.param_length = htons(aap->addrp.ph.param_length);
2700 htons(SCTP_IPV6_ADDRESS);
2711 htons(SCTP_IPV4_ADDRESS);
2724 lookup->ph.param_length = htons(SCTP_SIZE32(p_size));
2732 lookup->ph.param_type = htons(SCTP_IPV4_ADDRESS);
2733 lookup->ph.param_length = htons(SCTP_SIZE32(sizeof(struct sctp_ipv4addr_param)));
2741 acp->ch.chunk_length = htons(*retlen);