Lines Matching refs:ntohs
195 random_len = ntohs(random->param_hdr.length); in sctp_auth_make_key_vector()
196 hmacs_len = ntohs(hmacs->param_hdr.length); in sctp_auth_make_key_vector()
198 chunks_len = ntohs(chunks->param_hdr.length); in sctp_auth_make_key_vector()
542 n_elt = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_get_hmac()
545 id = ntohs(hmacs->hmac_ids[i]); in sctp_auth_asoc_get_hmac()
594 n_elt = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_verify_hmac_id()
618 n_params = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_set_default_hmac()
622 id = ntohs(hmacs->hmac_ids[i]); in sctp_auth_asoc_set_default_hmac()
647 len = ntohs(param->param_hdr.length) - sizeof(struct sctp_paramhdr); in __sctp_auth_cid()
722 key_id = ntohs(auth->auth_hdr.shkey_id); in sctp_auth_calculate_hmac()
723 hmac_id = ntohs(auth->auth_hdr.hmac_id); in sctp_auth_calculate_hmac()
767 param_len = ntohs(p->param_hdr.length); in sctp_auth_ep_add_chunkid()