Lines Matching refs:ntohs

171 	__u16 chunk_length = ntohs(chunk->chunk_hdr->length);  in sctp_chunk_length_valid()
373 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
420 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
545 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1C_ack()
694 if (!pskb_pull(chunk->skb, ntohs(chunk->chunk_hdr->length) - in sctp_sf_do_5_1D_ce()
1075 paylen = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_chunkhdr_t); in sctp_sf_beat_8_3()
1077 if (ntohs(param_hdr->length) > paylen) in sctp_sf_beat_8_3()
1147 if (ntohs(hbinfo->param_hdr.length) != in sctp_sf_backbeat_8_3()
1446 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_unexpected_init()
1510 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_unexpected_init()
2028 if (!pskb_pull(chunk->skb, ntohs(chunk->chunk_hdr->length) - in sctp_sf_do_5_2_4_dupcook()
2473 len = ntohs(chunk->chunk_hdr->length); in __sctp_sf_do_9_1_abort()
2526 len = ntohs(chunk->chunk_hdr->length); in sctp_sf_cookie_wait_abort()
3425 if (ntohs(ch->length) < sizeof(sctp_chunkhdr_t)) in sctp_sf_ootb()
3461 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in sctp_sf_ootb()
3858 len = ntohs(chunk->chunk_hdr->length); in sctp_sf_eat_fwd_tsn()
3873 if (ntohs(skip->stream) >= asoc->c.sinit_max_instreams) in sctp_sf_eat_fwd_tsn()
3926 len = ntohs(chunk->chunk_hdr->length); in sctp_sf_eat_fwd_tsn_fast()
3941 if (ntohs(skip->stream) >= asoc->c.sinit_max_instreams) in sctp_sf_eat_fwd_tsn_fast()
4015 key_id = ntohs(auth_hdr->shkey_id); in sctp_sf_authenticate()
4023 sig_len = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_auth_chunk_t); in sctp_sf_authenticate()
4024 hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id)); in sctp_sf_authenticate()
4120 if (asoc->active_key_id != ntohs(auth_hdr->shkey_id)) { in sctp_sf_eat_auth()
4123 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()
4192 WORD_ROUND(ntohs(hdr->length)), in sctp_sf_unk_chunk()
4210 WORD_ROUND(ntohs(hdr->length)), in sctp_sf_unk_chunk()
5926 num_blocks = ntohs(sack->num_gap_ack_blocks); in sctp_sm_pull_sack()
5927 num_dup_tsns = ntohs(sack->num_dup_tsns); in sctp_sm_pull_sack()
5994 sport = ntohs(chunk->sctp_hdr->dest); in sctp_ootb_pkt_new()
5995 dport = ntohs(chunk->sctp_hdr->source); in sctp_ootb_pkt_new()
6162 datalen = ntohs(chunk->chunk_hdr->length); in sctp_eat_data()
6269 sid = ntohs(data_hdr->stream); in sctp_eat_data()
6291 ssn = ntohs(data_hdr->ssn); in sctp_eat_data()